NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
A pie chart shows the proportion of All_Road and Team_ID.
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text )
SELECT All_Road, Team_ID FROM basketball_match
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 2271, 834, 4309, 16, 17, 6, 1121, 834, 4309, 16, 17, 6, 2271, 834, 23954, 1499, 6, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1499, 6, 3, 14775, 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, 432, 834, 448, 32, 9, 26, 6, 2271, 834, 4309, 21680, 8498, 834, 19515, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
When the Winning score is 74-68-67-75=284, what was the Margin of victory?
CREATE TABLE table_14880 ( "Date" text, "Tournament" text, "Winning score" text, "To par" text, "Margin of victory" text, "Runner(s)-up" text )
SELECT "Margin of victory" FROM table_14880 WHERE "Winning score" = '74-68-67-75=284'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24748, 2079, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 518, 10503, 2604, 121, 1499, 6, 96, 3696, 260, 121, 1499, 6, 96, 7286, 122, 77, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7286, 122, 77, 13, 6224, 121, 21680, 953, 834, 24748, 2079, 549, 17444, 427, 96, 518, 10503, 2604, 121, 3274, 3, 31, 4581, 18, 3651, 18, 3708, 18, 3072, 2423, 357, 4608, 31, 1, -100, -100, -100, -100, -100, -1...
What is the highest total number of appearances when there were less than 4 at the FA cup?
CREATE TABLE table_name_53 (total INTEGER, fa_cup INTEGER)
SELECT MAX(total) FROM table_name_53 WHERE fa_cup < 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 235, 1947, 3, 21342, 17966, 6, 3, 89, 9, 834, 4658, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 792, 381, 13, 3179, 7, 116,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 3, 89, 9, 834, 4658, 3, 2, 314, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What's the 2008 Status of Rosa Delauro?
CREATE TABLE table_name_15 ( democratic VARCHAR )
SELECT 2008 AS _status FROM table_name_15 WHERE democratic = "rosa delauro"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 15053, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 2628, 19318, 13, 15641, 6236, 9, 450, 32, 58, 1, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2628, 6157, 3, 834, 8547, 302, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 15053, 3274, 96, 1859, 9, 20, 521, 450, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the highest number of Silvers for rank 7 teams with 1 gold and under 1 bronze?
CREATE TABLE table_6283 ( "Rank" text, "Institution" text, "Gold" real, "Silver" real, "Bronze" real )
SELECT MAX("Silver") FROM table_6283 WHERE "Bronze" < '1' AND "Gold" = '1' AND "Rank" = '7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4056, 4591, 41, 96, 22557, 121, 1499, 6, 96, 1570, 17448, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 3, 61, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 134, 173, 624, 8512, 21680, 953, 834, 4056, 4591, 549, 17444, 427, 96, 22780, 29, 776, 121, 3, 2, 3, 31, 536, 31, 3430, 96, 23576, 121, 3274, 3, 31, 536, 31, 3430, 96, 22557, 121, 3274, 3, 3...
What region is the city of Philadelphia located in?
CREATE TABLE table_name_16 ( region VARCHAR, city VARCHAR )
SELECT region FROM table_name_16 WHERE city = "philadelphia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2938, 41, 1719, 584, 4280, 28027, 6, 690, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1719, 19, 8, 690, 13, 9511, 1069, 16, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1719, 21680, 953, 834, 4350, 834, 2938, 549, 17444, 427, 690, 3274, 96, 18118, 15311, 11692, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many previous years did Maebashi Ikuei high school have a total number of 1 participation?
CREATE TABLE table_27443 ( "Prefecture" text, "City/Town" text, "High School Name" text, "Year of Previous Participation" text, "Total Number of Participation" real )
SELECT COUNT("Year of Previous Participation") FROM table_27443 WHERE "Total Number of Participation" = '1' AND "High School Name" = 'Maebashi Ikuei'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 3628, 519, 41, 96, 10572, 4075, 1462, 121, 1499, 6, 96, 254, 485, 87, 382, 9197, 121, 1499, 6, 96, 21417, 1121, 5570, 121, 1499, 6, 96, 476, 2741, 13, 10232, 15077, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 476, 2741, 13, 10232, 15077, 257, 8512, 21680, 953, 834, 2555, 3628, 519, 549, 17444, 427, 96, 3696, 1947, 7720, 13, 15077, 257, 121, 3274, 3, 31, 536, 31, 3430, 96, 21417, 1121, 5570, 121, 32...
How many papers has David M. Blei published in AISTATS ?
CREATE TABLE field ( fieldid int ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE paperdataset ( paperid int, datasetid int ) CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE paper ( paperid int, title varchar, venueid int, year int, numciting int, numcitedby int, journalid int ) CREATE TABLE dataset ( datasetid int, datasetname varchar ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE paperfield ( fieldid int, paperid int ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE venue ( venueid int, venuename varchar )
SELECT DISTINCT COUNT(paper.paperid) FROM author, paper, venue, writes WHERE author.authorname = 'David M. Blei' AND venue.venueid = paper.venueid AND venue.venuename = 'AISTATS' AND writes.authorid = author.authorid AND writes.paperid = paper.paperid
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1057, 41, 1057, 23, 26, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 6378, 41, 6378, 23, 26, 16, 17, 6, 6378, 4350, 3, 4331, 4059, 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, 2847, 17161, 599, 19587, 5, 19587, 23, 26, 61, 21680, 2291, 6, 1040, 6, 5669, 6, 11858, 549, 17444, 427, 2291, 5, 17415, 4350, 3274, 3, 31, 308, 9, 6961, 283, 5, 11805, 23, 31, 3430, 5669, ...
What is Date, when Record is 12-58?
CREATE TABLE table_name_31 ( date VARCHAR, record VARCHAR )
SELECT date FROM table_name_31 WHERE record = "12-58"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 833, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 7678, 6, 116, 11392, 19, 13364, 3449, 58, 1, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 1368, 3274, 96, 2122, 18, 3449, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
When 'we're going to disney world (part 1)' is the title what is the air date?
CREATE TABLE table_27068 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real )
SELECT "Original air date" FROM table_27068 WHERE "Title" = 'We''re Going to Disney World (Part 1)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17485, 3651, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 4168, 5, 16, 774, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 3380, 10270, 799, 833, 121, 21680, 953, 834, 17485, 3651, 549, 17444, 427, 96, 382, 155, 109, 121, 3274, 3, 31, 1326, 31, 31, 60, 15312, 12, 6118, 1150, 41, 13725, 8925, 31, 1, -100, -100, -100, -100, -10...
Which arranger worked with composer Imad Shams Eldeen at 4:03?
CREATE TABLE table_name_19 ( arranger VARCHAR, composer VARCHAR, length VARCHAR )
SELECT arranger FROM table_name_19 WHERE composer = "imad shams eldeen" AND length = "4:03"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 8031, 52, 584, 4280, 28027, 6, 13075, 584, 4280, 28027, 6, 2475, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 8031, 52, 1279, 28, 13075,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8031, 52, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 13075, 3274, 96, 23, 11374, 3, 7, 1483, 7, 3, 8804, 15, 35, 121, 3430, 2475, 3274, 96, 591, 10, 4928, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
Name the 2011 for 2012 of a and 2010 of 1r with 2008 of 2r
CREATE TABLE table_name_92 ( Id VARCHAR )
SELECT 2011 FROM table_name_92 WHERE 2012 = "a" AND 2010 = "1r" AND 2008 = "2r"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 27, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 2722, 21, 1673, 13, 3, 9, 11, 2735, 13, 209, 52, 28, 2628, 13, 204, 52, 1,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2722, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 1673, 3274, 96, 9, 121, 3430, 2735, 3274, 96, 536, 52, 121, 3430, 2628, 3274, 96, 357, 52, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
give me the number of patients whose insurance is government and lab test name is cd34?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.insurance = "Government" AND lab.label = "CD34"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the name of teh studio that created the most films?
CREATE TABLE film ( film_id number, title text, studio text, director text, gross_in_dollar number ) CREATE TABLE film_market_estimation ( estimation_id number, low_estimate number, high_estimate number, film_id number, type text, market_id number, year number ) CREATE TABLE market ( market_id number, country text, number_cities number )
SELECT studio FROM film GROUP BY studio ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 814, 41, 814, 834, 23, 26, 381, 6, 2233, 1499, 6, 3100, 1499, 6, 2090, 1499, 6, 8690, 834, 77, 834, 26748, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 814, 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, 3100, 21680, 814, 350, 4630, 6880, 272, 476, 3100, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was Kraco Twin 125 (R2)'s Winning Driver?
CREATE TABLE table_name_6 ( winning_driver VARCHAR, name VARCHAR )
SELECT winning_driver FROM table_name_6 WHERE name = "kraco twin 125 (r2)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 3447, 834, 13739, 52, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 7356, 509, 13058, 3, 10124, 41, 448, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3447, 834, 13739, 52, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 564, 3274, 96, 9669, 509, 7390, 3, 10124, 41, 52, 7318, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
provide the marital status of subject id 2560.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT demographic.marital_status FROM demographic WHERE demographic.subject_id = "2560"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 1635, 9538, 834, 8547, 302, 21680, 14798, 549, 17444, 427, 14798, 5, 7304, 11827, 834, 23, 26, 3274, 96, 1828, 3328, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is Away Team, when Date is '25 January 1986', and when Tie No is '6'?
CREATE TABLE table_name_64 ( away_team VARCHAR, date VARCHAR, tie_no VARCHAR )
SELECT away_team FROM table_name_64 WHERE date = "25 january 1986" AND tie_no = "6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 550, 834, 11650, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 6, 6177, 834, 29, 32, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 71,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 550, 834, 11650, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 833, 3274, 96, 1828, 3, 7066, 76, 1208, 12698, 121, 3430, 6177, 834, 29, 32, 3274, 96, 948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
What is every website with specialization of engineering and division of dhaka division?
CREATE TABLE table_2112260_1 (website VARCHAR, specialization VARCHAR, division VARCHAR)
SELECT website FROM table_2112260_1 WHERE specialization = "Engineering" AND division = "Dhaka division"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 2122, 18365, 834, 536, 41, 8398, 3585, 584, 4280, 28027, 6, 534, 1707, 584, 4280, 28027, 6, 4889, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 334, 475...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 475, 21680, 953, 834, 2658, 2122, 18365, 834, 536, 549, 17444, 427, 534, 1707, 3274, 96, 31477, 49, 53, 121, 3430, 4889, 3274, 96, 308, 15416, 9, 4889, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What date was Bury the home team?
CREATE TABLE table_name_67 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_67 WHERE away_team = "bury"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 5522, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 47, 4152, 63, 8, 234, 372, 58, 1, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 550, 834, 11650, 3274, 96, 7165, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the percentage of the liberal party with less than 25 percent of seats?
CREATE TABLE table_name_20 (percentage VARCHAR, party VARCHAR, percent_of_seats VARCHAR)
SELECT COUNT(percentage) FROM table_name_20 WHERE party = "liberal" AND percent_of_seats < 25
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 883, 3728, 545, 584, 4280, 28027, 6, 1088, 584, 4280, 28027, 6, 1093, 834, 858, 834, 7, 1544, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 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, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 883, 3728, 545, 61, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 1088, 3274, 96, 10661, 138, 121, 3430, 1093, 834, 858, 834, 7, 1544, 7, 3, 2, 944, 1, -100, -100, -100, -100, -100, -100, -1...
What is the epa rated combined fuel economy for the all-electric vehicle with dirty electric grid rocky mountains (denver) of 330 g/mi (205 g/km)?
CREATE TABLE table_23840623_4 (epa_rated_combined_fuel_economy VARCHAR, operating_mode VARCHAR, dirty_electric_grid_rocky_mountains__denver_ VARCHAR)
SELECT epa_rated_combined_fuel_economy FROM table_23840623_4 WHERE operating_mode = "All-electric" AND dirty_electric_grid_rocky_mountains__denver_ = "330 g/mi (205 g/km)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 4608, 5176, 2773, 834, 591, 41, 15, 102, 9, 834, 4094, 834, 287, 12712, 26, 834, 21692, 834, 15, 12036, 63, 584, 4280, 28027, 6, 2699, 834, 14930, 584, 4280, 28027, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15, 102, 9, 834, 4094, 834, 287, 12712, 26, 834, 21692, 834, 15, 12036, 63, 21680, 953, 834, 2773, 4608, 5176, 2773, 834, 591, 549, 17444, 427, 2699, 834, 14930, 3274, 96, 6838, 18, 17470, 121, 3430, 13086, 834, ...
Show average of budget in different year and group by department creation time with a line chart, and order by the X-axis in descending.
CREATE TABLE department ( Department_ID int, Name text, Creation text, Ranking int, Budget_in_Billions real, Num_Employees real ) CREATE TABLE management ( department_ID int, head_ID int, temporary_acting text ) CREATE TABLE head ( head_ID int, name text, born_state text, age real )
SELECT Creation, AVG(Budget_in_Billions) FROM department GROUP BY Creation ORDER BY Creation DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3066, 41, 1775, 834, 4309, 16, 17, 6, 5570, 1499, 6, 24589, 1499, 6, 29153, 16, 17, 6, 12532, 834, 77, 834, 279, 14916, 7, 490, 6, 1174, 51, 834, 427, 51, 7379, 63, 15, 15, 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, 24589, 6, 71, 17217, 599, 279, 13164, 17, 834, 77, 834, 279, 14916, 7, 61, 21680, 3066, 350, 4630, 6880, 272, 476, 24589, 4674, 11300, 272, 476, 24589, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the gorham principal in 2010-2011?
CREATE TABLE table_25037577_1 ( gorham_principal VARCHAR, year VARCHAR )
SELECT gorham_principal FROM table_25037577_1 WHERE year = "2010-2011"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11434, 22954, 4013, 834, 536, 41, 281, 52, 1483, 834, 12298, 3389, 138, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 281, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 281, 52, 1483, 834, 12298, 3389, 138, 21680, 953, 834, 11434, 22954, 4013, 834, 536, 549, 17444, 427, 215, 3274, 96, 14926, 18, 13907, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
count the number of patients whose days of hospital stay is greater than 30 and diagnoses short title is chr diastolic hrt fail?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "30" AND diagnoses.short_title = "Chr diastolic hrt fail"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
how many entrepreneurs correspond to each investor?
CREATE TABLE entrepreneur ( Entrepreneur_ID int, People_ID int, Company text, Money_Requested real, Investor text ) CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, Date_of_Birth text )
SELECT Investor, COUNT(*) FROM entrepreneur GROUP BY Investor
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 12290, 41, 26696, 834, 4309, 16, 17, 6, 2449, 834, 4309, 16, 17, 6, 1958, 1499, 6, 8833, 834, 1649, 835, 6265, 490, 6, 16873, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 604...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 16873, 6, 2847, 17161, 599, 1935, 61, 21680, 3, 12290, 350, 4630, 6880, 272, 476, 16873, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the total score when the E score was larger than 9.6 and the A score was 6?
CREATE TABLE table_38231 ( "Nation" text, "T Score" real, "A Score" real, "E Score" real, "Total" real )
SELECT "Total" FROM table_38231 WHERE "E Score" > '9.6' AND "A Score" = '6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3747, 357, 3341, 41, 96, 567, 257, 121, 1499, 6, 96, 382, 17763, 121, 490, 6, 96, 188, 17763, 121, 490, 6, 96, 427, 17763, 121, 490, 6, 96, 3696, 1947, 121, 490, 3, 61,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3696, 1947, 121, 21680, 953, 834, 3747, 357, 3341, 549, 17444, 427, 96, 427, 17763, 121, 2490, 3, 31, 8797, 948, 31, 3430, 96, 188, 17763, 121, 3274, 3, 31, 948, 31, 1, -100, -100, -100, -100, -100, -100, -100...
Name the institution for tier 1 capital 1394
CREATE TABLE table_24960 ( "Institution" text, "Date of report" text, "s Risk-weighted asset , \u20ac million" real, "Tier 1 Capital, \u20ac million" real, "Tier 1 ratio" text )
SELECT "Institution" FROM table_24960 WHERE "Tier 1 Capital, \u20ac million" = '1394'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 27699, 41, 96, 1570, 17448, 121, 1499, 6, 96, 308, 342, 13, 934, 121, 1499, 6, 96, 7, 14729, 18, 9378, 15, 26, 7000, 3, 6, 3, 2, 76, 1755, 9, 75, 770, 121, 490,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1570, 17448, 121, 21680, 953, 834, 2266, 27699, 549, 17444, 427, 96, 382, 972, 209, 5826, 6, 3, 2, 76, 1755, 9, 75, 770, 121, 3274, 3, 31, 2368, 4240, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which tournament had 1R in 2013?
CREATE TABLE table_name_8 (tournament VARCHAR)
SELECT tournament FROM table_name_8 WHERE 2013 = "1r"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 17, 1211, 20205, 17, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 5892, 141, 209, 448, 16, 2038, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5892, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 2038, 3274, 96, 536, 52, 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 region 1 where region 4 is tba is the complete eighth series?
CREATE TABLE table_18080 ( "Complete Series" text, "Region 1" text, "Region 2" text, "Region 4" text, "DVD Extras and Bonus Features" text, "Number Of Discs" real )
SELECT "Region 1" FROM table_18080 WHERE "Region 4" = 'TBA' AND "Complete Series" = 'The Complete Eighth Series'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20829, 2079, 41, 96, 5890, 29014, 4531, 121, 1499, 6, 96, 17748, 23, 106, 209, 121, 1499, 6, 96, 17748, 23, 106, 204, 121, 1499, 6, 96, 17748, 23, 106, 3, 20364, 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, 17748, 23, 106, 209, 121, 21680, 953, 834, 20829, 2079, 549, 17444, 427, 96, 17748, 23, 106, 3, 20364, 3274, 3, 31, 9041, 188, 31, 3430, 96, 5890, 29014, 4531, 121, 3274, 3, 31, 634, 9480, 18516, 107, 4531, 31...
What is the location/attendance for the w 95-93 score?
CREATE TABLE table_name_33 (location_attendance VARCHAR, score VARCHAR)
SELECT location_attendance FROM table_name_33 WHERE score = "w 95-93"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 14836, 834, 15116, 663, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1128, 87, 15116, 663, 21, 8, 3, 210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1128, 834, 15116, 663, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 2604, 3274, 96, 210, 11923, 18, 4271, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
was the pennsylvania railroad under the prr or the rf & p ?
CREATE TABLE table_203_674 ( id number, "name" text, "mark" text, "system" text, "from" number, "to" number, "successor" text, "notes" text )
SELECT "system" FROM table_203_674 WHERE "name" = 'pennsylvania railroad'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3708, 591, 41, 3, 23, 26, 381, 6, 96, 4350, 121, 1499, 6, 96, 3920, 121, 1499, 6, 96, 3734, 121, 1499, 6, 96, 7152, 121, 381, 6, 96, 235, 121, 381, 6, 96,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3734, 121, 21680, 953, 834, 23330, 834, 3708, 591, 549, 17444, 427, 96, 4350, 121, 3274, 3, 31, 3208, 29, 7, 63, 40, 16658, 9, 21666, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the date with identifying number of No. 37817?
CREATE TABLE table_57923 ( "Number & name" text, "Description" text, "Current status" text, "Livery" text, "Date" real )
SELECT "Date" FROM table_57923 WHERE "Number & name" = 'no. 37817'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3436, 4508, 519, 41, 96, 567, 5937, 49, 3, 184, 564, 121, 1499, 6, 96, 2962, 11830, 121, 1499, 6, 96, 254, 450, 5320, 2637, 121, 1499, 6, 96, 24179, 651, 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, 3436, 4508, 519, 549, 17444, 427, 96, 567, 5937, 49, 3, 184, 564, 121, 3274, 3, 31, 29, 32, 5, 220, 3940, 2517, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which Set 3 has a Time of 10:00, and a Set 2 of 25–19?
CREATE TABLE table_name_22 (set_3 VARCHAR, time VARCHAR, set_2 VARCHAR)
SELECT set_3 FROM table_name_22 WHERE time = "10:00" AND set_2 = "25–19"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 2244, 834, 519, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 6, 356, 834, 357, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2821, 220, 65, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 356, 834, 519, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 97, 3274, 96, 536, 25713, 121, 3430, 356, 834, 357, 3274, 96, 1828, 104, 2294, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many different municipal mayors were there in the municipality with an area of 42.66 km2?
CREATE TABLE table_216776_2 ( municipal_mayor VARCHAR, area__km²_ VARCHAR )
SELECT COUNT(municipal_mayor) FROM table_216776_2 WHERE area__km²_ = "42.66"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 3708, 3959, 834, 357, 41, 10516, 834, 13726, 127, 584, 4280, 28027, 6, 616, 834, 834, 5848, 357, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 11760, 3389, 138, 834, 13726, 127, 61, 21680, 953, 834, 2658, 3708, 3959, 834, 357, 549, 17444, 427, 616, 834, 834, 5848, 357, 834, 3274, 96, 4165, 5, 3539, 121, 1, -100, -100, -100, -100, -100, -1...
What engine is used by Colin Bennett Racing with an 811 chassis?
CREATE TABLE table_name_48 ( engine VARCHAR, entrant VARCHAR, chassis VARCHAR )
SELECT engine FROM table_name_48 WHERE entrant = "colin bennett racing" AND chassis = "811"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 1948, 584, 4280, 28027, 6, 3, 295, 3569, 584, 4280, 28027, 6, 22836, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1948, 19, 261, 57, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1948, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 3, 295, 3569, 3274, 96, 9044, 29, 36, 29, 10544, 8191, 121, 3430, 22836, 3274, 96, 927, 2596, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the l3 cache when the sspec number is sr0r2(l1)sr0t6(l1)?
CREATE TABLE table_name_88 (l3_cache VARCHAR, sspec_number VARCHAR)
SELECT l3_cache FROM table_name_88 WHERE sspec_number = "sr0r2(l1)sr0t6(l1)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 40, 519, 834, 75, 4933, 584, 4280, 28027, 6, 3, 7, 7576, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 40, 519...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 40, 519, 834, 75, 4933, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 3, 7, 7576, 834, 5525, 1152, 3274, 96, 7, 52, 632, 52, 357, 599, 40, 6982, 7, 52, 632, 17, 948, 599, 40, 6982, 121, 1, -100, -100, ...
What number episode in the series was watched by 15.89 million U.S. viewers?
CREATE TABLE table_22078906_2 (no_in_series VARCHAR, us_viewers__millions_ VARCHAR)
SELECT no_in_series FROM table_22078906_2 WHERE us_viewers__millions_ = "15.89"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 4560, 3914, 5176, 834, 357, 41, 29, 32, 834, 77, 834, 10833, 7, 584, 4280, 28027, 6, 178, 834, 4576, 277, 834, 834, 17030, 7, 834, 584, 4280, 28027, 61, 3, 32102, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 150, 834, 77, 834, 10833, 7, 21680, 953, 834, 2884, 4560, 3914, 5176, 834, 357, 549, 17444, 427, 178, 834, 4576, 277, 834, 834, 17030, 7, 834, 3274, 96, 1808, 5, 3914, 121, 1, -100, -100, -100, -100, -100, -100, -...
What is Points, when Name is Ondrej Starosta?
CREATE TABLE table_42024 ( "Rank" real, "Name" text, "Team" text, "Games" real, "Points" real )
SELECT "Points" FROM table_42024 WHERE "Name" = 'ondrej starosta'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21899, 2266, 41, 96, 22557, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 23055, 7, 121, 490, 6, 96, 22512, 7, 121, 490, 3, 61, 3, 32102, 32103, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 96, 22512, 7, 121, 21680, 953, 834, 21899, 2266, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 106, 26, 60, 354, 2213, 3481, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the total number of districts for first elected being 1998
CREATE TABLE table_3199 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text )
SELECT COUNT("District") FROM table_3199 WHERE "First elected" = '1998'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3341, 3264, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 8160, 121, 1499, 6, 96, 20119, 121, 1499,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 308, 23, 20066, 8512, 21680, 953, 834, 3341, 3264, 549, 17444, 427, 96, 25171, 8160, 121, 3274, 3, 31, 2294, 3916, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the number of democratic gains listed ?
CREATE TABLE table_203_615 ( id number, "district" text, "incumbent" text, "party" text, "first\nelected" number, "result" text, "candidates" text )
SELECT COUNT(*) FROM table_203_615 WHERE "result" = 'democratic gain'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 948, 1808, 41, 3, 23, 26, 381, 6, 96, 26, 23, 20066, 121, 1499, 6, 96, 77, 75, 5937, 295, 121, 1499, 6, 96, 8071, 121, 1499, 6, 96, 14672, 2, 29, 19971, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 23330, 834, 948, 1808, 549, 17444, 427, 96, 60, 7, 83, 17, 121, 3274, 3, 31, 23319, 447, 2485, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which fleet numbers has quanitity of 13?
CREATE TABLE table_name_35 ( fleet_number_s_ VARCHAR, quantity_made VARCHAR )
SELECT fleet_number_s_ FROM table_name_35 WHERE quantity_made = "13"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 9111, 834, 5525, 1152, 834, 7, 834, 584, 4280, 28027, 6, 8708, 834, 4725, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 9111, 2302, 65, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 9111, 834, 5525, 1152, 834, 7, 834, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 8708, 834, 4725, 3274, 96, 2368, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the home city when Mladen Fran i is the manager?
CREATE TABLE table_name_36 ( home_city VARCHAR, manager VARCHAR )
SELECT home_city FROM table_name_36 WHERE manager = "mladen frančić"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 234, 834, 6726, 584, 4280, 28027, 6, 2743, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 234, 690, 116, 283, 9514, 8177, 3, 23, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 6726, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 2743, 3274, 96, 51, 9514, 3, 6296, 2, 23, 2, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What's the classification of the institution nicknamed Dolphins?
CREATE TABLE table_12936521_2 (classification VARCHAR, nickname VARCHAR)
SELECT classification FROM table_12936521_2 WHERE nickname = "Dolphins"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22174, 10402, 2658, 834, 357, 41, 4057, 2420, 584, 4280, 28027, 6, 24649, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 13774, 13, 8, 6568, 24649, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 13774, 21680, 953, 834, 22174, 10402, 2658, 834, 357, 549, 17444, 427, 24649, 3274, 96, 308, 23589, 77, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many more points did erik zabel score than franciso ventoso ?
CREATE TABLE table_202_22 ( id number, "rank" number, "rider" text, "team" text, "points" number )
SELECT (SELECT "points" FROM table_202_22 WHERE "rider" = 'erik zabel') - (SELECT "points" FROM table_202_22 WHERE "rider" = 'francisco ventoso')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19818, 834, 2884, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 4055, 49, 121, 1499, 6, 96, 11650, 121, 1499, 6, 96, 2700, 7, 121, 381, 3, 61, 3, 32102, 32103, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 41, 23143, 14196, 96, 2700, 7, 121, 21680, 953, 834, 19818, 834, 2884, 549, 17444, 427, 96, 4055, 49, 121, 3274, 3, 31, 15, 9629, 3, 172, 10333, 31, 61, 3, 18, 41, 23143, 14196, 96, 2700, 7, 121, 21680, 953, 834...
What was the score of the game on February 8?
CREATE TABLE table_60621 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text )
SELECT "Score" FROM table_60621 WHERE "Date" = 'february 8'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 4056, 536, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 1649, 7621, 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, 0...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 3328, 4056, 536, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 89, 15, 9052, 1208, 505, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the company for desha county
CREATE TABLE table_28107 ( "Company" text, "Name" text, "County" text, "Militia Regiment" text, "Commander" text, "Organization Date" text )
SELECT "Company" FROM table_28107 WHERE "County" = 'Desha'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 18057, 41, 96, 5890, 2837, 63, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 10628, 63, 121, 1499, 6, 96, 329, 173, 155, 23, 9, 15232, 297, 121, 1499, 6, 96, 10205, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5890, 2837, 63, 121, 21680, 953, 834, 2577, 18057, 549, 17444, 427, 96, 10628, 63, 121, 3274, 3, 31, 2962, 7, 1024, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the tries for when 52 was the tries against?
CREATE TABLE table_76614 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text )
SELECT "Tries for" FROM table_76614 WHERE "Tries against" = '52'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3539, 2534, 41, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 1499, 6, 96, 308, 10936, 29, 121, 1499, 6, 96, 434, 3481, 121, 1499, 6, 96, 22512, 7, 21, 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, 382, 2593, 21, 121, 21680, 953, 834, 940, 3539, 2534, 549, 17444, 427, 96, 382, 2593, 581, 121, 3274, 3, 31, 5373, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the date that the item was laid down if it was launched on 1899-04-25?
CREATE TABLE table_name_95 ( laid_down VARCHAR, launched VARCHAR )
SELECT laid_down FROM table_name_95 WHERE launched = "1899-04-25"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 7245, 834, 3035, 584, 4280, 28027, 6, 3759, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 833, 24, 8, 2118, 47, 7245, 323, 3, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7245, 834, 3035, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 3759, 3274, 96, 2606, 3264, 18083, 14855, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the highest number of Silver medals with a Total greater than 14 and more than 15 Bronze medals?
CREATE TABLE table_name_38 ( silver INTEGER, total VARCHAR, bronze VARCHAR )
SELECT MAX(silver) FROM table_name_38 WHERE total > 14 AND bronze > 15
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 4294, 3, 21342, 17966, 6, 792, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 381, 13, 5642, 936...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 7, 173, 624, 61, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 792, 2490, 968, 3430, 13467, 2490, 627, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many events are in South Africa?
CREATE TABLE table_name_25 (events INTEGER, country VARCHAR)
SELECT SUM(events) FROM table_name_25 WHERE country = "south africa"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 15, 2169, 7, 3, 21342, 17966, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 984, 33, 16, 1013, 2648, 58, 1, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 15, 2169, 7, 61, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 684, 3274, 96, 7, 670, 107, 24040, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which mm × mm has an in × in of 11 × 17?
CREATE TABLE table_name_7 (mm_×_mm VARCHAR, in_×_in VARCHAR)
SELECT mm_×_mm FROM table_name_7 WHERE in_×_in = "11 × 17"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 635, 834, 2, 834, 635, 584, 4280, 28027, 6, 16, 834, 2, 834, 77, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 3, 635, 3, 2, 3, 635, 65...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 635, 834, 2, 834, 635, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 16, 834, 2, 834, 77, 3274, 96, 2596, 3, 2, 1003, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the patient who has the most recent undergoing treatment?
CREATE TABLE undergoes ( patient VARCHAR, dateundergoes VARCHAR )
SELECT patient FROM undergoes ORDER BY dateundergoes LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 17601, 15, 7, 41, 1868, 584, 4280, 28027, 6, 833, 7248, 839, 15, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2588, 8, 1868, 113, 65, 8, 167, 1100, 3, 22725, 1058, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1868, 21680, 17601, 15, 7, 4674, 11300, 272, 476, 833, 7248, 839, 15, 7, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the result for 10/04/1947?
CREATE TABLE table_name_75 ( result VARCHAR, date VARCHAR )
SELECT result FROM table_name_75 WHERE date = "10/04/1947"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 741, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 741, 21, 335, 24288, 13523, 4177, 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, 741, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 833, 3274, 96, 1714, 24288, 13523, 4177, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the incident number of the incident that occurred in Dantewada, Chattisgarh?
CREATE TABLE table_33706 ( "Incident No." text, "Date" text, "Place" text, "Killed" real, "Injured" real )
SELECT "Incident No." FROM table_33706 WHERE "Place" = 'dantewada, chattisgarh'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4201, 2518, 948, 41, 96, 1570, 75, 4215, 465, 535, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 345, 11706, 121, 1499, 6, 96, 439, 173, 1361, 121, 490, 6, 96, 1570, 2047, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1570, 75, 4215, 465, 535, 21680, 953, 834, 4201, 2518, 948, 549, 17444, 427, 96, 345, 11706, 121, 3274, 3, 31, 26, 1841, 210, 9, 26, 9, 6, 3582, 17, 159, 1478, 107, 31, 1, -100, -100, -100, -100, -100, -100,...
Tell me the role for 2005
CREATE TABLE table_name_38 (role VARCHAR, year VARCHAR)
SELECT role FROM table_name_38 WHERE year = 2005
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 3491, 15, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 1075, 21, 3105, 1, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1075, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 215, 3274, 3105, 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...
How many years does coach Jim Berryman have?
CREATE TABLE table_46520 ( "Tenure" text, "Coach" text, "Years" text, "Record" text, "Pct." real )
SELECT "Years" FROM table_46520 WHERE "Coach" = 'jim berryman'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4448, 25356, 41, 96, 382, 35, 1462, 121, 1499, 6, 96, 3881, 1836, 121, 1499, 6, 96, 476, 2741, 7, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 345, 75, 17, 535, 490,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 96, 476, 2741, 7, 121, 21680, 953, 834, 4448, 25356, 549, 17444, 427, 96, 3881, 1836, 121, 3274, 3, 31, 354, 603, 3, 7418, 348, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is team 1 if Renova is team 2?
CREATE TABLE table_58763 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text )
SELECT "Team 1" FROM table_58763 WHERE "Team 2" = 'renova'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3449, 3959, 519, 41, 96, 18699, 209, 121, 1499, 6, 96, 188, 4102, 535, 1499, 6, 96, 18699, 204, 121, 1499, 6, 96, 536, 7, 17, 4553, 121, 1499, 6, 96, 357, 727, 4553, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18699, 209, 121, 21680, 953, 834, 3449, 3959, 519, 549, 17444, 427, 96, 18699, 204, 121, 3274, 3, 31, 60, 14979, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the highest place of the song with 38 votes and a draw great than 3?
CREATE TABLE table_71597 ( "Draw" real, "Artist" text, "Song" text, "Votes" real, "Place" real )
SELECT MAX("Place") FROM table_71597 WHERE "Votes" = '38' AND "Draw" > '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 1808, 4327, 41, 96, 308, 10936, 121, 490, 6, 96, 7754, 343, 121, 1499, 6, 96, 134, 2444, 121, 1499, 6, 96, 553, 32, 1422, 121, 490, 6, 96, 345, 11706, 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, 4800, 4, 599, 121, 345, 11706, 8512, 21680, 953, 834, 940, 1808, 4327, 549, 17444, 427, 96, 553, 32, 1422, 121, 3274, 3, 31, 3747, 31, 3430, 96, 308, 10936, 121, 2490, 3, 31, 519, 31, 1, -100, -100, -100, -100, ...
Call sign of k231bg has what sum of erp w?
CREATE TABLE table_name_30 ( erp_w INTEGER, call_sign VARCHAR )
SELECT SUM(erp_w) FROM table_name_30 WHERE call_sign = "k231bg"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 3, 49, 102, 834, 210, 3, 21342, 17966, 6, 580, 834, 6732, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2571, 1320, 13, 3, 157, 357, 3341, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 49, 102, 834, 210, 61, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 580, 834, 6732, 3274, 96, 157, 357, 3341, 115, 122, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
a Year smaller than 2007, and a Result of 1st is in what venue?
CREATE TABLE table_66725 ( "Year" real, "Tournament" text, "Venue" text, "Result" text, "Extra" text )
SELECT "Venue" FROM table_66725 WHERE "Year" < '2007' AND "Result" = '1st'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 940, 1828, 41, 96, 476, 2741, 121, 490, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 5420, 1313, 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, 553, 35, 76, 15, 121, 21680, 953, 834, 3539, 940, 1828, 549, 17444, 427, 96, 476, 2741, 121, 3, 2, 3, 31, 20615, 31, 3430, 96, 20119, 121, 3274, 3, 31, 536, 7, 17, 31, 1, -100, -100, -100, -100, -100, -100...
For those records from the products and each product's manufacturer, show me about the distribution of name and the average of code , and group by attribute name in a bar chart, sort bar in descending order.
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT T2.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T2.Name DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 23954, 6, 332, 5411, 22737, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272, 476, 332, 4416, 2...
give me the number of patients whose diagnoses long title is other chronic pain and lab test abnormal status is abnormal?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Other chronic pain" AND lab.flag = "abnormal"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
what is the number of the wc matches if the matches were 79
CREATE TABLE table_30085411_1 (WC INTEGER, matches VARCHAR)
SELECT MAX(WC) AS matches FROM table_30085411_1 WHERE matches = 79
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5426, 4433, 591, 2596, 834, 536, 41, 10038, 3, 21342, 17966, 6, 6407, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 381, 13, 8, 3, 210, 75, 6407, 3, 99...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 10038, 61, 6157, 6407, 21680, 953, 834, 5426, 4433, 591, 2596, 834, 536, 549, 17444, 427, 6407, 3274, 3, 4440, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
In what year was there an award for TV Adicto Golden Awards and the category Female Revelation?
CREATE TABLE table_name_78 (year VARCHAR, award VARCHAR, category VARCHAR)
SELECT year FROM table_name_78 WHERE award = "tv adicto golden awards" AND category = "female revelation"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 1201, 584, 4280, 28027, 6, 2760, 584, 4280, 28027, 6, 3295, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 86, 125, 215, 47, 132, 46, 2760, 21, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 215, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 2760, 3274, 96, 17, 208, 3, 9, 12194, 32, 7069, 6120, 121, 3430, 3295, 3274, 96, 89, 15, 13513, 20022, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Does Trinity (valhalla) have HDMI?
CREATE TABLE table_name_29 ( hdmi VARCHAR, codename VARCHAR )
SELECT hdmi FROM table_name_29 WHERE codename = "trinity (valhalla)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 3, 107, 26, 51, 23, 584, 4280, 28027, 6, 1081, 4350, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 3520, 20699, 41, 2165, 11516, 9, 61, 43, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 107, 26, 51, 23, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 1081, 4350, 3274, 96, 1788, 29, 485, 41, 2165, 11516, 9, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
which nation holds first rank ?
CREATE TABLE table_204_383 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT "nation" FROM table_204_383 WHERE "rank" = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3747, 519, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 29, 257, 121, 1499, 6, 96, 14910, 121, 381, 6, 96, 7, 173, 624, 121, 381, 6, 96, 13711, 776, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29, 257, 121, 21680, 953, 834, 26363, 834, 3747, 519, 549, 17444, 427, 96, 6254, 121, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Total when the league shows 79 (221)?
CREATE TABLE table_name_39 ( total VARCHAR, league_a VARCHAR )
SELECT total FROM table_name_39 WHERE league_a = "79 (221)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 792, 584, 4280, 28027, 6, 5533, 834, 9, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 9273, 116, 8, 5533, 1267, 3, 4440, 4743, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 792, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 5533, 834, 9, 3274, 96, 4440, 4743, 2658, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What's the catalog number for a December 11, 2007 record from columbia formatted in a that's from Canada?
CREATE TABLE table_name_1 (catalog VARCHAR, region VARCHAR, label VARCHAR, date VARCHAR)
SELECT catalog FROM table_name_1 WHERE label = "columbia" AND date = "december 11, 2007" AND region = "canada"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 2138, 9, 2152, 584, 4280, 28027, 6, 1719, 584, 4280, 28027, 6, 3783, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 10173, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 3783, 3274, 96, 3297, 5937, 23, 9, 121, 3430, 833, 3274, 96, 221, 75, 18247, 9694, 4101, 121, 3430, 1719, 3274, 96, 658, 18089, 121, 1, -100, -100, -100, -100...
For the tournament ending with a margin of victory of 2 strokes, who was the runner(s)-up?
CREATE TABLE table_name_58 (runner_s__up VARCHAR, margin_of_victory VARCHAR)
SELECT runner_s__up FROM table_name_58 WHERE margin_of_victory = "2 strokes"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 10806, 834, 7, 834, 834, 413, 584, 4280, 28027, 6, 6346, 834, 858, 834, 7287, 10972, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 242, 8, 5892, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10806, 834, 7, 834, 834, 413, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 6346, 834, 858, 834, 7287, 10972, 3274, 96, 357, 9529, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the sum of the points of all teams that had against scores less than 14?
CREATE TABLE table_name_96 ( points INTEGER, against INTEGER )
SELECT SUM(points) FROM table_name_96 WHERE against < 14
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 979, 3, 21342, 17966, 6, 581, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4505, 13, 8, 979, 13, 66, 2323, 24, 141, 581, 7586, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 581, 3, 2, 968, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the Average of bergen, norway?
CREATE TABLE table_41189 ( "City" text, "Comprehension of Danish" text, "Comprehension of Swedish" text, "Comprehension of Norwegian" text, "Average" real )
SELECT MIN("Average") FROM table_41189 WHERE "City" = 'bergen, norway'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4853, 25312, 41, 96, 254, 485, 121, 1499, 6, 96, 5890, 22459, 106, 13, 23124, 121, 1499, 6, 96, 5890, 22459, 106, 13, 16531, 121, 1499, 6, 96, 5890, 22459, 106, 13, 21894, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 188, 624, 545, 8512, 21680, 953, 834, 4853, 25312, 549, 17444, 427, 96, 254, 485, 121, 3274, 3, 31, 2235, 35, 6, 3701, 1343, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
calculate the number of patients who have been hospitalized in 2102.
CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time )
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE STRFTIME('%y', patient.hospitaladmittime) = '2102'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 583, 41, 583, 23, 26, 381, 6, 775, 12417, 1499, 6, 1868, 15878, 3734, 21545, 23, 26, 381, 6, 605, 6137, 1499, 6, 605, 23, 26, 381, 6, 1567, 715, 97, 6, 583, 381, 3, 61, 3, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 1868, 5, 202, 1495, 12417, 61, 21680, 1868, 549, 17444, 427, 3, 13733, 6245, 15382, 599, 31, 1454, 63, 31, 6, 1868, 5, 31386, 20466, 17, 715, 61, 3274, 3, 31, 357, 14388, 31, ...
Who Finalists has a Club of gy ri?
CREATE TABLE table_name_22 ( finalists VARCHAR, club VARCHAR )
SELECT finalists FROM table_name_22 WHERE club = "győri"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 3, 28077, 584, 4280, 28027, 6, 1886, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 6514, 343, 7, 65, 3, 9, 1949, 13, 3, 122, 63, 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, 3, 28077, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 1886, 3274, 96, 122, 63, 2, 52, 23, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who took the loss against the California Angels when the attendance was 10,886?
CREATE TABLE table_10127 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text )
SELECT "Loss" FROM table_10127 WHERE "Opponent" = 'california angels' AND "Attendance" = '10,886'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 22367, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 7, 7, 121, 1499, 6, 96, 188, 17, 324, 26, 663...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 7, 7, 121, 21680, 953, 834, 1714, 22367, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 15534, 1161, 29, 23, 9, 11831, 7, 31, 3430, 96, 188, 17, 324, 26, 663, 121, 3274, 3, 31, 1714, 6, ...
What are the dates and locations of performances?
CREATE TABLE performance ( Date VARCHAR, LOCATION VARCHAR )
SELECT Date, LOCATION FROM performance
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 821, 41, 7678, 584, 4280, 28027, 6, 301, 5618, 8015, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 5128, 11, 3248, 13, 7357, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7678, 6, 301, 5618, 8015, 21680, 821, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which Mountains classification has a Team classification of quick step?
CREATE TABLE table_name_81 (mountains_classification VARCHAR, team_classification VARCHAR)
SELECT mountains_classification FROM table_name_81 WHERE team_classification = "quick step"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 11231, 13676, 834, 4057, 2420, 584, 4280, 28027, 6, 372, 834, 4057, 2420, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 18183, 13774, 65, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 8022, 834, 4057, 2420, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 372, 834, 4057, 2420, 3274, 96, 1169, 2406, 1147, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the highest game with a 1-0 record, and the Hornets scored more than 100?
CREATE TABLE table_name_32 (game INTEGER, record VARCHAR, hornets_score VARCHAR)
SELECT MAX(game) FROM table_name_32 WHERE record = "1-0" AND hornets_score > 100
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 7261, 3, 21342, 17966, 6, 1368, 584, 4280, 28027, 6, 3, 6293, 15, 17, 7, 834, 7, 9022, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 7261, 61, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 1368, 3274, 96, 18930, 121, 3430, 3, 6293, 15, 17, 7, 834, 7, 9022, 2490, 910, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the date, average temperature and mean humidity for the days with the 3 largest maximum gust speeds?
CREATE TABLE trip ( id number, duration number, start_date text, start_station_name text, start_station_id number, end_date text, end_station_name text, end_station_id number, bike_id number, subscription_type text, zip_code number ) CREATE TABLE status ( station_id number, bikes_available number, docks_available number, time text ) CREATE TABLE station ( id number, name text, lat number, long number, dock_count number, city text, installation_date text ) CREATE TABLE weather ( date text, max_temperature_f number, mean_temperature_f number, min_temperature_f number, max_dew_point_f number, mean_dew_point_f number, min_dew_point_f number, max_humidity number, mean_humidity number, min_humidity number, max_sea_level_pressure_inches number, mean_sea_level_pressure_inches number, min_sea_level_pressure_inches number, max_visibility_miles number, mean_visibility_miles number, min_visibility_miles number, max_wind_speed_mph number, mean_wind_speed_mph number, max_gust_speed_mph number, precipitation_inches number, cloud_cover number, events text, wind_dir_degrees number, zip_code number )
SELECT date, mean_temperature_f, mean_humidity FROM weather ORDER BY max_gust_speed_mph DESC LIMIT 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1469, 41, 3, 23, 26, 381, 6, 8659, 381, 6, 456, 834, 5522, 1499, 6, 456, 834, 6682, 834, 4350, 1499, 6, 456, 834, 6682, 834, 23, 26, 381, 6, 414, 834, 5522, 1499, 6, 414, 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, 833, 6, 1243, 834, 21010, 15, 834, 89, 6, 1243, 834, 4884, 23, 26, 485, 21680, 1969, 4674, 11300, 272, 476, 9858, 834, 17198, 834, 9993, 834, 7656, 309, 25067, 8729, 12604, 220, 1, -100, -100, -100, -100, -100, -100...
Show the locations of schools that have more than 1 player.
CREATE TABLE school_details ( school_id number, nickname text, colors text, league text, class text, division text ) CREATE TABLE player ( player_id number, player text, team text, age number, position text, school_id number ) CREATE TABLE school ( school_id number, school text, location text, enrollment number, founded number, denomination text, boys_or_girls text, day_or_boarding text, year_entered_competition number, school_colors text ) CREATE TABLE school_performance ( school_id number, school_year text, class_a text, class_aa text )
SELECT T2.location FROM player AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id GROUP BY T1.school_id HAVING COUNT(*) > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 496, 834, 221, 5756, 7, 41, 496, 834, 23, 26, 381, 6, 24649, 1499, 6, 2602, 1499, 6, 5533, 1499, 6, 853, 1499, 6, 4889, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 14836, 21680, 1959, 6157, 332, 536, 3, 15355, 3162, 496, 6157, 332, 357, 9191, 332, 5411, 6646, 834, 23, 26, 3274, 332, 4416, 6646, 834, 23, 26, 350, 4630, 6880, 272, 476, 332, 5411, 6646, 834, 23, 26, ...
count the number of patients whose year of birth is less than 2043 and lab test fluid is cerebrospinal fluid (csf)?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2043" AND lab.fluid = "Cerebrospinal Fluid (CSF)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the total GNIS Feature ID with a County of idaho?
CREATE TABLE table_name_64 (gnis_feature_id INTEGER, county VARCHAR)
SELECT SUM(gnis_feature_id) FROM table_name_64 WHERE county = "idaho"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 122, 29, 159, 834, 30844, 834, 23, 26, 3, 21342, 17966, 6, 5435, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 3, 13738, 4555, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 122, 29, 159, 834, 30844, 834, 23, 26, 61, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 5435, 3274, 96, 23, 26, 9, 107, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
provide the number of patients whose diagnoses short title is opioid dependence-unspec and drug route is dwell?
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 ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Opioid dependence-unspec" AND prescriptions.route = "DWELL"
[ 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, 3...
count the number of patients whose age is less than 55 and diagnoses long title is closed fracture of base of skull with subarachnoid, subdural, and extradural hemorrhage, with loss of consciousness of unspecified duration?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.age < "55" AND diagnoses.long_title = "Closed fracture of base of skull with subarachnoid, subdural, and extradural hemorrhage, with loss of consciousness of unspecified duration"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
How many widow patients have had an albumin urine lab test done?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "WIDOWED" AND lab.label = "Albumin, Urine"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the name of the venue when the competition was friendly, with a Result of 2 3?
CREATE TABLE table_71255 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text )
SELECT "Venue" FROM table_71255 WHERE "Competition" = 'friendly' AND "Result" = '2–3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4450, 25502, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 5890, 4995, 4749, 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, 553, 35, 76, 15, 121, 21680, 953, 834, 4450, 25502, 549, 17444, 427, 96, 5890, 4995, 4749, 121, 3274, 3, 31, 4905, 31, 3430, 96, 20119, 121, 3274, 3, 31, 357, 104, 519, 31, 1, -100, -100, -100, -100, -100, -...
Out of total number of patients admitted before 2125, how many of them had colangitis as primary disease?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "COLANGITIS" AND demographic.admityear < "2125"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 19617, 19775, 3177, 4555, 121, 3430, 14798, 5, 20466, 17, 1201, 3, 2, ...
how many times do patient 006-195310 visit the hospital until 2104?
CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time )
SELECT COUNT(DISTINCT patient.patienthealthsystemstayid) FROM patient WHERE patient.uniquepid = '006-195310' AND STRFTIME('%y', patient.hospitaladmittime) <= '2104'
[ 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, 3362, 4267, 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, 15438, 25424, 6227, 1868, 5, 10061, 15878, 3734, 21545, 23, 26, 61, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1495, 12417, 3274, 3, 31, 1206, 948, 18, 22464, 19947, 31, 3430, 3, 13733, 6245, 15382,...
Which label had a Japan region and a date of November 3, 2004?
CREATE TABLE table_name_53 (label VARCHAR, region VARCHAR, date VARCHAR)
SELECT label FROM table_name_53 WHERE region = "japan" AND date = "november 3, 2004"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 40, 10333, 584, 4280, 28027, 6, 1719, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 3783, 141, 3, 9, 3411, 1719, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3783, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 1719, 3274, 96, 1191, 2837, 121, 3430, 833, 3274, 96, 5326, 18247, 6180, 4406, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the original artist of top 9 as the week number?
CREATE TABLE table_name_88 ( original_artist VARCHAR, week__number VARCHAR )
SELECT original_artist FROM table_name_88 WHERE week__number = "top 9"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 926, 834, 1408, 343, 584, 4280, 28027, 6, 471, 834, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 926, 2377, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 926, 834, 1408, 343, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 471, 834, 834, 5525, 1152, 3274, 96, 2916, 668, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Win percentage where there were 5 lost and 0 is drew?
CREATE TABLE table_name_62 ( win_percentage VARCHAR, lost VARCHAR, drew VARCHAR )
SELECT win_percentage FROM table_name_62 WHERE lost = 5 AND drew = 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 1369, 834, 883, 3728, 545, 584, 4280, 28027, 6, 1513, 584, 4280, 28027, 6, 3, 26, 60, 210, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 1369, 834, 883, 3728, 545, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 1513, 3274, 305, 3430, 3, 26, 60, 210, 3274, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is Third Vice President, when Inaugurated is "15 March 1934"?
CREATE TABLE table_name_38 (third_vice_president VARCHAR, inaugurated VARCHAR)
SELECT third_vice_president FROM table_name_38 WHERE inaugurated = "15 march 1934"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 14965, 834, 7287, 15, 834, 102, 15704, 584, 4280, 28027, 6, 22035, 920, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 9879, 8236, 1661, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1025, 834, 7287, 15, 834, 102, 15704, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 22035, 920, 3274, 96, 1808, 10556, 28828, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What language is the movie in that is on SAB network through Sky service?
CREATE TABLE table_name_97 (language VARCHAR, network VARCHAR, service VARCHAR)
SELECT language FROM table_name_97 WHERE network = "sab" AND service = "sky"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 24925, 584, 4280, 28027, 6, 1229, 584, 4280, 28027, 6, 313, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1612, 19, 8, 1974, 16, 24, 19, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1612, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 1229, 3274, 96, 7, 9, 115, 121, 3430, 313, 3274, 96, 5352, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What's the pos for an asts less than 117?
CREATE TABLE table_name_52 ( pos VARCHAR, asts INTEGER )
SELECT pos FROM table_name_52 WHERE asts < 117
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 3, 2748, 584, 4280, 28027, 6, 38, 17, 7, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 3, 2748, 21, 46, 38, 17, 7, 705, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 2748, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 38, 17, 7, 3, 2, 3, 20275, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
In what parish is the sub-parish fortun?
CREATE TABLE table_178398_1 ( parish__prestegjeld_ VARCHAR, sub_parish__sogn_ VARCHAR )
SELECT parish__prestegjeld_ FROM table_178398_1 WHERE sub_parish__sogn_ = "Fortun"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 4591, 3916, 834, 536, 41, 14961, 834, 834, 2026, 849, 122, 354, 8804, 834, 584, 4280, 28027, 6, 769, 834, 1893, 1273, 834, 834, 7, 32, 122, 29, 834, 584, 4280, 28027,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14961, 834, 834, 2026, 849, 122, 354, 8804, 834, 21680, 953, 834, 2517, 4591, 3916, 834, 536, 549, 17444, 427, 769, 834, 1893, 1273, 834, 834, 7, 32, 122, 29, 834, 3274, 96, 3809, 17, 202, 121, 1, -100, -100, -100...
In what race was the weight in kg 55 and the winner/2nd 1st - Jim and Tonic?
CREATE TABLE table_2581397_4 (race VARCHAR, weight__kg_ VARCHAR, winner_2nd VARCHAR)
SELECT race FROM table_2581397_4 WHERE weight__kg_ = "55" AND winner_2nd = "1st - Jim And Tonic"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3449, 2368, 4327, 834, 591, 41, 12614, 584, 4280, 28027, 6, 1293, 834, 834, 8711, 834, 584, 4280, 28027, 6, 4668, 834, 357, 727, 584, 4280, 28027, 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, 1964, 21680, 953, 834, 357, 3449, 2368, 4327, 834, 591, 549, 17444, 427, 1293, 834, 834, 8711, 834, 3274, 96, 3769, 121, 3430, 4668, 834, 357, 727, 3274, 96, 536, 7, 17, 3, 18, 6006, 275, 304, 2532, 121, 1, -100, ...
what is the date when the opponent is real españa?
CREATE TABLE table_name_41 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_41 WHERE opponent = "real españa"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 5522, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 833, 116, 8, 15264, 19, 490, 16159, 9, 2, 9, 58, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 15264, 3274, 96, 6644, 16159, 9, 2, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the model number for usf46
CREATE TABLE table_21530474_1 ( model_no VARCHAR, chassis_code VARCHAR )
SELECT model_no FROM table_21530474_1 WHERE chassis_code = "USF46"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 1808, 23702, 4581, 834, 536, 41, 825, 834, 29, 32, 584, 4280, 28027, 6, 22836, 834, 4978, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 825, 381, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 825, 834, 29, 32, 21680, 953, 834, 357, 1808, 23702, 4581, 834, 536, 549, 17444, 427, 22836, 834, 4978, 3274, 96, 3063, 371, 4448, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was Dainty June when Boyd Gaines was Herbie?
CREATE TABLE table_name_27 ( dainty_june VARCHAR, herbie VARCHAR )
SELECT dainty_june FROM table_name_27 WHERE herbie = "boyd gaines"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 836, 77, 17, 63, 834, 6959, 15, 584, 4280, 28027, 6, 160, 4232, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 878, 77, 17, 63, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 836, 77, 17, 63, 834, 6959, 15, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 160, 4232, 3274, 96, 7531, 26, 2485, 15, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What NHL team has a player in the position of Left Wing that came from the Toronto Marlboros (omjhl)?
CREATE TABLE table_34788 ( "Pick #" text, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text )
SELECT "NHL team" FROM table_34788 WHERE "Position" = 'left wing' AND "College/junior/club team" = 'toronto marlboros (omjhl)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 4177, 4060, 41, 96, 345, 3142, 1713, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 15743, 434, 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, 15743, 434, 372, 121, 21680, 953, 834, 519, 4177, 4060, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 17068, 3, 3108, 31, 3430, 96, 9939, 7883, 87, 6959, 23, 127, 87, 13442, 372, 121, 3274, 3, 31,...
Show all card type codes and the number of cards in each type Plot them as bar chart, rank from low to high by the x-axis.
CREATE TABLE Financial_Transactions ( transaction_id INTEGER, previous_transaction_id INTEGER, account_id INTEGER, card_id INTEGER, transaction_type VARCHAR(15), transaction_date DATETIME, transaction_amount DOUBLE, transaction_comment VARCHAR(255), other_transaction_details VARCHAR(255) ) CREATE TABLE Customers_Cards ( card_id INTEGER, customer_id INTEGER, card_type_code VARCHAR(15), card_number VARCHAR(80), date_valid_from DATETIME, date_valid_to DATETIME, other_card_details VARCHAR(255) ) CREATE TABLE Customers ( customer_id INTEGER, customer_first_name VARCHAR(20), customer_last_name VARCHAR(20), customer_address VARCHAR(255), customer_phone VARCHAR(255), customer_email VARCHAR(255), other_customer_details VARCHAR(255) ) CREATE TABLE Accounts ( account_id INTEGER, customer_id INTEGER, account_name VARCHAR(50), other_account_details VARCHAR(255) )
SELECT card_type_code, COUNT(*) FROM Customers_Cards GROUP BY card_type_code ORDER BY card_type_code
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5421, 834, 18474, 4787, 7, 41, 5878, 834, 23, 26, 3, 21342, 17966, 6, 1767, 834, 7031, 4787, 834, 23, 26, 3, 21342, 17966, 6, 905, 834, 23, 26, 3, 21342, 17966, 6, 895, 834, 23, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 895, 834, 6137, 834, 4978, 6, 2847, 17161, 599, 1935, 61, 21680, 16423, 834, 6936, 26, 7, 350, 4630, 6880, 272, 476, 895, 834, 6137, 834, 4978, 4674, 11300, 272, 476, 895, 834, 6137, 834, 4978, 1, -100, -100, -100, ...