NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What was the team's record after week 7 with 28,161 attending?
CREATE TABLE table_name_58 ( record VARCHAR, week VARCHAR, attenmdance VARCHAR )
SELECT record FROM table_name_58 WHERE week > 7 AND attenmdance = "28,161"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 1368, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 6, 44, 324, 51, 26, 663, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 372, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 471, 2490, 489, 3430, 44, 324, 51, 26, 663, 3274, 96, 2577, 6, 2938, 536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the score of the game where Wrexham is the home team and the date is Blackpool?
CREATE TABLE table_name_1 (score VARCHAR, home_team VARCHAR, date VARCHAR)
SELECT score FROM table_name_1 WHERE home_team = "wrexham" AND date = "blackpool"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 7, 9022, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 13, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 234, 834, 11650, 3274, 96, 210, 60, 226, 1483, 121, 3430, 833, 3274, 96, 19699, 13194, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the uniform number of the player whose last name is Wiltshire?
CREATE TABLE table_name_25 (uni_number INTEGER, surname VARCHAR)
SELECT MIN(uni_number) FROM table_name_25 WHERE surname = "wiltshire"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 202, 23, 834, 5525, 1152, 3, 21342, 17966, 6, 244, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7117, 381, 13, 8, 1959, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 202, 23, 834, 5525, 1152, 61, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 244, 4350, 3274, 96, 210, 173, 17, 5718, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Can you tell me the lowest Rank that has the Nationality of australia, and the Name of leisel jones, and the Lane larger than 4?
CREATE TABLE table_64408 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" text )
SELECT MIN("Rank") FROM table_64408 WHERE "Nationality" = 'australia' AND "Name" = 'leisel jones' AND "Lane" > '4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4389, 2445, 927, 41, 96, 22557, 121, 490, 6, 96, 434, 152, 15, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 13368, 121, 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, 3, 17684, 599, 121, 22557, 8512, 21680, 953, 834, 4389, 2445, 927, 549, 17444, 427, 96, 24732, 485, 121, 3274, 3, 31, 2064, 8792, 23, 9, 31, 3430, 96, 23954, 121, 3274, 3, 31, 4460, 7, 15, 40, 3, 1927, 1496, 31,...
Who is the opponent at america west arena?
CREATE TABLE table_name_24 (opponent VARCHAR, location VARCHAR)
SELECT opponent FROM table_name_24 WHERE location = "america west arena"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 32, 102, 9977, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 15264, 44, 3, 23064, 4653, 15134, 58, 1, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 1128, 3274, 96, 23064, 4653, 15134, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the score for Set 1 at 19:21?
CREATE TABLE table_name_59 (score VARCHAR, set_1 VARCHAR)
SELECT score FROM table_name_59 WHERE set_1 = "19:21"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 7, 9022, 584, 4280, 28027, 6, 356, 834, 536, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 21, 2821, 209, 44, 957, 10, 2658, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 356, 834, 536, 3274, 96, 2294, 10, 2658, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
how many patients who passed away in or before the year 2174 had ascites as lab test fluid?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dod_year <= "2174.0" AND lab.fluid = "Ascites"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
A bar chart for what are the number of the countries of mountains with height bigger than 5000?, and I want to show by the X in ascending.
CREATE TABLE mountain ( Mountain_ID int, Name text, Height real, Prominence real, Range text, Country text ) CREATE TABLE climber ( Climber_ID int, Name text, Country text, Time text, Points real, Mountain_ID int )
SELECT Country, COUNT(Country) FROM mountain WHERE Height > 5000 GROUP BY Country ORDER BY Country
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4180, 41, 5617, 834, 4309, 16, 17, 6, 5570, 1499, 6, 24231, 490, 6, 749, 1109, 1433, 490, 6, 10971, 1499, 6, 6993, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 6993, 6, 2847, 17161, 599, 10628, 651, 61, 21680, 4180, 549, 17444, 427, 24231, 2490, 3, 12814, 350, 4630, 6880, 272, 476, 6993, 4674, 11300, 272, 476, 6993, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the kosal with hatibandha as the sambalpuri cinema?
CREATE TABLE table_name_94 ( kosal VARCHAR, sambalpuri_cinema VARCHAR )
SELECT kosal FROM table_name_94 WHERE sambalpuri_cinema = "hatibandha"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 3, 9692, 138, 584, 4280, 28027, 6, 3, 7, 14303, 40, 102, 459, 834, 14760, 51, 9, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 9692, 138, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 3, 7, 14303, 40, 102, 459, 834, 14760, 51, 9, 3274, 96, 547, 23, 3348, 1024, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the Conference for the 1967 68 season?
CREATE TABLE table_name_71 ( conference VARCHAR, season VARCHAR )
SELECT conference FROM table_name_71 WHERE season = "1967–68"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 2542, 584, 4280, 28027, 6, 774, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4379, 21, 8, 18148, 3, 3651, 774, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2542, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 774, 3274, 96, 2294, 3708, 104, 3651, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What engine has g tyres and is driven by elio de angelis?
CREATE TABLE table_name_30 (engine VARCHAR, tyres VARCHAR, driver VARCHAR)
SELECT engine FROM table_name_30 WHERE tyres = "g" AND driver = "elio de angelis"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 20165, 584, 4280, 28027, 6, 3, 17, 63, 60, 7, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1948, 65, 3, 122, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1948, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 3, 17, 63, 60, 7, 3274, 96, 122, 121, 3430, 2535, 3274, 96, 15, 40, 23, 32, 20, 11831, 159, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many patients having government insurance have had ammonia lab test?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text,...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.insurance = "Government" AND lab.label = "Ammonia"
[ 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 number of patients whose primary disease is copd exacerbation and procedure short title is regional lymph node exc?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescription...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "COPD EXACERBATION" AND procedures.short_title = "Regional lymph node exc"
[ 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, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Who was the man of the match when they lost 2-4?
CREATE TABLE table_17120964_7 ( man_of_the_match VARCHAR, result VARCHAR )
SELECT man_of_the_match FROM table_17120964_7 WHERE result = "Lost 2-4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 2122, 4198, 4389, 834, 940, 41, 388, 834, 858, 834, 532, 834, 19515, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 38...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 388, 834, 858, 834, 532, 834, 19515, 21680, 953, 834, 2517, 2122, 4198, 4389, 834, 940, 549, 17444, 427, 741, 3274, 96, 434, 3481, 3, 21432, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who were semi-finalists in the event with a runner-up of Lisa Raymond?
CREATE TABLE table_name_3 (semi_finalists VARCHAR, runner_up VARCHAR)
SELECT semi_finalists FROM table_name_3 WHERE runner_up = "lisa raymond"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 7, 15, 51, 23, 834, 28077, 584, 4280, 28027, 6, 3, 10806, 834, 413, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 130, 4772, 18, 28077, 16,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4772, 834, 28077, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 3, 10806, 834, 413, 3274, 96, 40, 159, 9, 3, 2866, 6764, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which area 2006 km has an area 1996 km of 26.39, and a pop 2006 smaller than 18,610?
CREATE TABLE table_name_94 ( area_2006_km² INTEGER, area_1996_km² VARCHAR, pop_2006 VARCHAR )
SELECT MIN(area_2006_km²) FROM table_name_94 WHERE area_1996_km² = 26.39 AND pop_2006 < 18 OFFSET 610
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 616, 834, 21196, 834, 5848, 357, 3, 21342, 17966, 6, 616, 834, 2294, 4314, 834, 5848, 357, 584, 4280, 28027, 6, 2783, 834, 21196, 584, 4280, 28027, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 498, 834, 21196, 834, 5848, 7318, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 616, 834, 2294, 4314, 834, 5848, 357, 3274, 2208, 5, 3288, 3430, 2783, 834, 21196, 3, 2, 507, 3, 15316, 20788, 3, ...
What is the average Services, when Year is greater than 2003, when Industry is greater than 1,465, and when Regional GVA is greater than 9,432?
CREATE TABLE table_44113 ( "Year" real, "Regional GVA" real, "Agriculture" real, "Industry" real, "Services" real )
SELECT AVG("Services") FROM table_44113 WHERE "Year" > '2003' AND "Industry" > '1,465' AND "Regional GVA" > '9,432'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3628, 20522, 41, 96, 476, 2741, 121, 490, 6, 96, 17748, 6318, 350, 8230, 121, 490, 6, 96, 188, 3496, 10547, 121, 490, 6, 96, 1570, 8655, 8224, 121, 490, 6, 96, 15260, 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, 71, 17217, 599, 121, 15260, 7, 8512, 21680, 953, 834, 3628, 20522, 549, 17444, 427, 96, 476, 2741, 121, 2490, 3, 31, 23948, 31, 3430, 96, 1570, 8655, 8224, 121, 2490, 3, 31, 4347, 591, 4122, 31, 3430, 96, 17748, 6...
What's the total number of signicand with ~34.0 decimal digits and more than 128 total bits?
CREATE TABLE table_54786 ( "Type" text, "Sign" real, "Exponent" real, "Significand" real, "Total bits" real, "Exponent bias" real, "Bits precision" real, "Number of decimal digits" text )
SELECT COUNT("Significand") FROM table_54786 WHERE "Number of decimal digits" = '~34.0' AND "Total bits" > '128'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 4177, 3840, 41, 96, 25160, 121, 1499, 6, 96, 134, 3191, 121, 490, 6, 96, 5420, 9977, 121, 490, 6, 96, 134, 3191, 3286, 232, 121, 490, 6, 96, 3696, 1947, 14120, 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, 2847, 17161, 599, 121, 134, 3191, 3286, 232, 8512, 21680, 953, 834, 755, 4177, 3840, 549, 17444, 427, 96, 567, 5937, 49, 13, 7908, 1982, 3, 9206, 7, 121, 3274, 3, 31, 2, 519, 15021, 31, 3430, 96, 3696, 1947, 14120...
What week of the season was December 13?
CREATE TABLE table_name_3 ( week VARCHAR, date VARCHAR )
SELECT week FROM table_name_3 WHERE date = "december 13"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 471, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 471, 13, 8, 774, 47, 1882, 1179, 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, 471, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 833, 3274, 96, 221, 75, 18247, 1179, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the Away with a Ground that is humber college lakeshore?
CREATE TABLE table_name_88 (away VARCHAR, ground VARCHAR)
SELECT away FROM table_name_88 WHERE ground = "humber college lakeshore"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 8006, 584, 4280, 28027, 6, 1591, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 71, 1343, 28, 3, 9, 13908, 24, 19, 3, 4884, 1152, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 550, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 1591, 3274, 96, 4884, 1152, 1900, 6957, 13303, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the rookie that played week 6?
CREATE TABLE table_name_59 ( rookie VARCHAR, week VARCHAR )
SELECT rookie FROM table_name_59 WHERE week = 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 24188, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 24188, 24, 1944, 471, 431, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 24188, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 471, 3274, 431, 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...
Which state has 67% Republicans and a ratio of 24/12 of Republicans to Democrats?
CREATE TABLE table_67117 ( "State ranked in partisan order" text, "Percentage Republicans" text, "Percentage Democrats" text, "Republican/ Democratic" text, "Republican seat plurality" text )
SELECT "State ranked in partisan order" FROM table_67117 WHERE "Percentage Republicans" = '67%' AND "Republican/ Democratic" = '24/12'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 20275, 41, 96, 134, 4748, 3, 8232, 16, 3, 18237, 455, 121, 1499, 6, 96, 12988, 3728, 545, 15623, 121, 1499, 6, 96, 12988, 3728, 545, 11882, 121, 1499, 6, 96, 1649, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 4748, 3, 8232, 16, 3, 18237, 455, 121, 21680, 953, 834, 3708, 20275, 549, 17444, 427, 96, 12988, 3728, 545, 15623, 121, 3274, 3, 31, 3708, 1454, 31, 3430, 96, 1649, 15727, 152, 87, 10021, 121, 3274, 3, 31...
Name the most wins where position is 16th
CREATE TABLE table_1708050_3 ( wins INTEGER, position VARCHAR )
SELECT MAX(wins) FROM table_1708050_3 WHERE position = "16th"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 536, 2518, 2079, 1752, 834, 519, 41, 9204, 3, 21342, 17966, 6, 1102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 167, 9204, 213, 1102, 19, 898, 189, 1,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 3757, 7, 61, 21680, 953, 834, 536, 2518, 2079, 1752, 834, 519, 549, 17444, 427, 1102, 3274, 96, 2938, 189, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which licence has a release date of 2009-08?
CREATE TABLE table_49696 ( "Product" text, "Vendor" text, "Edition" text, "Release date" text, "Java EE compatibility" text, "License" text )
SELECT "License" FROM table_49696 WHERE "Release date" = '2009-08'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 4314, 4314, 41, 96, 3174, 7472, 121, 1499, 6, 96, 553, 989, 127, 121, 1499, 6, 96, 427, 10569, 121, 1499, 6, 96, 1649, 40, 14608, 833, 121, 1499, 6, 96, 683, 8644, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 447, 5167, 121, 21680, 953, 834, 591, 4314, 4314, 549, 17444, 427, 96, 1649, 40, 14608, 833, 121, 3274, 3, 31, 16660, 18, 4018, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who was the home team on 1 April 2008?
CREATE TABLE table_10652 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Attendance" real, "Record" text )
SELECT "Home" FROM table_10652 WHERE "Date" = '1 april 2008'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 16431, 5373, 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, 2796, 9, 26, 53, 2604, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 121, 21680, 953, 834, 16431, 5373, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 536, 3, 9, 2246, 40, 2628, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the Visiting team on december 20?
CREATE TABLE table_name_99 (visiting_team VARCHAR, date VARCHAR)
SELECT visiting_team FROM table_name_99 WHERE date = "december 20"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 3466, 155, 53, 834, 11650, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 3, 30338, 372, 30, 20, 75, 18247...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3644, 834, 11650, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 833, 3274, 96, 221, 75, 18247, 460, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who wrote episode 74?
CREATE TABLE table_1876825_5 (written_by VARCHAR, no_in_series VARCHAR)
SELECT written_by FROM table_1876825_5 WHERE no_in_series = 74
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25828, 3651, 1828, 834, 755, 41, 14973, 834, 969, 584, 4280, 28027, 6, 150, 834, 77, 834, 10833, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 2832, 5640, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1545, 834, 969, 21680, 953, 834, 25828, 3651, 1828, 834, 755, 549, 17444, 427, 150, 834, 77, 834, 10833, 7, 3274, 3, 4581, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is procedure short title and procedure long title of procedure icd9 code 5059?
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 ( ...
SELECT procedures.short_title, procedures.long_title FROM procedures WHERE procedures.icd9_code = "5059"
[ 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, 4293, 5, 7, 14184, 834, 21869, 6, 4293, 5, 2961, 834, 21869, 21680, 4293, 549, 17444, 427, 4293, 5, 447, 26, 1298, 834, 4978, 3274, 96, 1752, 3390, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
For those records from the products and each product's manufacturer, a bar chart shows the distribution of name and code , and group by attribute headquarter, show by the X in descending.
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter, T1.Name ORDER BY T1.Name DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15248, 7, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 3642, 19973, 584, 4280, 28027, 599, 25502, 201, 3, 19145, 584, 4280, 28027, 599, 25502, 201, 19764, 17833...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 23954, 6, 332, 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, 3642, 19973, ...
Provide the frequency of the last names of employees earning more than the employee with id 163 using a bar chart, and order Y in asc order.
CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL v...
SELECT LAST_NAME, COUNT(LAST_NAME) FROM employees WHERE SALARY > (SELECT SALARY FROM employees WHERE EMPLOYEE_ID = 163) GROUP BY LAST_NAME ORDER BY COUNT(LAST_NAME)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3248, 41, 301, 5618, 8015, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3, 13733, 26418, 834, 24604, 12200, 134, 3, 4331, 4059, 599, 2445, 201, 3, 16034, 16359, 834, 5911, 5596, 3, 4331...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 301, 12510, 834, 567, 17683, 6, 2847, 17161, 599, 434, 12510, 834, 567, 17683, 61, 21680, 1652, 549, 17444, 427, 180, 4090, 24721, 2490, 41, 23143, 14196, 180, 4090, 24721, 21680, 1652, 549, 17444, 427, 262, 5244, 5017,...
What percentage of other candidates did the county which voted 52.1% for Kerry vote for?
CREATE TABLE table_name_69 ( others_number INTEGER, kerry_percentage VARCHAR )
SELECT MAX(others_number) FROM table_name_69 WHERE kerry_percentage = "52.1%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 717, 834, 5525, 1152, 3, 21342, 17966, 6, 3, 2304, 651, 834, 883, 3728, 545, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 5294, 13, 119...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 9269, 7, 834, 5525, 1152, 61, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 3, 2304, 651, 834, 883, 3728, 545, 3274, 96, 5373, 5, 4704, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Show me about the distribution of meter_200 and the average of meter_100 , and group by attribute meter_200 in a bar chart, and could you show mean meter 100 from low to high order?
CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE swimme...
SELECT meter_200, AVG(meter_100) FROM swimmer GROUP BY meter_200 ORDER BY AVG(meter_100)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 605, 41, 4699, 16, 17, 6, 5570, 1499, 6, 12750, 834, 4309, 16, 17, 6, 2929, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1368, 41, 4699, 16, 17, 6, 3, 20119, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 4401, 834, 3632, 6, 71, 17217, 599, 4401, 834, 2915, 61, 21680, 27424, 350, 4630, 6880, 272, 476, 3, 4401, 834, 3632, 4674, 11300, 272, 476, 71, 17217, 599, 4401, 834, 2915, 61, 1, -100, -100, -100, -100, -100, ...
What is the total of all YARDS with 0 SACK and less than 14 P/KO RET?
CREATE TABLE table_54010 ( "Year" text, "TCKL" real, "SACK" real, "P/KO RET" real, "YARDS" real )
SELECT COUNT("YARDS") FROM table_54010 WHERE "SACK" = '0' AND "P/KO RET" < '14'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25379, 1714, 41, 96, 476, 2741, 121, 1499, 6, 96, 3838, 439, 434, 121, 490, 6, 96, 134, 15339, 121, 490, 6, 96, 345, 87, 12725, 3, 27514, 121, 490, 6, 96, 476, 10327, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10327, 134, 8512, 21680, 953, 834, 25379, 1714, 549, 17444, 427, 96, 134, 15339, 121, 3274, 3, 31, 632, 31, 3430, 96, 345, 87, 12725, 3, 27514, 121, 3, 2, 3, 31, 2534, 31, 1, -100, -1...
What is the team's record on april 23?
CREATE TABLE table_name_43 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_43 WHERE date = "april 23"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 60, 7621, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 372, 31, 7, 1368, 30, 3, 9, 2246, 40, 1902, 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, 1368, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 833, 3274, 96, 9, 2246, 40, 1902, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many districts have t/vap values of 67.0%?
CREATE TABLE table_29051 ( "District" real, "Region" text, "Communes" text, "Population (2002 census)" real, "% of total population" text, "VAP" real, "Enrolled" real, "Total votes" real, "Valid votes" real, "Turnout" text, "E/VAP" text, "T/VAP" text, "V/VAP" text )
SELECT COUNT("District") FROM table_29051 WHERE "T/VAP" = '67.0%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23838, 5553, 41, 96, 308, 23, 20066, 121, 490, 6, 96, 17748, 23, 106, 121, 1499, 6, 96, 10205, 444, 7, 121, 1499, 6, 96, 27773, 7830, 41, 24898, 23087, 61, 121, 490, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 308, 23, 20066, 8512, 21680, 953, 834, 23838, 5553, 549, 17444, 427, 96, 382, 87, 553, 2965, 121, 3274, 3, 31, 3708, 5, 6932, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which rank had the Labour party winning in 2003, a swing to gain that was larger than 2.13, a lab hold as a result, and which took place in the Linlithgow constituency?
CREATE TABLE table_name_21 ( rank VARCHAR, constituency VARCHAR, result VARCHAR, winning_party_2003 VARCHAR, swing_to_gain VARCHAR )
SELECT rank FROM table_name_21 WHERE winning_party_2003 = "labour" AND swing_to_gain > 2.13 AND result = "lab hold" AND constituency = "linlithgow"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 11003, 584, 4280, 28027, 6, 6439, 4392, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 6, 3447, 834, 8071, 834, 23948, 584, 4280, 28027, 6, 7180, 834, 235, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 11003, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 3447, 834, 8071, 834, 23948, 3274, 96, 9339, 1211, 121, 3430, 7180, 834, 235, 834, 16720, 2490, 1682, 2368, 3430, 741, 3274, 96, 9339, 1520, 121, 3430, 6439, 4...
Name the report on 20 may
CREATE TABLE table_name_98 (report VARCHAR, date VARCHAR)
SELECT report FROM table_name_98 WHERE date = "20 may"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 60, 1493, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 934, 30, 460, 164, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 934, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 833, 3274, 96, 1755, 164, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Show me about the distribution of Date_of_Birth and Height in a bar chart, could you list by the Y-axis in descending?
CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, Unsure_rate real ) CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight re...
SELECT Date_of_Birth, Height FROM people ORDER BY Height DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4775, 41, 25833, 17, 15, 834, 4309, 16, 17, 6, 2449, 834, 4309, 16, 17, 6, 14457, 834, 23799, 1499, 6, 7678, 1499, 6, 4224, 834, 2206, 490, 6, 9151, 834, 2206, 490, 6, 4495, 2748, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7678, 834, 858, 834, 279, 23, 52, 189, 6, 24231, 21680, 151, 4674, 11300, 272, 476, 24231, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Dec. (J2000) has a Redshift (km/ s) of 1331 3?
CREATE TABLE table_name_31 ( dec___j2000__ VARCHAR, redshift__km__s__ VARCHAR )
SELECT dec___j2000__ FROM table_name_31 WHERE redshift__km__s__ = "1331 ± 3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 20, 75, 834, 834, 834, 354, 13527, 834, 834, 584, 4280, 28027, 6, 1131, 22872, 834, 834, 5848, 834, 834, 7, 834, 834, 584, 4280, 28027, 3, 61, 3, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 20, 75, 834, 834, 834, 354, 13527, 834, 834, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 1131, 22872, 834, 834, 5848, 834, 834, 7, 834, 834, 3274, 96, 2368, 3341, 3, 2, 220, 121, 1, -100, -100, -100, -100, ...
Which Drawn has a Played of 20, and a Club of rhigos rfc?
CREATE TABLE table_name_78 (drawn VARCHAR, played VARCHAR, club VARCHAR)
SELECT drawn FROM table_name_78 WHERE played = "20" AND club = "rhigos rfc"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 19489, 29, 584, 4280, 28027, 6, 1944, 584, 4280, 28027, 6, 1886, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 19183, 29, 65, 3, 9, 2911, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6796, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 1944, 3274, 96, 1755, 121, 3430, 1886, 3274, 96, 52, 107, 23, 839, 7, 3, 52, 89, 75, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
When was incumbent John Thomas Wilson first elected?
CREATE TABLE table_1434788_5 (first_elected VARCHAR, incumbent VARCHAR)
SELECT first_elected FROM table_1434788_5 WHERE incumbent = "John Thomas Wilson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25133, 4177, 4060, 834, 755, 41, 14672, 834, 19971, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 28406, 1079, 3576, 9439, 166, 8160...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 166, 834, 19971, 21680, 953, 834, 25133, 4177, 4060, 834, 755, 549, 17444, 427, 28406, 3274, 96, 18300, 3576, 9439, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was album of the year after 2009?
CREATE TABLE table_name_99 (result VARCHAR, year VARCHAR, category VARCHAR)
SELECT result FROM table_name_99 WHERE year > 2009 AND category = "album of the year"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 3295, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 2306, 13, 8, 215, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3264, 549, 17444, 427, 215, 2490, 2464, 3430, 3295, 3274, 96, 23703, 13, 8, 215, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the overall record for indian river
CREATE TABLE table_name_9 ( overall_record VARCHAR, school VARCHAR )
SELECT overall_record FROM table_name_9 WHERE school = "indian river"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 1879, 834, 60, 7621, 584, 4280, 28027, 6, 496, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1879, 1368, 21, 16, 8603, 4033, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1879, 834, 60, 7621, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 496, 3274, 96, 77, 8603, 4033, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which team won at the symmons plains raceway?
CREATE TABLE table_name_42 (team VARCHAR, circuit VARCHAR)
SELECT team FROM table_name_42 WHERE circuit = "symmons plains raceway"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 11650, 584, 4280, 28027, 6, 4558, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 372, 751, 44, 8, 3, 7, 63, 635, 106, 7, 6080, 7, 1964, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 372, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 4558, 3274, 96, 7, 63, 635, 106, 7, 6080, 7, 1964, 1343, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many seats were won in the election with 125 candidates?
CREATE TABLE table_16215 ( "General election" real, "# of candidates" real, "# of seats won" real, "% of popular vote" text, "Result" text )
SELECT COUNT("# of seats won") FROM table_16215 WHERE "# of candidates" = '125'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 357, 1808, 41, 96, 20857, 4356, 121, 490, 6, 96, 4663, 13, 4341, 121, 490, 6, 96, 4663, 13, 6116, 751, 121, 490, 6, 96, 1454, 13, 1012, 2902, 121, 1499, 6, 96, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 4663, 13, 6116, 751, 8512, 21680, 953, 834, 2938, 357, 1808, 549, 17444, 427, 96, 4663, 13, 4341, 121, 3274, 3, 31, 10124, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What are the ids and last names of all drivers who participated in the most races?
CREATE TABLE pitstops ( raceid number, driverid number, stop number, lap number, time text, duration text, milliseconds number ) CREATE TABLE seasons ( year number, url text ) CREATE TABLE circuits ( circuitid number, circuitref text, name text, location text, c...
SELECT T1.driverid, T1.surname FROM drivers AS T1 JOIN results AS T2 ON T1.driverid = T2.driverid JOIN races AS T3 ON T2.raceid = T3.raceid GROUP BY T1.driverid ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7688, 7618, 7, 41, 1964, 23, 26, 381, 6, 1262, 4055, 381, 6, 1190, 381, 6, 14941, 381, 6, 97, 1499, 6, 8659, 1499, 6, 3293, 23, 12091, 7, 381, 3, 61, 3, 32102, 32103, 32102, 205,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 13739, 4055, 6, 332, 5411, 3042, 4350, 21680, 3863, 6157, 332, 536, 3, 15355, 3162, 772, 6157, 332, 357, 9191, 332, 5411, 13739, 4055, 3274, 332, 4416, 13739, 4055, 3, 15355, 3162, 10879, 6157, 332, 519, 91...
What is Points Difference, when Points Against is 451?
CREATE TABLE table_name_96 (points_difference VARCHAR, points_against VARCHAR)
SELECT points_difference FROM table_name_96 WHERE points_against = "451"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 2700, 7, 834, 26, 99, 11788, 584, 4280, 28027, 6, 979, 834, 9, 16720, 7, 17, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 4564, 7, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 979, 834, 26, 99, 11788, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 979, 834, 9, 16720, 7, 17, 3274, 96, 2128, 536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Let me know the number of dead patients who had a creatinine body fluid lab test.
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, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.expire_flag = "1" AND lab.label = "Creatinine, Body Fluid"
[ 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 name in a year after 1997 has a longitude of 213.0e?
CREATE TABLE table_name_91 ( name VARCHAR, year_named VARCHAR, longitude VARCHAR )
SELECT name FROM table_name_91 WHERE year_named > 1997 AND longitude = "213.0e"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 564, 584, 4280, 28027, 6, 215, 834, 4350, 26, 584, 4280, 28027, 6, 307, 20341, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 564, 16, 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, 564, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 215, 834, 4350, 26, 2490, 6622, 3430, 307, 20341, 3274, 96, 2658, 5787, 632, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many patients are diagnosed with polyp of nasal cavity with drug route nu?
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 ( ...
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 = "Polyp of nasal cavity" AND prescriptions.route = "NU"
[ 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, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
What is the score of the game where the Rangers record was 16-8-4?
CREATE TABLE table_5772 ( "Game" real, "January" real, "Opponent" text, "Score" text, "Record" text )
SELECT "Score" FROM table_5772 WHERE "Record" = '16-8-4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3436, 5865, 41, 96, 23055, 121, 490, 6, 96, 30404, 121, 490, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 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, 96, 134, 9022, 121, 21680, 953, 834, 3436, 5865, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 2938, 6039, 4278, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many orders in each day? Return a bar chart to show.
CREATE TABLE Customers ( customer_id INTEGER, payment_method VARCHAR(15), customer_name VARCHAR(80), date_became_customer DATETIME, other_customer_details VARCHAR(255) ) CREATE TABLE Customer_Orders ( order_id INTEGER, customer_id INTEGER, order_status VARCHAR(15), order_date DATETI...
SELECT order_date, COUNT(order_date) FROM Customers AS t1 JOIN Customer_Orders AS t2 ON t1.customer_id = t2.customer_id WHERE order_status = "Delivered"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 16423, 41, 884, 834, 23, 26, 3, 21342, 17966, 6, 1942, 834, 23152, 584, 4280, 28027, 599, 1808, 201, 884, 834, 4350, 584, 4280, 28027, 599, 2079, 201, 833, 834, 346, 6527, 15, 834, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 455, 834, 5522, 6, 2847, 17161, 599, 9397, 834, 5522, 61, 21680, 16423, 6157, 3, 17, 536, 3, 15355, 3162, 7327, 834, 7395, 588, 7, 6157, 3, 17, 357, 9191, 3, 17, 5411, 25697, 49, 834, 23, 26, 3274, 3, 17, 4416, ...
Which 2005 has a 2004 of 3 2?
CREATE TABLE table_name_3 ( Id VARCHAR )
SELECT 2005 FROM table_name_3 WHERE 2004 = "3–2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 27, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 3105, 65, 3, 9, 4406, 13, 220, 204, 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, 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, 3105, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 4406, 3274, 96, 519, 104, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
patient 018-20179 was diagnosed since 2105 for the first time with what?
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 diagnosis ( diagnosisid...
SELECT diagnosis.diagnosisname FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '018-20179')) AND STRFTIME('%y', diagnosis.diagnosistime) >= '2105...
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 50, 9824, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 7690, 4350, 1499, 6, 50, 1999, 7, 83, 17, 381, 6, 50, 1999, 7, 83, 17, 715, 97, 3, 61, 3, 32102, 32103, 32102, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 8209, 5, 25930, 4844, 159, 4350, 21680, 8209, 549, 17444, 427, 8209, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15878, 3...
What date was Joakim Bonnier in the pole position?
CREATE TABLE table_name_21 ( date VARCHAR, pole_position VARCHAR )
SELECT date FROM table_name_21 WHERE pole_position = "joakim bonnier"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 833, 584, 4280, 28027, 6, 11148, 834, 4718, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 47, 2194, 9, 19754, 29203, 52, 16, 8, 111...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 11148, 834, 4718, 3274, 96, 1927, 9, 19754, 2682, 8632, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What position did tomasz kie bowicz play?
CREATE TABLE table_12694 ( "Player" text, "Position" text, "Ekstraklasa" real, "Polish Cup" real, "UEFA Cup" real )
SELECT "Position" FROM table_12694 WHERE "Player" = 'tomasz kiełbowicz'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21976, 4240, 41, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 427, 157, 3109, 8142, 7, 9, 121, 490, 6, 96, 8931, 1273, 3802, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 32, 7, 4749, 121, 21680, 953, 834, 21976, 4240, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 235, 2754, 172, 3, 11390, 2, 17710, 447, 172, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many players named jake flaherty?
CREATE TABLE table_72956 ( "Name" text, "GP-GS" text, "Solo" real, "Ast" real, "Total" real, "TFL-Yds" text, "No-Yds" text, "BrUp" real, "QBH" real, "No.-Yds" text, "Avg" text, "TD" real, "Long" real, "Rcv-Yds" text, "FF" real, "Blkd Kick" real )
SELECT COUNT("Solo") FROM table_72956 WHERE "Name" = 'Jake Flaherty'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3166, 4834, 41, 96, 23954, 121, 1499, 6, 96, 8049, 18, 8256, 121, 1499, 6, 96, 5231, 40, 32, 121, 490, 6, 96, 188, 7, 17, 121, 490, 6, 96, 3696, 1947, 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, 2847, 17161, 599, 121, 5231, 40, 32, 8512, 21680, 953, 834, 940, 3166, 4834, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 683, 9, 1050, 7036, 760, 17, 63, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the Country for the 2006-07 season?
CREATE TABLE table_43034 ( "Season" text, "Team" text, "Country" text, "League" text, "Level" real, "Apps" real, "Goals" real )
SELECT "Country" FROM table_43034 WHERE "Season" = '2006-07'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25449, 3710, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 2796, 9, 5398, 121, 1499, 6, 96, 25465, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10628, 651, 121, 21680, 953, 834, 25449, 3710, 549, 17444, 427, 96, 134, 15, 9, 739, 121, 3274, 3, 31, 21196, 18, 4560, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many positions does the draft pick whose nationality is Czech Republic play?
CREATE TABLE table_2840500_1 (position VARCHAR, nationality VARCHAR)
SELECT COUNT(position) FROM table_2840500_1 WHERE nationality = "Czech Republic"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 2445, 2560, 834, 536, 41, 4718, 584, 4280, 28027, 6, 1157, 485, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 4655, 405, 8, 6488, 1432, 3, 2544, 1157, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 4718, 61, 21680, 953, 834, 2577, 2445, 2560, 834, 536, 549, 17444, 427, 1157, 485, 3274, 96, 254, 776, 524, 5750, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Show me about the correlation between Credits and DNO in a scatter chart.
CREATE TABLE Department ( DNO INTEGER, Division VARCHAR(2), DName VARCHAR(25), Room VARCHAR(5), Building VARCHAR(13), DPhone INTEGER ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTE...
SELECT Credits, DNO FROM Course ORDER BY Credits
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1775, 41, 309, 7400, 3, 21342, 17966, 6, 6022, 584, 4280, 28027, 16426, 6, 309, 23954, 584, 4280, 28027, 599, 1828, 201, 4181, 584, 4280, 28027, 15757, 6, 5450, 584, 4280, 28027, 599, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 6529, 7, 6, 309, 7400, 21680, 8670, 4674, 11300, 272, 476, 6529, 7, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which Free has a Free polite of *[i-]k-ita?
CREATE TABLE table_40798 ( "Free" text, "Free polite" text, "Genitive 1" text, "Genitive 2" text, "Genitive 3" text )
SELECT "Free" FROM table_40798 WHERE "Free polite" = '*[i-]k-ita'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 940, 3916, 41, 96, 16393, 121, 1499, 6, 96, 16393, 1977, 6311, 121, 1499, 6, 96, 13714, 23, 3268, 209, 121, 1499, 6, 96, 13714, 23, 3268, 204, 121, 1499, 6, 96, 137...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16393, 121, 21680, 953, 834, 2445, 940, 3916, 549, 17444, 427, 96, 16393, 1977, 6311, 121, 3274, 3, 31, 1935, 6306, 23, 18, 908, 157, 18, 155, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
which was k. annamalai s party a?
CREATE TABLE table_2705 ( "Constituency" text, "Winner" text, "Party" text, "Margin" real, "Runner-up a" text, "Party a" text )
SELECT "Party a" FROM table_2705 WHERE "Runner-up a" = 'K. Annamalai'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 3076, 41, 96, 4302, 2248, 17, 76, 4392, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 7286, 122, 77, 121, 490, 6, 96, 23572, 18, 41...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 13725, 63, 3, 9, 121, 21680, 953, 834, 2555, 3076, 549, 17444, 427, 96, 23572, 18, 413, 3, 9, 121, 3274, 3, 31, 439, 5, 7588, 1982, 9, 23, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Pinyin name for Dingyuan County?
CREATE TABLE table_2173 ( "English Name" text, "Simplified Chinese" text, "Traditional Chinese" text, "Pinyin" text, "Area" real, "Population" real, "Density" real )
SELECT "Pinyin" FROM table_2173 WHERE "English Name" = 'Dingyuan County'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 4552, 41, 96, 26749, 5570, 121, 1499, 6, 96, 134, 10296, 3676, 2830, 121, 1499, 6, 96, 9402, 10569, 138, 2830, 121, 1499, 6, 96, 345, 77, 63, 77, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 77, 63, 77, 121, 21680, 953, 834, 2658, 4552, 549, 17444, 427, 96, 26749, 5570, 121, 3274, 3, 31, 308, 53, 63, 76, 152, 1334, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the score for game 3?
CREATE TABLE table_29806 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Score" FROM table_29806 WHERE "Game" = '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 2079, 948, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 3166, 2079, 948, 549, 17444, 427, 96, 23055, 121, 3274, 3, 31, 519, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the season number for the episode with the series number 61?
CREATE TABLE table_11630008_5 ( season__number INTEGER, series__number VARCHAR )
SELECT MAX(season__number) FROM table_11630008_5 WHERE series__number = 61
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20159, 5426, 4018, 834, 755, 41, 774, 834, 834, 5525, 1152, 3, 21342, 17966, 6, 939, 834, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 9476, 834, 834, 5525, 1152, 61, 21680, 953, 834, 20159, 5426, 4018, 834, 755, 549, 17444, 427, 939, 834, 834, 5525, 1152, 3274, 3, 4241, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the average number of points for a difference of 55 and an against less than 47?
CREATE TABLE table_name_99 (points INTEGER, difference VARCHAR, against VARCHAR)
SELECT AVG(points) FROM table_name_99 WHERE difference = "55" AND against < 47
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 2700, 7, 3, 21342, 17966, 6, 1750, 584, 4280, 28027, 6, 581, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 381, 13, 979, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 1750, 3274, 96, 3769, 121, 3430, 581, 3, 2, 10635, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Draws has Points smaller than 15, and a Conceded larger than 10, and a Position larger than 8, and Wins of 1?
CREATE TABLE table_name_91 ( draws INTEGER, wins VARCHAR, position VARCHAR, points VARCHAR, conceded VARCHAR )
SELECT MIN(draws) FROM table_name_91 WHERE points < 15 AND conceded > 10 AND position > 8 AND wins = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 14924, 3, 21342, 17966, 6, 9204, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 6, 28325, 26, 584, 4280, 28027, 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, 3, 17684, 599, 19489, 7, 61, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 979, 3, 2, 627, 3430, 28325, 26, 2490, 335, 3430, 1102, 2490, 505, 3430, 9204, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, ...
Who is the player who won in 1994?
CREATE TABLE table_76637 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text )
SELECT "Player" FROM table_76637 WHERE "Year(s) won" = '1994'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3539, 4118, 41, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 476, 2741, 599, 7, 61, 751, 121, 1499, 6, 96, 3696, 1947, 121, 490, 6, 96, 3696, 260...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 940, 3539, 4118, 549, 17444, 427, 96, 476, 2741, 599, 7, 61, 751, 121, 3274, 3, 31, 2294, 4240, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
has chronic renal insufficiency with serum creatinine > 2 mg / dl
CREATE TABLE table_train_148 ( "id" int, "hemoglobin_a1c_hba1c" float, "renal_disease" bool, "hematocrit_hct" float, "serum_creatinine" float, "albumin" float, "body_mass_index_bmi" float, "NOUSE" float )
SELECT * FROM table_train_148 WHERE renal_disease = 1 AND serum_creatinine > 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 24748, 41, 96, 23, 26, 121, 16, 17, 6, 96, 6015, 32, 14063, 77, 834, 9, 536, 75, 834, 107, 115, 9, 536, 75, 121, 3, 12660, 6, 96, 1536, 138, 834, 26, 159, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9719, 834, 24748, 549, 17444, 427, 23328, 834, 26, 159, 14608, 3274, 209, 3430, 20725, 834, 5045, 144, 77, 630, 2490, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many attendances have w 48-10 as the result?
CREATE TABLE table_75375 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT SUM("Attendance") FROM table_75375 WHERE "Result" = 'w 48-10'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 22954, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 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, 180, 6122, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 3072, 22954, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 210, 4678, 4536, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the least the starzzs have scored at a home game ?
CREATE TABLE table_204_73 ( id number, "date" text, "opponent" text, "score" text, "result" text, "record" text )
SELECT MIN("score") FROM table_204_73 WHERE "opponent" = 'home'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4552, 41, 3, 23, 26, 381, 6, 96, 5522, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 7, 9022, 121, 1499, 6, 96, 60, 7, 83, 17, 121, 1499, 6, 96, 60...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7, 9022, 8512, 21680, 953, 834, 26363, 834, 4552, 549, 17444, 427, 96, 32, 102, 9977, 121, 3274, 3, 31, 5515, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Silver has a Total smaller than 2 and a Rank larger than 8
CREATE TABLE table_name_58 (silver INTEGER, total VARCHAR, rank VARCHAR)
SELECT MIN(silver) FROM table_name_58 WHERE total < 2 AND rank > 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 7, 173, 624, 3, 21342, 17966, 6, 792, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 5642, 65, 3, 9, 9273, 2755...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 7, 173, 624, 61, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 792, 3, 2, 204, 3430, 11003, 2490, 505, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which operator has a rank of 7?
CREATE TABLE table_name_20 ( operator VARCHAR, rank VARCHAR )
SELECT operator FROM table_name_20 WHERE rank = 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 7221, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 7221, 65, 3, 9, 11003, 13, 489, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7221, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 11003, 3274, 489, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What city is Mackey Arena in?
CREATE TABLE table_33012 ( "Region" text, "Host" text, "Venue" text, "City" text, "State" text )
SELECT "City" FROM table_33012 WHERE "Venue" = 'mackey arena'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17225, 2122, 41, 96, 17748, 23, 106, 121, 1499, 6, 96, 566, 3481, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 254, 485, 121, 1499, 6, 96, 134, 4748, 121, 1499,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 96, 254, 485, 121, 21680, 953, 834, 17225, 2122, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 11101, 4397, 15134, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the number of office admission patients who were admitted in hospital before 2111?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" AND demographic.admityear < "2111"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 9, 26, 5451, 834, 14836, 3274, 96, 254, 20931, 4666, 4083, 20805, 21415, 87, 5554, 20211, 25380, 1...
Who was the away team for the Etobicoke Kangaroos home game?
CREATE TABLE table_name_81 (away VARCHAR, home VARCHAR)
SELECT away FROM table_name_81 WHERE home = "etobicoke kangaroos"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 8006, 584, 4280, 28027, 6, 234, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 550, 372, 21, 8, 1754, 6690, 509, 1050, 4540, 1478, 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, 550, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 234, 3274, 96, 15, 17, 6690, 509, 1050, 3, 3304, 1478, 32, 32, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the name of scientists who are not assigned to any project.
CREATE TABLE scientists (Name VARCHAR, ssn VARCHAR, scientist VARCHAR); CREATE TABLE AssignedTo (Name VARCHAR, ssn VARCHAR, scientist VARCHAR)
SELECT Name FROM scientists WHERE NOT ssn IN (SELECT scientist FROM AssignedTo)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7004, 41, 23954, 584, 4280, 28027, 6, 3, 7, 7, 29, 584, 4280, 28027, 6, 17901, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 282, 15532, 3696, 41, 23954, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 21680, 7004, 549, 17444, 427, 4486, 3, 7, 7, 29, 3388, 41, 23143, 14196, 17901, 21680, 282, 15532, 3696, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many different riders are there that won riding Omr Tsunami?
CREATE TABLE table_27833186_1 ( rider_names VARCHAR, horse_name VARCHAR )
SELECT COUNT(rider_names) FROM table_27833186_1 WHERE horse_name = "OMR Tsunami"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4591, 3341, 3840, 834, 536, 41, 2564, 52, 834, 4350, 7, 584, 4280, 28027, 6, 4952, 834, 4350, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 315, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 4055, 49, 834, 4350, 7, 61, 21680, 953, 834, 2555, 4591, 3341, 3840, 834, 536, 549, 17444, 427, 4952, 834, 4350, 3274, 96, 8638, 448, 332, 7, 202, 3690, 121, 1, -100, -100, -100, -100, -100, -100, ...
What is the campus fee of 'San Francisco State University' in year 2000?
CREATE TABLE csu_fees ( campusfee VARCHAR, campus VARCHAR, year VARCHAR ) CREATE TABLE campuses ( id VARCHAR, campus VARCHAR )
SELECT t1.campusfee FROM csu_fees AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t2.campus = "San Francisco State University" AND t1.year = 2000
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 75, 7, 76, 834, 89, 15, 15, 7, 41, 4730, 89, 15, 15, 584, 4280, 28027, 6, 4730, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 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, 3, 17, 5411, 25532, 89, 15, 15, 21680, 3, 75, 7, 76, 834, 89, 15, 15, 7, 6157, 3, 17, 536, 3, 15355, 3162, 25784, 6157, 3, 17, 357, 9191, 3, 17, 5411, 25532, 3274, 3, 17, 4416, 23, 26, 549, 17444, 427, 3, ...
What fraction has a value for dots of 0.\dot{3}?
CREATE TABLE table_36621 ( "Fraction" text, "Ellipsis" text, "Vinculum" text, "Dots" text, "Parentheses" text )
SELECT "Fraction" FROM table_36621 WHERE "Dots" = '0.\dot{3}'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3539, 2658, 41, 96, 371, 52, 4787, 121, 1499, 6, 96, 10991, 7446, 7, 159, 121, 1499, 6, 96, 553, 77, 1497, 440, 121, 1499, 6, 96, 4135, 17, 7, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 371, 52, 4787, 121, 21680, 953, 834, 519, 3539, 2658, 549, 17444, 427, 96, 4135, 17, 7, 121, 3274, 3, 31, 632, 5, 2, 26, 32, 17, 2, 519, 2, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
I want the ends for transfer fee of free and goals being 0 for roy carroll
CREATE TABLE table_name_53 ( ends VARCHAR, name VARCHAR, transfer_fee VARCHAR, goals VARCHAR )
SELECT ends FROM table_name_53 WHERE transfer_fee = "free" AND goals = 0 AND name = "roy carroll"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 5542, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 6, 2025, 834, 89, 15, 15, 584, 4280, 28027, 6, 1766, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5542, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 2025, 834, 89, 15, 15, 3274, 96, 2113, 121, 3430, 1766, 3274, 3, 632, 3430, 564, 3274, 96, 8170, 443, 4046, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
Show the police force shared by counties with location on the east and west.
CREATE TABLE county_public_safety (Police_force VARCHAR, LOCATION VARCHAR)
SELECT Police_force FROM county_public_safety WHERE LOCATION = "East" INTERSECT SELECT Police_force FROM county_public_safety WHERE LOCATION = "West"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5435, 834, 15727, 834, 15233, 17, 63, 41, 8931, 867, 834, 10880, 584, 4280, 28027, 6, 301, 5618, 8015, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3111, 8, 2095, 2054, 2471, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5076, 834, 10880, 21680, 5435, 834, 15727, 834, 15233, 17, 63, 549, 17444, 427, 301, 5618, 8015, 3274, 96, 25235, 121, 3, 21342, 5249, 14196, 3, 23143, 14196, 5076, 834, 10880, 21680, 5435, 834, 15727, 834, 15233, 17, ...
For those records from the products and each product's manufacturer, return a bar chart about the distribution of headquarter and the sum of manufacturer , and group by attribute headquarter, and sort by the Y-axis in asc.
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
SELECT Headquarter, SUM(Manufacturer) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter ORDER BY SUM(Manufacturer)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15248, 7, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 3642, 19973, 584, 4280, 28027, 599, 25502, 201, 3, 19145, 584, 4280, 28027, 599, 25502, 201, 19764, 17833...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3642, 19973, 6, 180, 6122, 599, 7296, 76, 8717, 450, 49, 61, 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, ...
Show the number of different competition types with a bar graph, sort the number of competition type from high to low order.
CREATE TABLE club ( Club_ID int, name text, Region text, Start_year text ) CREATE TABLE competition_result ( Competition_ID int, Club_ID_1 int, Club_ID_2 int, Score text ) CREATE TABLE competition ( Competition_ID int, Year real, Competition_type text, Country text ) C...
SELECT Competition_type, COUNT(Competition_type) FROM competition GROUP BY Competition_type ORDER BY COUNT(Competition_type) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1886, 41, 1949, 834, 4309, 16, 17, 6, 564, 1499, 6, 6163, 1499, 6, 3273, 834, 1201, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2259, 834, 60, 7, 83, 17, 41, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 15571, 834, 6137, 6, 2847, 17161, 599, 5890, 4995, 4749, 834, 6137, 61, 21680, 2259, 350, 4630, 6880, 272, 476, 15571, 834, 6137, 4674, 11300, 272, 476, 2847, 17161, 599, 5890, 4995, 4749, 834, 6137, 61, 309, 25067, 1...
How many 4wi were recorded by the player with an economy of 4.17?
CREATE TABLE table_27922491_20 (economy VARCHAR)
SELECT 4 AS wi FROM table_27922491_20 WHERE economy = "4.17"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4508, 2266, 4729, 834, 1755, 41, 15, 12036, 63, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 314, 210, 23, 130, 4381, 57, 8, 1959, 28, 46, 2717, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 314, 6157, 11064, 21680, 953, 834, 2555, 4508, 2266, 4729, 834, 1755, 549, 17444, 427, 2717, 3274, 96, 7984, 2517, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Can you tell me the highest Total votes that has the % of popular vote of 0.86%, and the # of seats won larger than 0?
CREATE TABLE table_name_48 (total_votes INTEGER, _percentage_of_popular_vote VARCHAR, _number_of_seats_won VARCHAR)
SELECT MAX(total_votes) FROM table_name_48 WHERE _percentage_of_popular_vote = "0.86%" AND _number_of_seats_won > 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 235, 1947, 834, 1621, 1422, 3, 21342, 17966, 6, 3, 834, 883, 3728, 545, 834, 858, 834, 27302, 834, 1621, 17, 15, 584, 4280, 28027, 6, 3, 834, 5525, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 235, 1947, 834, 1621, 1422, 61, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 3, 834, 883, 3728, 545, 834, 858, 834, 27302, 834, 1621, 17, 15, 3274, 96, 22384, 6370, 121, 3430, 3, 834, 5525, 115...
How many record data were written when Devin Harris (6) was High Assists?
CREATE TABLE table_29733 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT COUNT("Record") FROM table_29733 WHERE "High assists" = 'Devin Harris (6)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4327, 4201, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 1649, 7621, 8512, 21680, 953, 834, 357, 4327, 4201, 549, 17444, 427, 96, 21417, 13041, 121, 3274, 3, 31, 2962, 2494, 12551, 3, 18669, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What Season is listed for the Player of Jon Stefansson?
CREATE TABLE table_name_82 ( season VARCHAR, player VARCHAR )
SELECT season FROM table_name_82 WHERE player = "jon stefansson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 774, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 7960, 19, 2616, 21, 8, 12387, 13, 8178, 14189, 7, 739, 58,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 774, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 1959, 3274, 96, 15429, 3, 7, 24018, 7, 739, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Rochester, when Syracuse is Cardiff Dark Gray Shale, and when Albany is (Mt. Marion Fm.)?
CREATE TABLE table_name_39 (rochester VARCHAR, syracuse VARCHAR, albany VARCHAR)
SELECT rochester FROM table_name_39 WHERE syracuse = "cardiff dark gray shale" AND albany = "(mt. marion fm.)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 52, 32, 13263, 584, 4280, 28027, 6, 3, 7, 63, 3738, 1074, 584, 4280, 28027, 6, 7046, 6820, 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, 3, 52, 32, 13263, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 3, 7, 63, 3738, 1074, 3274, 96, 6043, 5982, 2164, 9954, 3, 7, 3828, 15, 121, 3430, 7046, 6820, 3274, 96, 599, 51, 17, 5, 2774, 106, 3, 89, 5...
how many asian patients have diagnoses icd9 code 30501?
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 lab ( subject_id text, hadm_id text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "ASIAN" AND diagnoses.icd9_code = "30501"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
What is the last name and office of the professor from the history department?
CREATE TABLE enroll ( class_code text, stu_num number, enroll_grade text ) CREATE TABLE department ( dept_code text, dept_name text, school_code text, emp_num number, dept_address text, dept_extension text ) CREATE TABLE employee ( emp_num number, emp_lname text, emp_fn...
SELECT T1.emp_lname, T2.prof_office FROM employee AS T1 JOIN professor AS T2 ON T1.emp_num = T2.emp_num JOIN department AS T3 ON T2.dept_code = T3.dept_code WHERE T3.dept_name = 'History'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 17990, 41, 853, 834, 4978, 1499, 6, 21341, 834, 5525, 381, 6, 17990, 834, 6801, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3066, 41, 20, 102, 17, 834, 4978, 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, 332, 5411, 15, 1167, 834, 40, 4350, 6, 332, 4416, 1409, 89, 834, 19632, 21680, 3490, 6157, 332, 536, 3, 15355, 3162, 5812, 6157, 332, 357, 9191, 332, 5411, 15, 1167, 834, 5525, 3274, 332, 4416, 15, 1167, 834, 5525, ...
What is the payment method code and party phone of the party with the email 'enrico09@example.com'?
CREATE TABLE services ( service_id number, service_type_code text, service_name text, service_descriptio text ) CREATE TABLE party_services ( booking_id number, customer_id number, service_id number, service_datetime time, booking_made_date time ) CREATE TABLE forms ( form_id n...
SELECT payment_method_code, party_phone FROM parties WHERE party_email = "enrico09@example.com"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 364, 41, 313, 834, 23, 26, 381, 6, 313, 834, 6137, 834, 4978, 1499, 6, 313, 834, 4350, 1499, 6, 313, 834, 221, 11815, 23, 32, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1942, 834, 23152, 834, 4978, 6, 1088, 834, 6399, 21680, 2251, 549, 17444, 427, 1088, 834, 15, 1963, 3274, 96, 35, 2234, 32, 4198, 1741, 994, 9, 9208, 5, 287, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
When sylvania, oh is the location what is the team nickname?
CREATE TABLE table_28211213_2 ( team_nickname VARCHAR, location VARCHAR )
SELECT team_nickname FROM table_28211213_2 WHERE location = "Sylvania, OH"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 2658, 2122, 2368, 834, 357, 41, 372, 834, 11191, 4350, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 3, 7, 63, 40, 16658, 9,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 834, 11191, 4350, 21680, 953, 834, 2577, 2658, 2122, 2368, 834, 357, 549, 17444, 427, 1128, 3274, 96, 134, 63, 40, 16658, 9, 6, 3, 9195, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which stadium has Seongnam Ilhwa Chunma?
CREATE TABLE table_name_77 (stadium VARCHAR, club VARCHAR)
SELECT stadium FROM table_name_77 WHERE club = "seongnam ilhwa chunma"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 2427, 12925, 584, 4280, 28027, 6, 1886, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 14939, 65, 679, 2444, 13363, 802, 107, 210, 9, 16636, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14939, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 1886, 3274, 96, 7, 15, 2444, 13363, 3, 173, 107, 210, 9, 3, 524, 202, 51, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who was the opponent against which the result was w20-0?
CREATE TABLE table_76956 ( "Date" text, "Opponent" text, "Site" text, "Result" text, "Attendance" text )
SELECT "Opponent" FROM table_76956 WHERE "Result" = 'w20-0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 3301, 948, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 26030, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 3959, 3301, 948, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 210, 357, 18629, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which date has opponents, Akgul Amanmuradova Nina Bratchikova, in the final?
CREATE TABLE table_name_65 ( date VARCHAR, opponents_in_the_final VARCHAR )
SELECT date FROM table_name_65 WHERE opponents_in_the_final = "akgul amanmuradova nina bratchikova"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 833, 584, 4280, 28027, 6, 16383, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 833, 65, 16383, 6, 4823, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 16383, 834, 77, 834, 532, 834, 12406, 3274, 96, 1639, 6106, 3, 9, 348, 11054, 9, 26, 6194, 3, 29, 77, 9, 3858, 17, 1436, 9789, 9, 121, 1, -100, -100, -100,...
What tournament was located in Colorado?
CREATE TABLE table_5420 ( "Date" text, "Tournament" text, "Location" text, "Winner" text, "Score" text, "1st prize ( $ )" real )
SELECT "Tournament" FROM table_5420 WHERE "Location" = 'colorado'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5062, 1755, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 134, 9022, 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, 1211, 20205, 17, 121, 21680, 953, 834, 5062, 1755, 549, 17444, 427, 96, 434, 32, 75, 257, 121, 3274, 3, 31, 8135, 19042, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Record has a Date of june 26?
CREATE TABLE table_9281 ( "Date" text, "Opponent" text, "Score" text, "Result" text, "Record" text )
SELECT "Record" FROM table_9281 WHERE "Date" = 'june 26'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4508, 4959, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 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, 0, 0...
[ 3, 23143, 14196, 96, 1649, 7621, 121, 21680, 953, 834, 4508, 4959, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 6959, 15, 2208, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the height for Nikola Franković?
CREATE TABLE table_name_45 (height VARCHAR, name VARCHAR)
SELECT height FROM table_name_45 WHERE name = "nikola franković"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 88, 2632, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3902, 21, 28584, 4937, 9881, 2, 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, 3902, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 564, 3274, 96, 4953, 32, 521, 3, 6296, 9789, 23, 2, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
give me the number of patients whose year of death is less than or equal to 2133 and procedure icd9 code is 3142?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.dod_year <= "2133.0" AND procedures.icd9_code = "3142"
[ 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, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...