NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
provide the number of patients whose insurance is private and procedure long title is intravenous infusion of clofarabine?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Private" AND procedures.long_title = "Intravenous infusion of clofarabine"
[ 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,...
How many pommel Horses have Rings of 37.461, and a Total smaller than 229.507?
CREATE TABLE table_55941 ( "Rank" real, "Team" text, "Floor Exercise" real, "Pommel Horse" real, "Rings" real, "Vault" real, "Parallel Bars" real, "Horizontal Bar" real, "Total" real )
SELECT COUNT("Pommel Horse") FROM table_55941 WHERE "Rings" = '37.461' AND "Total" < '229.507'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3769, 4240, 536, 41, 96, 22557, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 11251, 127, 21414, 121, 490, 6, 96, 345, 7649, 40, 13538, 121, 490, 6, 96, 448, 53, 7, 121, 49...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 345, 7649, 40, 13538, 8512, 21680, 953, 834, 3769, 4240, 536, 549, 17444, 427, 96, 448, 53, 7, 121, 3274, 3, 31, 4118, 5, 4448, 536, 31, 3430, 96, 3696, 1947, 121, 3, 2, 3, 31, 2884, 22321...
give me the number of patients whose age is less than 55 and lab test abnormal status is abnormal?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "55" AND lab.flag = "abnormal"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the StuffitX value that has a Stuffit of unknown, LHA/LZH of yes, and unknown ISO/CD image?
CREATE TABLE table_name_26 (stuffit VARCHAR, iso_cd_image VARCHAR, lha_lzh VARCHAR)
SELECT stuffit AS X FROM table_name_26 WHERE stuffit = "unknown" AND lha_lzh = "yes" AND iso_cd_image = "unknown"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 7, 17, 2999, 155, 584, 4280, 28027, 6, 19, 32, 834, 75, 26, 834, 8221, 584, 4280, 28027, 6, 3, 40, 1024, 834, 40, 172, 107, 584, 4280, 28027, 61, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2005, 155, 6157, 3, 4, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 2005, 155, 3274, 96, 202, 5661, 121, 3430, 3, 40, 1024, 834, 40, 172, 107, 3274, 96, 10070, 121, 3430, 19, 32, 834, 75, 26, 834, 8221, 32...
What game was developed by Naughty Dog?
CREATE TABLE table_63241 ( "Year" real, "Game" text, "Genre" text, "Platform(s)" text, "Developer(s)" text )
SELECT "Genre" FROM table_63241 WHERE "Developer(s)" = 'naughty dog'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 2266, 536, 41, 96, 476, 2741, 121, 490, 6, 96, 23055, 121, 1499, 6, 96, 13714, 60, 121, 1499, 6, 96, 10146, 2032, 599, 7, 61, 121, 1499, 6, 96, 2962, 162, 8745, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 13714, 60, 121, 21680, 953, 834, 3891, 2266, 536, 549, 17444, 427, 96, 2962, 162, 8745, 49, 599, 7, 61, 121, 3274, 3, 31, 29, 9313, 63, 1782, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the name of the Visiting team at Jack Murphy Stadium?
CREATE TABLE table_name_90 (visiting_team VARCHAR, stadium VARCHAR)
SELECT visiting_team FROM table_name_90 WHERE stadium = "jack murphy stadium"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 3466, 155, 53, 834, 11650, 584, 4280, 28027, 6, 14939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 564, 13, 8, 3, 30338, 372, 44, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3644, 834, 11650, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 14939, 3274, 96, 9325, 9593, 6941, 14939, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many countries earned 177.2 points?
CREATE TABLE table_1059743_2 ( member_association VARCHAR, points VARCHAR )
SELECT COUNT(member_association) FROM table_1059743_2 WHERE points = "177.2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 12869, 4327, 4906, 834, 357, 41, 1144, 834, 13443, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1440, 4964, 1003, 25791, 979, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 12066, 834, 13443, 61, 21680, 953, 834, 12869, 4327, 4906, 834, 357, 549, 17444, 427, 979, 3274, 96, 2517, 25791, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the constituency number for Damoh with more than 173,217 electorates?
CREATE TABLE table_62887 ( "Constituency number" text, "Name" text, "Reserved for ( SC / ST /None)" text, "District" text, "Number of electorates (2009)" real )
SELECT "Constituency number" FROM table_62887 WHERE "Number of electorates (2009)" > '173,217' AND "Name" = 'damoh'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 2577, 4225, 41, 96, 4302, 2248, 17, 76, 4392, 381, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 1649, 3473, 15, 26, 21, 41, 6508, 3, 87, 5097, 3, 87, 567, 782, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 4302, 2248, 17, 76, 4392, 381, 121, 21680, 953, 834, 948, 2577, 4225, 549, 17444, 427, 96, 567, 5937, 49, 13, 11924, 127, 6203, 3, 25812, 121, 2490, 3, 31, 2517, 6355, 357, 2517, 31, 3430, 96, 23954, 121, 3274...
Who directed what was written by Michael G. Moye & Ron Leavitt & J. Stanford Parker?
CREATE TABLE table_2226817_3 ( directed_by VARCHAR, written_by VARCHAR )
SELECT directed_by FROM table_2226817_3 WHERE written_by = "Michael G. Moye & Ron Leavitt & J. Stanford Parker"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26144, 3651, 2517, 834, 519, 41, 6640, 834, 969, 584, 4280, 28027, 6, 1545, 834, 969, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 6640, 125, 47, 1545, 57, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6640, 834, 969, 21680, 953, 834, 26144, 3651, 2517, 834, 519, 549, 17444, 427, 1545, 834, 969, 3274, 96, 329, 362, 9, 15, 40, 350, 5, 1290, 63, 15, 3, 184, 10297, 312, 9, 5566, 17, 3, 184, 446, 5, 19796, 13156, ...
How many companies that are not headquartered in the United States for each main industry? Show me a pie chart.
CREATE TABLE company ( Company_ID int, Rank int, Company text, Headquarters text, Main_Industry text, Sales_billion real, Profits_billion real, Assets_billion real, Market_Value real ) CREATE TABLE station_company ( Station_ID int, Company_ID int, Rank_of_the_Year int ) CREATE TABLE gas_station ( Station_ID int, Open_Year int, Location text, Manager_Name text, Vice_Manager_Name text, Representative_Name text )
SELECT Main_Industry, COUNT(Main_Industry) FROM company WHERE Headquarters <> 'USA' GROUP BY Main_Industry
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 349, 41, 1958, 834, 4309, 16, 17, 6, 3, 22557, 16, 17, 6, 1958, 1499, 6, 31282, 1499, 6, 5140, 834, 1570, 8655, 8224, 1499, 6, 7107, 834, 115, 14916, 490, 6, 14717, 7, 834, 115, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5140, 834, 1570, 8655, 8224, 6, 2847, 17161, 599, 21978, 29, 834, 1570, 8655, 8224, 61, 21680, 349, 549, 17444, 427, 31282, 3, 2, 3155, 3, 31, 17663, 31, 350, 4630, 6880, 272, 476, 5140, 834, 1570, 8655, 8224, 1, ...
What is the smallest crowd at princes park?
CREATE TABLE table_33567 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT MIN("Crowd") FROM table_33567 WHERE "Venue" = 'princes park'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2469, 3708, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 254, 3623, 26, 8512, 21680, 953, 834, 519, 2469, 3708, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 12298, 2319, 2447, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the school that is private
CREATE TABLE table_25579 ( "Institution" text, "Nickname" text, "Location" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" real, "Left" real )
SELECT "Institution" FROM table_25579 WHERE "Type" = 'Private'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25502, 4440, 41, 96, 1570, 17448, 121, 1499, 6, 96, 567, 3142, 4350, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 20100, 121, 490, 6, 96, 25160, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1570, 17448, 121, 21680, 953, 834, 25502, 4440, 549, 17444, 427, 96, 25160, 121, 3274, 3, 31, 7855, 208, 342, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the home team on November 22?
CREATE TABLE table_name_47 ( home VARCHAR, date VARCHAR )
SELECT home FROM table_name_47 WHERE date = "november 22"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 234, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 234, 372, 30, 1671, 1630, 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, 234, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 833, 3274, 96, 5326, 18247, 1630, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the number of patients with acute vascular insufficiency of intestine who are less than 50 years of age?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.age < "50" AND diagnoses.long_title = "Acute vascular insufficiency of intestine"
[ 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 college has an overall less than 243, and tony green as the name?
CREATE TABLE table_name_70 (college VARCHAR, overall VARCHAR, name VARCHAR)
SELECT college FROM table_name_70 WHERE overall < 243 AND name = "tony green"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 3297, 7883, 584, 4280, 28027, 6, 1879, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1900, 65, 46, 1879, 705, 145, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1900, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 1879, 3, 2, 3, 27730, 3430, 564, 3274, 96, 17, 106, 63, 1442, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the score when the home team had a crowd larger than 21,188?
CREATE TABLE table_name_32 ( home_team VARCHAR, crowd INTEGER )
SELECT home_team AS score FROM table_name_32 WHERE crowd > 21 OFFSET 188
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 234, 834, 11650, 584, 4280, 28027, 6, 4374, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 116, 8, 234, 372, 141, 3, 9, 437...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 4374, 2490, 1401, 3, 15316, 20788, 3, 25794, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which district elected incumbent Earle Cabell?
CREATE TABLE table_1341718_44 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1341718_44 WHERE incumbent = "Earle Cabell"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2517, 2606, 834, 3628, 41, 26, 23, 20066, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 3939, 8160, 28406, 22101, 15, 1336, 7708...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3939, 21680, 953, 834, 23747, 2517, 2606, 834, 3628, 549, 17444, 427, 28406, 3274, 96, 427, 291, 109, 1336, 7708, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who had the highest points when the series was 4-2?
CREATE TABLE table_name_22 (high_points VARCHAR, series VARCHAR)
SELECT high_points FROM table_name_22 WHERE series = "4-2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 6739, 834, 2700, 7, 584, 4280, 28027, 6, 939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 141, 8, 2030, 979, 116, 8, 939, 47, 314, 4949,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 306, 834, 2700, 7, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 939, 3274, 96, 591, 4949, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What country won in 1993?
CREATE TABLE table_43215 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text )
SELECT "Country" FROM table_43215 WHERE "Year(s) won" = '1993'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2668, 1808, 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, 10628, 651, 121, 21680, 953, 834, 591, 2668, 1808, 549, 17444, 427, 96, 476, 2741, 599, 7, 61, 751, 121, 3274, 3, 31, 2294, 4271, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the date successor seated is south carolina 3rd
CREATE TABLE table_73393 ( "District" text, "Vacator" text, "Reason for change" text, "Successor" text, "Date successor seated" text )
SELECT "Date successor seated" FROM table_73393 WHERE "District" = 'South Carolina 3rd'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4552, 3288, 519, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 25203, 1016, 121, 1499, 6, 96, 1649, 9, 739, 21, 483, 121, 1499, 6, 96, 134, 17431, 24901, 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, 308, 342, 22261, 3, 22933, 121, 21680, 953, 834, 4552, 3288, 519, 549, 17444, 427, 96, 308, 23, 20066, 121, 3274, 3, 31, 22081, 5089, 220, 52, 26, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which LNER 1946 number is from 1892 and has an LNER number of 7347–7356?
CREATE TABLE table_name_20 (lner_1946_no VARCHAR, year VARCHAR, lner_no VARCHAR)
SELECT lner_1946_no FROM table_name_20 WHERE year = "1892" AND lner_no = "7347–7356"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 40, 687, 834, 2294, 4448, 834, 29, 32, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 3, 40, 687, 834, 29, 32, 584, 4280, 28027, 61, 3, 32102, 32103,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 40, 687, 834, 2294, 4448, 834, 29, 32, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 215, 3274, 96, 2606, 4508, 121, 3430, 3, 40, 687, 834, 29, 32, 3274, 96, 4552, 4177, 104, 4552, 4834, 121, 1, -100, -1...
What is the average number of goals against with more than 12 wins, 12 losses, and a position greater than 3?
CREATE TABLE table_name_98 (goals_against INTEGER, position VARCHAR, wins VARCHAR, losses VARCHAR)
SELECT AVG(goals_against) FROM table_name_98 WHERE wins > 12 AND losses = 12 AND position > 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 839, 5405, 834, 9, 16720, 7, 17, 3, 21342, 17966, 6, 1102, 584, 4280, 28027, 6, 9204, 584, 4280, 28027, 6, 8467, 584, 4280, 28027, 61, 3, 32102, 32103,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 839, 5405, 834, 9, 16720, 7, 17, 61, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 9204, 2490, 586, 3430, 8467, 3274, 586, 3430, 1102, 2490, 220, 1, -100, -100, -100, -100, -100, -100, -100, -10...
Who has a walking data of 3:10:48+?
CREATE TABLE table_54647 ( "Event" text, "Data" text, "Athlete" text, "Date" text, "Place" text )
SELECT "Athlete" FROM table_54647 WHERE "Data" = '3:10:48+'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 4448, 4177, 41, 96, 427, 2169, 121, 1499, 6, 96, 20367, 121, 1499, 6, 96, 188, 189, 1655, 15, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 345, 11706, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 188, 189, 1655, 15, 121, 21680, 953, 834, 755, 4448, 4177, 549, 17444, 427, 96, 20367, 121, 3274, 3, 31, 519, 10, 1714, 10, 3707, 1220, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many league goals did Dunne have in the season where he had 2 league apps?
CREATE TABLE table_2980024_1 ( league_goals VARCHAR, league_apps VARCHAR )
SELECT league_goals FROM table_2980024_1 WHERE league_apps = 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 6192, 2266, 834, 536, 41, 5533, 834, 839, 5405, 584, 4280, 28027, 6, 5533, 834, 3096, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 5533, 1766, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5533, 834, 839, 5405, 21680, 953, 834, 3166, 6192, 2266, 834, 536, 549, 17444, 427, 5533, 834, 3096, 7, 3274, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many points did Goole Town accumulate?
CREATE TABLE table_72898 ( "Position" real, "Team" text, "Played" real, "Won" real, "Drawn" real, "Lost" real, "Goals For" real, "Goals Against" real, "Goal Average 1" text, "Points 2" real )
SELECT COUNT("Points 2") FROM table_72898 WHERE "Team" = 'Goole Town'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2577, 3916, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 518, 106, 121, 490, 6, 96, 308, 10936, 29, 121, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 22512, 7, 204, 8512, 21680, 953, 834, 940, 2577, 3916, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 6221, 32, 109, 4463, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which is the highest bronze with gold less than 0?
CREATE TABLE table_name_17 ( bronze INTEGER, gold INTEGER )
SELECT MAX(bronze) FROM table_name_17 WHERE gold < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 13467, 3, 21342, 17966, 6, 2045, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 19, 8, 2030, 13467, 28, 2045, 705, 145, 3, 632, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 13711, 776, 61, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 2045, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Name the most of 2500-3000ft
CREATE TABLE table_1456056_1 (Id VARCHAR)
SELECT MAX(2500 AS _3000ft) FROM table_1456056_1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20987, 3328, 4834, 834, 536, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 167, 13, 204, 2560, 3486, 2313, 89, 17, 1, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 357, 2560, 6157, 3, 834, 519, 2313, 89, 17, 61, 21680, 953, 834, 20987, 3328, 4834, 834, 536, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the Date, when Game is 17?
CREATE TABLE table_46923 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Date" FROM table_46923 WHERE "Game" = '17'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3951, 2773, 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, 308, 342, 121, 21680, 953, 834, 591, 3951, 2773, 549, 17444, 427, 96, 23055, 121, 3274, 3, 31, 2517, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which 2007 has a 2010 of A?
CREATE TABLE table_name_92 ( Id VARCHAR )
SELECT 2007 FROM table_name_92 WHERE 2010 = "a"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 27, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 4101, 65, 3, 9, 2735, 13, 71, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4101, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 2735, 3274, 96, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the pick number for the WR position?
CREATE TABLE table_name_59 (pick__number VARCHAR, position VARCHAR)
SELECT pick__number FROM table_name_59 WHERE position = "wr"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 17967, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1432, 381, 21, 8, 3, 15472, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1432, 834, 834, 5525, 1152, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 1102, 3274, 96, 210, 52, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Can you tell me the sum of Gain that has the Name of kass, rob, and the Avg/g smaller than 1.9?
CREATE TABLE table_48412 ( "Name" text, "Gain" real, "Loss" real, "Long" real, "Avg/g" real )
SELECT SUM("Gain") FROM table_48412 WHERE "Name" = 'kass, rob' AND "Avg/g" < '1.9'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3707, 591, 2122, 41, 96, 23954, 121, 1499, 6, 96, 517, 9, 77, 121, 490, 6, 96, 434, 32, 7, 7, 121, 490, 6, 96, 434, 2444, 121, 490, 6, 96, 188, 208, 122, 87, 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, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 517, 9, 77, 8512, 21680, 953, 834, 3707, 591, 2122, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 1258, 7, 7, 6, 3, 5840, 31, 3430, 96, 188, 208, 122, 87, 122, 121, 3, 2, 3, 31, 22493, 3...
What was the attendance when the VFL played Glenferrie Oval?
CREATE TABLE table_33609 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT SUM("Crowd") FROM table_33609 WHERE "Venue" = 'glenferrie oval'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3420, 4198, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 254, 3623, 26, 8512, 21680, 953, 834, 519, 3420, 4198, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 3537, 29, 1010, 1753, 17986, 31, 1, -100, -100, -100, -100, -100, -100, -100, -10...
What 2009 has a 0 in 2008 & 2010?
CREATE TABLE table_name_3 (Id VARCHAR)
SELECT 2009 FROM table_name_3 WHERE 2010 = "0" AND 2008 = "0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 2464, 65, 3, 9, 3, 632, 16, 2628, 3, 184, 2735, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2464, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 2735, 3274, 96, 632, 121, 3430, 2628, 3274, 96, 632, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What film festival had the Best Male Actor?
CREATE TABLE table_26282750_1 ( film_festival VARCHAR, category VARCHAR )
SELECT film_festival FROM table_26282750_1 WHERE category = "Best Male Actor"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 2577, 357, 9979, 834, 536, 41, 814, 834, 89, 24742, 584, 4280, 28027, 6, 3295, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 814, 3994, 141, 8, 1648, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 814, 834, 89, 24742, 21680, 953, 834, 2688, 2577, 357, 9979, 834, 536, 549, 17444, 427, 3295, 3274, 96, 17278, 17830, 1983, 127, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Where was the county of rockingham?
CREATE TABLE table_name_98 (location VARCHAR, county VARCHAR)
SELECT location FROM table_name_98 WHERE county = "rockingham"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 14836, 584, 4280, 28027, 6, 5435, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2840, 47, 8, 5435, 13, 2480, 14799, 58, 1, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1128, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 5435, 3274, 96, 6133, 14799, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
During which round was a Hawkeyes player selected for the defensive back position?
CREATE TABLE table_77983 ( "Player" text, "Position" text, "Round" real, "Pick" real, "NFL Club" text )
SELECT "Round" FROM table_77983 WHERE "Position" = 'defensive back'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4013, 3916, 519, 41, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 121, 490, 6, 96, 12619, 434, 1949, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 448, 32, 1106, 121, 21680, 953, 834, 4013, 3916, 519, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 221, 23039, 15, 223, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which Class has a Type of 1′c n2t?
CREATE TABLE table_name_85 (class VARCHAR, type VARCHAR)
SELECT class FROM table_name_85 WHERE type = "1′c n2t"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 4057, 584, 4280, 28027, 6, 686, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 4501, 65, 3, 9, 6632, 13, 209, 17774, 75, 3, 29, 357, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 853, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 686, 3274, 96, 536, 17774, 75, 3, 29, 357, 17, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the lowest wickets?
CREATE TABLE table_29383 ( "Player" text, "Team" text, "Matches" real, "Overs" text, "Wickets" real, "Average" text, "Economy" text, "BBI" text, "4wi" real, "5wi" real )
SELECT MIN("Wickets") FROM table_29383
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 3747, 519, 41, 96, 15800, 49, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 329, 144, 2951, 121, 490, 6, 96, 23847, 7, 121, 1499, 6, 96, 518, 447, 8044, 7, 121, 490,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 518, 447, 8044, 7, 8512, 21680, 953, 834, 3166, 3747, 519, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Date had an Outcome of runner-up, and a Surface of carpet?
CREATE TABLE table_name_85 ( date VARCHAR, outcome VARCHAR, surface VARCHAR )
SELECT date FROM table_name_85 WHERE outcome = "runner-up" AND surface = "carpet"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 833, 584, 4280, 28027, 6, 6138, 584, 4280, 28027, 6, 1774, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 7678, 141, 46, 3387, 287, 15, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 6138, 3274, 96, 10806, 18, 413, 121, 3430, 1774, 3274, 96, 1720, 4995, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Give the number of patients whose insurance is private and have procedure long title intravenous infusion of clofarabine.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Private" AND procedures.long_title = "Intravenous infusion of clofarabine"
[ 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, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What work was nominated at Rockferendum 2007 and got 1st place and got the award for best album?
CREATE TABLE table_name_55 (nominated_work VARCHAR, award VARCHAR, type VARCHAR, position VARCHAR)
SELECT nominated_work FROM table_name_55 WHERE type = "rockferendum 2007" AND position = "1st place" AND award = "best album"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 3114, 77, 920, 834, 1981, 584, 4280, 28027, 6, 2760, 584, 4280, 28027, 6, 686, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 150, 1109, 920, 834, 1981, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 686, 3274, 96, 6133, 1010, 989, 440, 4101, 121, 3430, 1102, 3274, 96, 536, 7, 17, 286, 121, 3430, 2760, 3274, 96, 9606, 2306, 121, 1, -...
Loss of postponed (rain) rescheduled for may 10 had what record?
CREATE TABLE table_name_60 (record VARCHAR, loss VARCHAR)
SELECT record FROM table_name_60 WHERE loss = "postponed (rain) rescheduled for may 10"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 60, 7621, 584, 4280, 28027, 6, 1453, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3144, 7, 13, 442, 5041, 15, 26, 41, 6559, 61, 3, 60, 3992, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1368, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 1453, 3274, 96, 5950, 5041, 15, 26, 41, 6559, 61, 3, 60, 3992, 1259, 1361, 21, 164, 335, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest number of wins for years after 1999 with averages over 73.02?
CREATE TABLE table_40371 ( "Year" real, "Wins" real, "Earnings ($)" real, "Money list rank" text, "Average" real )
SELECT MAX("Wins") FROM table_40371 WHERE "Average" > '73.02' AND "Year" > '1999'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 4118, 536, 41, 96, 476, 2741, 121, 490, 6, 96, 18455, 7, 121, 490, 6, 96, 427, 291, 29, 53, 7, 8785, 61, 121, 490, 6, 96, 9168, 15, 63, 570, 11003, 121, 1499, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 18455, 7, 8512, 21680, 953, 834, 2445, 4118, 536, 549, 17444, 427, 96, 188, 624, 545, 121, 2490, 3, 31, 4552, 5, 4305, 31, 3430, 96, 476, 2741, 121, 2490, 3, 31, 2294, 3264, 31, 1, -100, -100,...
what's the county name for the republican river bridge listed on 1992-06-29?
CREATE TABLE table_name_36 ( county VARCHAR, listed VARCHAR, name VARCHAR )
SELECT county FROM table_name_36 WHERE listed = "1992-06-29" AND name = "republican river bridge"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 5435, 584, 4280, 28027, 6, 2616, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 31, 7, 8, 5435, 564, 21, 8, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5435, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 2616, 3274, 96, 19479, 19423, 25369, 1298, 121, 3430, 564, 3274, 96, 60, 15727, 152, 4033, 4716, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the trinidad for yellow-bellied puffing snake
CREATE TABLE table_22380 ( "Species" text, "Common name" text, "Trinidad" text, "Tobago" text, "Bocas Is." text, "Other" text )
SELECT "Trinidad" FROM table_22380 WHERE "Common name" = 'Yellow-bellied puffing snake'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 22671, 41, 96, 7727, 725, 121, 1499, 6, 96, 10205, 106, 564, 121, 1499, 6, 96, 19310, 29, 15644, 121, 1499, 6, 96, 3696, 7893, 32, 121, 1499, 6, 96, 279, 32, 6769, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19310, 29, 15644, 121, 21680, 953, 834, 2884, 22671, 549, 17444, 427, 96, 10205, 106, 564, 121, 3274, 3, 31, 476, 7126, 210, 18, 2370, 15310, 21105, 53, 17599, 31, 1, -100, -100, -100, -100, -100, -100, -100, -1...
what is minimum age of patients whose marital status is widowed and age is greater than or equal to 48?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) 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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT MIN(demographic.age) FROM demographic WHERE demographic.marital_status = "WIDOWED" AND demographic.age >= "48"
[ 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, 3, 17684, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 1635, 9538, 834, 8547, 302, 3274, 96, 518, 4309, 15251, 2326, 121, 3430, 14798, 5, 545, 2490, 2423, 96, 3707, 121, 1, -100, -100, -100...
Find the number and time of the train that goes from Chennai to Guruvayur.
CREATE TABLE train ( id number, train_number number, name text, origin text, destination text, time text, interval text ) CREATE TABLE route ( train_id number, station_id number ) CREATE TABLE weekly_weather ( station_id number, day_of_week text, high_temperature number, low_temperature number, precipitation number, wind_speed_mph number ) CREATE TABLE station ( id number, network_name text, services text, local_authority text )
SELECT train_number, time FROM train WHERE origin = 'Chennai' AND destination = 'Guruvayur'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2412, 41, 3, 23, 26, 381, 6, 2412, 834, 5525, 1152, 381, 6, 564, 1499, 6, 5233, 1499, 6, 3954, 1499, 6, 97, 1499, 6, 8572, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 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, 2412, 834, 5525, 1152, 6, 97, 21680, 2412, 549, 17444, 427, 5233, 3274, 3, 31, 3541, 35, 29, 9, 23, 31, 3430, 3954, 3274, 3, 31, 517, 450, 76, 900, 63, 450, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
What is listed for the 4 credits that has 5 credits of 125?
CREATE TABLE table_35137 ( "Hand" text, "1 credit" text, "2 credits" text, "3 credits" text, "4 credits" text, "5 credits" text )
SELECT "4 credits" FROM table_35137 WHERE "5 credits" = '125'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 24636, 41, 96, 566, 232, 121, 1499, 6, 96, 536, 998, 121, 1499, 6, 96, 357, 11893, 121, 1499, 6, 96, 519, 11893, 121, 1499, 6, 96, 591, 11893, 121, 1499, 6, 96, 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, 96, 591, 11893, 121, 21680, 953, 834, 2469, 24636, 549, 17444, 427, 96, 755, 11893, 121, 3274, 3, 31, 10124, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who had the high points on December 17?
CREATE TABLE table_21517 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "High points" FROM table_21517 WHERE "Date" = 'December 17'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 1808, 2517, 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, 21417, 979, 121, 21680, 953, 834, 357, 1808, 2517, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 29835, 1003, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the series number where the date of first broadcast is 16 october 2008?
CREATE TABLE table_12995531_3 (series_number VARCHAR, date_of_first_broadcast VARCHAR)
SELECT series_number FROM table_12995531_3 WHERE date_of_first_broadcast = "16 October 2008"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 3264, 3769, 3341, 834, 519, 41, 10833, 7, 834, 5525, 1152, 584, 4280, 28027, 6, 833, 834, 858, 834, 14672, 834, 115, 8635, 5254, 584, 4280, 28027, 61, 3, 32102, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 939, 834, 5525, 1152, 21680, 953, 834, 2122, 3264, 3769, 3341, 834, 519, 549, 17444, 427, 833, 834, 858, 834, 14672, 834, 115, 8635, 5254, 3274, 96, 2938, 1797, 2628, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
What was the profit before tax when the turnover was 431.06?
CREATE TABLE table_74298 ( "Period ended" text, "Turnover (\u00a3m)" text, "Profit before tax (\u00a3m)" text, "Dividend per share (p)" text, "Adjusted earnings per share diluted (p)" text )
SELECT "Profit before tax (\u00a3m)" FROM table_74298 WHERE "Turnover (\u00a3m)" = '431.06'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4581, 357, 3916, 41, 96, 12988, 23, 32, 26, 3492, 121, 1499, 6, 96, 382, 450, 29, 1890, 41, 2, 76, 1206, 9, 519, 51, 61, 121, 1499, 6, 96, 23057, 155, 274, 1104, 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, 23057, 155, 274, 1104, 41, 2, 76, 1206, 9, 519, 51, 61, 121, 21680, 953, 834, 4581, 357, 3916, 549, 17444, 427, 96, 382, 450, 29, 1890, 41, 2, 76, 1206, 9, 519, 51, 61, 121, 3274, 3, 31, 4906, 12734, 948, ...
A line chart for returning the number of the dates of birth for entrepreneurs who have either the investor Simon Woodroffe or Peter Jones, sort X in ascending order.
CREATE TABLE entrepreneur ( Entrepreneur_ID int, People_ID int, Company text, Money_Requested real, Investor text ) CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, Date_of_Birth text )
SELECT Date_of_Birth, COUNT(Date_of_Birth) FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Investor = "Simon Woodroffe" OR T1.Investor = "Peter Jones" ORDER BY Date_of_Birth
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 12290, 41, 26696, 834, 4309, 16, 17, 6, 2449, 834, 4309, 16, 17, 6, 1958, 1499, 6, 8833, 834, 1649, 835, 6265, 490, 6, 16873, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 604...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7678, 834, 858, 834, 279, 23, 52, 189, 6, 2847, 17161, 599, 308, 342, 834, 858, 834, 279, 23, 52, 189, 61, 21680, 3, 12290, 6157, 332, 536, 3, 15355, 3162, 151, 6157, 332, 357, 9191, 332, 5411, 24337, 834, 4309, ...
What year did the ship Europa, have the dates of 14 23 October?
CREATE TABLE table_66008 ( "Ship" text, "Year" real, "Dates" text, "Line" text, "From" text, "Distance" text, "Days, hours, minutes" text, "Speed" text )
SELECT AVG("Year") FROM table_66008 WHERE "Ship" = 'europa' AND "Dates" = '14 – 23 october'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27720, 4018, 41, 96, 134, 10462, 121, 1499, 6, 96, 476, 2741, 121, 490, 6, 96, 308, 6203, 121, 1499, 6, 96, 21022, 121, 1499, 6, 96, 22674, 121, 1499, 6, 96, 308, 23, 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, 71, 17217, 599, 121, 476, 2741, 8512, 21680, 953, 834, 27720, 4018, 549, 17444, 427, 96, 134, 10462, 121, 3274, 3, 31, 27949, 31, 3430, 96, 308, 6203, 121, 3274, 3, 31, 2534, 3, 104, 1902, 3, 32, 75, 235, 1152, ...
Which Year has a Location of dinas on 13 january?
CREATE TABLE table_name_86 ( year VARCHAR, location VARCHAR, date VARCHAR )
SELECT year FROM table_name_86 WHERE location = "dinas" AND date = "13 january"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 215, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 2929, 65, 3, 9, 10450, 13, 176,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 215, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 1128, 3274, 96, 2644, 9, 7, 121, 3430, 833, 3274, 96, 2368, 3, 7066, 76, 1208, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who were the candidates in district Pennsylvania 3?
CREATE TABLE table_1341423_38 ( candidates VARCHAR, district VARCHAR )
SELECT candidates FROM table_1341423_38 WHERE district = "Pennsylvania 3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2534, 2773, 834, 3747, 41, 4341, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 130, 8, 4341, 16, 3939, 8913, 220, 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, 4341, 21680, 953, 834, 23747, 2534, 2773, 834, 3747, 549, 17444, 427, 3939, 3274, 96, 345, 35, 29, 7, 63, 40, 16658, 9, 220, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which Record has a December smaller than 28, and Points smaller than 38, and a Game smaller than 26, and a Score of 0 1 ot?
CREATE TABLE table_name_53 ( record VARCHAR, score VARCHAR, game VARCHAR, december VARCHAR, points VARCHAR )
SELECT record FROM table_name_53 WHERE december < 28 AND points < 38 AND game < 26 AND score = "0–1 ot"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 1368, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 6, 20, 75, 18247, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 3, 61, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 20, 75, 18247, 3, 2, 2059, 3430, 979, 3, 2, 6654, 3430, 467, 3, 2, 2208, 3430, 2604, 3274, 96, 632, 104, 536, 3, 32, 17, 121, 1, -100, -100, -100, -100, ...
For each county, find the name of the county and the number of delegates from that county Show bar chart, and order from low to high by the names please.
CREATE TABLE election ( Election_ID int, Counties_Represented text, District int, Delegate text, Party int, First_Elected real, Committee text ) CREATE TABLE county ( County_Id int, County_name text, Population real, Zip_code text ) CREATE TABLE party ( Party_ID int, Year real, Party text, Governor text, Lieutenant_Governor text, Comptroller text, Attorney_General text, US_Senate text )
SELECT County_name, COUNT(*) FROM county AS T1 JOIN election AS T2 ON T1.County_Id = T2.District GROUP BY T1.County_Id ORDER BY County_name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4356, 41, 19488, 834, 4309, 16, 17, 6, 3, 10628, 725, 834, 1649, 12640, 15, 26, 1499, 6, 3570, 16, 17, 6, 374, 8791, 1499, 6, 3450, 16, 17, 6, 1485, 834, 21543, 15, 26, 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, 1334, 834, 4350, 6, 2847, 17161, 599, 1935, 61, 21680, 5435, 6157, 332, 536, 3, 15355, 3162, 4356, 6157, 332, 357, 9191, 332, 5411, 10628, 63, 834, 196, 26, 3274, 332, 4416, 308, 23, 20066, 350, 4630, 6880, 272, 476...
what is the number of total gold medals awarded ?
CREATE TABLE table_203_548 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT SUM("gold") FROM table_203_548
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 755, 3707, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 29, 257, 121, 1499, 6, 96, 14910, 121, 381, 6, 96, 7, 173, 624, 121, 381, 6, 96, 13711, 776, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 14910, 8512, 21680, 953, 834, 23330, 834, 755, 3707, 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...
Who is the republican Jon Huntsman that was administered June 19, 2008?
CREATE TABLE table_name_76 (republican VARCHAR, dates_administered VARCHAR)
SELECT republican AS :_jon_huntsman FROM table_name_76 WHERE dates_administered = "june 19, 2008"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 60, 15727, 152, 584, 4280, 28027, 6, 5128, 834, 9, 26, 17791, 15, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 20237, 152, 817...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20237, 152, 6157, 3, 10, 834, 15429, 834, 24963, 7, 348, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 5128, 834, 9, 26, 17791, 15, 26, 3274, 96, 6959, 15, 12370, 2628, 121, 1, -100, -100, -100, -100, -100, -...
What team was the opponent with a record of 5 0?
CREATE TABLE table_8167 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Game site" text )
SELECT "Opponent" FROM table_8167 WHERE "Record" = '5–0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4959, 3708, 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, 1649, 7621, 121, 1499, 6, 96, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 4959, 3708, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 755, 104, 632, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What are the statuses of the districts whose successor is Wiltshire?
CREATE TABLE table_2801185_2 ( status VARCHAR, successor VARCHAR )
SELECT status FROM table_2801185_2 WHERE successor = "Wiltshire"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17518, 2596, 4433, 834, 357, 41, 2637, 584, 4280, 28027, 6, 22261, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 2637, 15, 7, 13, 8, 14126, 3, 2544, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2637, 21680, 953, 834, 17518, 2596, 4433, 834, 357, 549, 17444, 427, 22261, 3274, 96, 518, 173, 17, 5718, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
how many total movies did m.s. viswanathan do the music for ?
CREATE TABLE table_203_204 ( id number, "year" number, "film" text, "language" text, "actors" text, "music" text, "banner" text, "note" text )
SELECT COUNT("film") FROM table_203_204 WHERE "music" = 'm. s. viswanathan'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 26363, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 9988, 121, 1499, 6, 96, 24925, 121, 1499, 6, 96, 9, 5317, 7, 121, 1499, 6, 96, 22170, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 9988, 8512, 21680, 953, 834, 23330, 834, 26363, 549, 17444, 427, 96, 22170, 121, 3274, 3, 31, 51, 5, 3, 7, 5, 4642, 3877, 9, 6736, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the name where the license number is PL 22?
CREATE TABLE table_name_7 ( name__year_commissioned_ VARCHAR, licence_number VARCHAR )
SELECT name__year_commissioned_ FROM table_name_7 WHERE licence_number = "pl 22"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 564, 834, 834, 1201, 834, 17183, 834, 584, 4280, 28027, 6, 11629, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 834, 834, 1201, 834, 17183, 834, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 11629, 834, 5525, 1152, 3274, 96, 102, 40, 1630, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the number of draws when the Elche CF club played 38 and had a goal difference of -16?
CREATE TABLE table_name_86 (draws INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR)
SELECT MIN(draws) FROM table_name_86 WHERE goal_difference > -16 AND club = "elche cf" AND played > 38
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 19489, 7, 3, 21342, 17966, 6, 1944, 584, 4280, 28027, 6, 1288, 834, 26, 99, 11788, 584, 4280, 28027, 6, 1886, 584, 4280, 28027, 61, 3, 32102, 32103, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 19489, 7, 61, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 1288, 834, 26, 99, 11788, 2490, 3, 10892, 3430, 1886, 3274, 96, 15, 40, 1033, 3, 75, 89, 121, 3430, 1944, 2490, 6654, 1, -100, -100, ...
What is the fewest gold medals when the bronze medals is greater than 5?
CREATE TABLE table_name_49 ( gold INTEGER, bronze INTEGER )
SELECT MIN(gold) FROM table_name_49 WHERE bronze > 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 2045, 3, 21342, 17966, 6, 13467, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 360, 222, 2045, 9365, 7, 116, 8, 13467, 9365, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 14910, 61, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 13467, 2490, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who directs before 1948 with linda darnell, titled blood and sand?
CREATE TABLE table_name_55 ( director VARCHAR, title VARCHAR, year VARCHAR, leading_lady VARCHAR )
SELECT director FROM table_name_55 WHERE year < 1948 AND leading_lady = "linda darnell" AND title = "blood and sand"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 2090, 584, 4280, 28027, 6, 2233, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 1374, 834, 521, 26, 63, 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, 2090, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 215, 3, 2, 21474, 3430, 1374, 834, 521, 26, 63, 3274, 96, 9230, 9, 649, 10361, 121, 3430, 2233, 3274, 96, 27798, 11, 3, 7, 232, 121, 1, -100, -100, -100, ...
What is the date that has a winning score of 67-70-68-67=272?
CREATE TABLE table_name_84 (date VARCHAR, winning_score VARCHAR)
SELECT date FROM table_name_84 WHERE winning_score = 67 - 70 - 68 - 67 = 272
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 5522, 584, 4280, 28027, 6, 3447, 834, 7, 9022, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 833, 24, 65, 3, 9, 3447, 2604, 13, 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, 833, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 3447, 834, 7, 9022, 3274, 3, 3708, 3, 18, 2861, 3, 18, 3, 3651, 3, 18, 3, 3708, 3274, 2307, 357, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Show the card type codes and the number of transactions in a pie chart.
CREATE TABLE Customers_Cards ( card_id INTEGER, customer_id INTEGER, card_type_code VARCHAR(15), card_number VARCHAR(80), date_valid_from DATETIME, date_valid_to DATETIME, other_card_details VARCHAR(255) ) CREATE TABLE Financial_Transactions ( transaction_id INTEGER, previous_transaction_id INTEGER, account_id INTEGER, card_id INTEGER, transaction_type VARCHAR(15), transaction_date DATETIME, transaction_amount DOUBLE, transaction_comment VARCHAR(255), other_transaction_details VARCHAR(255) ) CREATE TABLE Customers ( customer_id INTEGER, customer_first_name VARCHAR(20), customer_last_name VARCHAR(20), customer_address VARCHAR(255), customer_phone VARCHAR(255), customer_email VARCHAR(255), other_customer_details VARCHAR(255) ) CREATE TABLE Accounts ( account_id INTEGER, customer_id INTEGER, account_name VARCHAR(50), other_account_details VARCHAR(255) )
SELECT card_type_code, COUNT(*) FROM Financial_Transactions AS T1 JOIN Customers_Cards AS T2 ON T1.card_id = T2.card_id GROUP BY T2.card_type_code
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 16423, 834, 6936, 26, 7, 41, 895, 834, 23, 26, 3, 21342, 17966, 6, 884, 834, 23, 26, 3, 21342, 17966, 6, 895, 834, 6137, 834, 4978, 584, 4280, 28027, 599, 1808, 201, 895, 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...
[ 3, 23143, 14196, 895, 834, 6137, 834, 4978, 6, 2847, 17161, 599, 1935, 61, 21680, 5421, 834, 18474, 4787, 7, 6157, 332, 536, 3, 15355, 3162, 16423, 834, 6936, 26, 7, 6157, 332, 357, 9191, 332, 5411, 6043, 834, 23, 26, 3274, 332, 4...
How many conflicts started in Afghanistan?
CREATE TABLE table_22892 ( "Start of conflict" real, "End of conflict" text, "Conflict" text, "Continent" text, "Location" text, "Branches involved" text )
SELECT COUNT("Start of conflict") FROM table_22892 WHERE "Location" = 'Afghanistan'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 3914, 357, 41, 96, 7681, 17, 13, 4129, 121, 490, 6, 96, 8532, 26, 13, 4129, 121, 1499, 6, 96, 4302, 89, 2176, 17, 121, 1499, 6, 96, 16798, 295, 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, 2847, 17161, 599, 121, 7681, 17, 13, 4129, 8512, 21680, 953, 834, 2884, 3914, 357, 549, 17444, 427, 96, 434, 32, 75, 257, 121, 3274, 3, 31, 188, 89, 22637, 343, 152, 31, 1, -100, -100, -100, -100, -100, -100, -100...
What is the lowest number of series?
CREATE TABLE table_72727 ( "Series #" real, "Season #" real, "Title" text, "Directed by:" text, "Written by:" text, "Original air date" text )
SELECT MIN("Series #") FROM table_72727
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2555, 2555, 41, 96, 12106, 7, 1713, 121, 490, 6, 96, 134, 15, 9, 739, 1713, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 10, 121, 1499, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 12106, 7, 1713, 8512, 21680, 953, 834, 940, 2555, 2555, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What year was the position 6/13?
CREATE TABLE table_name_75 ( year VARCHAR, position VARCHAR )
SELECT year FROM table_name_75 WHERE position = "6/13"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 215, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 47, 8, 1102, 431, 87, 2368, 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, 215, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 1102, 3274, 96, 948, 87, 2368, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the title of the episode directed by Linda Mendoza?
CREATE TABLE table_25548505_1 (title VARCHAR, directed_by VARCHAR)
SELECT title FROM table_25548505_1 WHERE directed_by = "Linda Mendoza"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 5062, 4433, 3076, 834, 536, 41, 21869, 584, 4280, 28027, 6, 6640, 834, 969, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2233, 13, 8, 5640, 6640, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2233, 21680, 953, 834, 1828, 5062, 4433, 3076, 834, 536, 549, 17444, 427, 6640, 834, 969, 3274, 96, 434, 77, 26, 9, 3137, 26, 13277, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the sum of Total, when Silver is greater than 1, when Nation is Germany (GER), and when Gold is less than 1?
CREATE TABLE table_name_87 ( total INTEGER, gold VARCHAR, silver VARCHAR, nation VARCHAR )
SELECT SUM(total) FROM table_name_87 WHERE silver > 1 AND nation = "germany (ger)" AND gold < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 792, 3, 21342, 17966, 6, 2045, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 6, 2982, 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, 180, 6122, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 4294, 2490, 209, 3430, 2982, 3274, 96, 1304, 348, 63, 41, 1304, 61, 121, 3430, 2045, 3, 2, 209, 1, -100, -100, -100, -100, -100, -1...
Which show as previously on The Family Channel?
CREATE TABLE table_169766_13 ( show VARCHAR, previous_network VARCHAR )
SELECT show FROM table_169766_13 WHERE previous_network = "The Family Channel"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 4327, 3539, 834, 2368, 41, 504, 584, 4280, 28027, 6, 1767, 834, 1582, 1981, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 504, 38, 3150, 30, 37, 3712, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 504, 21680, 953, 834, 2938, 4327, 3539, 834, 2368, 549, 17444, 427, 1767, 834, 1582, 1981, 3274, 96, 634, 3712, 9916, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What's the percentage of the immigrants in 2007 in the country with 14.1% of the immigrants in 2006?
CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2007 VARCHAR, _percentage_of_all_immigrants_2006 VARCHAR)
SELECT _percentage_of_all_immigrants_2007 FROM table_23619212_1 WHERE _percentage_of_all_immigrants_2006 = "14.1%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3420, 19978, 2122, 834, 536, 41, 834, 883, 3728, 545, 834, 858, 834, 1748, 834, 603, 12549, 17, 7, 834, 20615, 584, 4280, 28027, 6, 3, 834, 883, 3728, 545, 834, 858, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 834, 883, 3728, 545, 834, 858, 834, 1748, 834, 603, 12549, 17, 7, 834, 20615, 21680, 953, 834, 357, 3420, 19978, 2122, 834, 536, 549, 17444, 427, 3, 834, 883, 3728, 545, 834, 858, 834, 1748, 834, 603, 12549, 17...
18 _ 75 years of age
CREATE TABLE table_train_229 ( "id" int, "hemoglobin_a1c_hba1c" float, "active_metabolic" bool, "body_weight" float, "hba1c" float, "age" float, "NOUSE" float )
SELECT * FROM table_train_229 WHERE age >= 18 AND age <= 75
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 357, 3166, 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, 6645, 834, 27787, 447...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 357, 3166, 549, 17444, 427, 1246, 2490, 2423, 507, 3430, 1246, 3, 2, 2423, 6374, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Can you tell me the Third runner-up that has the Year of 1969?
CREATE TABLE table_name_80 (third_runner_up VARCHAR, year VARCHAR)
SELECT third_runner_up FROM table_name_80 WHERE year = 1969
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 14965, 834, 10806, 834, 413, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 1072, 25, 817, 140, 8, 9879, 3, 10806, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1025, 834, 10806, 834, 413, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 215, 3274, 17185, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Label-Nr has a Year smaller than 1968, and a Label of world pacific, and an album of chile con soul?
CREATE TABLE table_name_78 ( label VARCHAR, Nr VARCHAR, from_album VARCHAR, year VARCHAR )
SELECT label - Nr FROM table_name_78 WHERE year < 1968 AND label = "world pacific" AND from_album = "chile con soul"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 3783, 584, 4280, 28027, 6, 16750, 584, 4280, 28027, 6, 45, 834, 23703, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3783, 3, 18, 16750, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 215, 3, 2, 16506, 3430, 3783, 3274, 96, 7276, 3, 5379, 3286, 121, 3430, 45, 834, 23703, 3274, 96, 1436, 109, 975, 3668, 121, 1, -100, -100, -1...
Which circuit did Raymond Mays win?
CREATE TABLE table_32131 ( "Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Winning constructor" text, "Report" text )
SELECT "Circuit" FROM table_32131 WHERE "Winning driver" = 'raymond mays'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2668, 22048, 41, 96, 23954, 121, 1499, 6, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 518, 10503, 2535, 121, 1499, 6, 96, 518, 10503, 6774, 127,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 23, 52, 21560, 121, 21680, 953, 834, 2668, 22048, 549, 17444, 427, 96, 518, 10503, 2535, 121, 3274, 3, 31, 2866, 6764, 164, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Home team that has a Tie no of 20?
CREATE TABLE table_name_74 ( home_team VARCHAR, tie_no VARCHAR )
SELECT home_team FROM table_name_74 WHERE tie_no = "20"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 234, 834, 11650, 584, 4280, 28027, 6, 6177, 834, 29, 32, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1210, 372, 24, 65, 3, 9, 2262, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 6177, 834, 29, 32, 3274, 96, 1755, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which play had a base of Aosta?
CREATE TABLE table_name_96 (play VARCHAR, base VARCHAR)
SELECT play FROM table_name_96 WHERE base = "aosta"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 4895, 584, 4280, 28027, 6, 1247, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 577, 141, 3, 9, 1247, 13, 71, 3481, 9, 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, 577, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 1247, 3274, 96, 9, 3481, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the lowest total that has a rank less than 8, a silver greater than 6, and 20 as the bronze?
CREATE TABLE table_63026 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT MIN("Total") FROM table_63026 WHERE "Rank" < '8' AND "Silver" > '6' AND "Bronze" = '20'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26106, 2688, 41, 96, 22557, 121, 490, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, 3696, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3696, 1947, 8512, 21680, 953, 834, 26106, 2688, 549, 17444, 427, 96, 22557, 121, 3, 2, 3, 31, 927, 31, 3430, 96, 134, 173, 624, 121, 2490, 3, 31, 948, 31, 3430, 96, 22780, 29, 776, 121, 3274,...
What is the lowest number of households for the entry with a median income of $41,778 and a population greater than 38,319?
CREATE TABLE table_name_77 ( number_of_households INTEGER, median_family_income VARCHAR, population VARCHAR )
SELECT MIN(number_of_households) FROM table_name_77 WHERE median_family_income = "$41,778" AND population > 38 OFFSET 319
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 381, 834, 858, 834, 1840, 6134, 7, 3, 21342, 17966, 6, 15572, 834, 15474, 834, 15759, 584, 4280, 28027, 6, 2074, 584, 4280, 28027, 3, 61, 3, 32102, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 5525, 1152, 834, 858, 834, 1840, 6134, 7, 61, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 15572, 834, 15474, 834, 15759, 3274, 96, 3229, 4853, 6, 940, 3940, 121, 3430, 2074, 2490, 6654, 3, 1531...
Count the sum of Pop (2004) which has a Governorate of al mahrah with an Area km smaller than 78,073?
CREATE TABLE table_name_15 ( pop__2004_ INTEGER, governorate VARCHAR, area_km² VARCHAR )
SELECT SUM(pop__2004_) FROM table_name_15 WHERE governorate = "al mahrah" AND area_km² < 78 OFFSET 073
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 2783, 834, 834, 21653, 834, 3, 21342, 17966, 6, 13062, 342, 584, 4280, 28027, 6, 616, 834, 5848, 357, 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, 180, 6122, 599, 9791, 834, 834, 21653, 834, 61, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 13062, 342, 3274, 96, 138, 954, 107, 52, 9, 107, 121, 3430, 616, 834, 5848, 357, 3, 2, 3, 3940, 3, 15316, 20788, ...
What is the total rank of the celebrity with a 34.66 average and a season greater than 1?
CREATE TABLE table_name_39 (rank VARCHAR, average VARCHAR, season VARCHAR)
SELECT COUNT(rank) FROM table_name_39 WHERE average = 34.66 AND season > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 6254, 584, 4280, 28027, 6, 1348, 584, 4280, 28027, 6, 774, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 11003, 13, 8, 17086, 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, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 6254, 61, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 1348, 3274, 6154, 5, 3539, 3430, 774, 2490, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the lowest altitude of the flight with a mach bigger than 0.905 and a duration of 00:06:17?
CREATE TABLE table_name_80 ( altitude__ft_ INTEGER, mach VARCHAR, duration VARCHAR )
SELECT MIN(altitude__ft_) FROM table_name_80 WHERE mach > 0.905 AND duration = "00:06:17"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 491, 6592, 834, 834, 89, 17, 834, 3, 21342, 17966, 6, 3, 8276, 584, 4280, 28027, 6, 8659, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 138, 6592, 834, 834, 89, 17, 834, 61, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 3, 8276, 2490, 3, 23758, 3076, 3430, 8659, 3274, 96, 1206, 10, 5176, 10, 2517, 121, 1, -100, -100, -100, -100...
show the number of female patients diagnosed for hypertension but not coronary artery disease/ cardiac cath.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.diagnosis = "HYPERTENSION;RULE OUT CORONARY ARTERY DISEASE\CARDIAC CATH"
[ 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, 122, 3868, 3274, 96, 371, 121, 3430, 14798, 5, 25930, 4844, 159, 3274, 96, 15761, 8742, 17779, 134...
Give me the comparison about ID over the meter_700 .
CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text ) CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text )
SELECT meter_700, ID FROM swimmer
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1368, 41, 4699, 16, 17, 6, 3, 20119, 1499, 6, 27813, 935, 834, 4309, 16, 17, 6, 8042, 834, 4309, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 27424, 41, 4699...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 4401, 834, 9295, 6, 4699, 21680, 27424, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which country has the Highest mountain of rettlkirchspitze?
CREATE TABLE table_name_68 (country VARCHAR, highest_mountain VARCHAR)
SELECT country FROM table_name_68 WHERE highest_mountain = "rettlkirchspitze"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 17529, 584, 4280, 28027, 6, 2030, 834, 11231, 9, 77, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 684, 65, 8, 1592, 222, 4180, 13, 3, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 2030, 834, 11231, 9, 77, 3274, 96, 60, 17, 17, 40, 18413, 524, 27933, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the tournament that was on july 6, 1987?
CREATE TABLE table_name_55 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_55 WHERE date = "july 6, 1987"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 17, 1211, 20205, 17, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 5892, 24, 47, 30, 3, 2047, 120, 8580, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5892, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 833, 3274, 96, 2047, 120, 8580, 12701, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the average rating % for shandong satellite tv and share % less than 1.74
CREATE TABLE table_name_13 (rating___percentage_ INTEGER, channel VARCHAR, share___percentage_ VARCHAR)
SELECT AVG(rating___percentage_) FROM table_name_13 WHERE channel = "shandong satellite tv" AND share___percentage_ < 1.74
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 52, 1014, 834, 834, 834, 883, 3728, 545, 834, 3, 21342, 17966, 6, 4245, 584, 4280, 28027, 6, 698, 834, 834, 834, 883, 3728, 545, 834, 584, 4280, 28027,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 52, 1014, 834, 834, 834, 883, 3728, 545, 834, 61, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 4245, 3274, 96, 7, 2894, 2444, 7605, 3, 17, 208, 121, 3430, 698, 834, 834, 834, 883, 3728, 545, ...
Who was the opponent in Game 44?
CREATE TABLE table_46153 ( "Game" text, "Date" text, "Opponent" text, "Score" text, "Location/Attendance" text, "Record" text )
SELECT "Opponent" FROM table_46153 WHERE "Game" = '44'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4448, 27025, 41, 96, 23055, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 75, 257, 87, 188, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 4448, 27025, 549, 17444, 427, 96, 23055, 121, 3274, 3, 31, 3628, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many player with nhl team being vancouver canucks
CREATE TABLE table_1473672_9 ( player VARCHAR, nhl_team VARCHAR )
SELECT COUNT(player) FROM table_1473672_9 WHERE nhl_team = "Vancouver Canucks"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24719, 3420, 5865, 834, 1298, 41, 1959, 584, 4280, 28027, 6, 3, 29, 107, 40, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 149, 186, 1959, 28, 3, 29, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 20846, 61, 21680, 953, 834, 24719, 3420, 5865, 834, 1298, 549, 17444, 427, 3, 29, 107, 40, 834, 11650, 3274, 96, 553, 152, 3422, 624, 1072, 4636, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100...
What is the average number played of the team with 1 drawn and 24 against?
CREATE TABLE table_name_79 ( played INTEGER, drawn VARCHAR, against VARCHAR )
SELECT AVG(played) FROM table_name_79 WHERE drawn = 1 AND against = 24
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 1944, 3, 21342, 17966, 6, 6796, 584, 4280, 28027, 6, 581, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 381, 1944, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 4895, 15, 26, 61, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 6796, 3274, 209, 3430, 581, 3274, 997, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For all employees who have the letters D or S in their first name, return a bar chart about the distribution of hire_date and the sum of salary bin hire_date by time.
CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE 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 varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) )
SELECT HIRE_DATE, SUM(SALARY) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6266, 41, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 11116, 632, 201, 4083, 517, 9215, 834, 567, 17683, 3, 4331, 4059, 599, 1828, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 180, 6122, 599, 134, 4090, 24721, 61, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 145...
what's the team where date is february 8
CREATE TABLE table_17353 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Team" FROM table_17353 WHERE "Date" = 'February 8'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 2469, 519, 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, 18699, 121, 21680, 953, 834, 2517, 2469, 519, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 31122, 505, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
WHAT IS THE TOTAL AVERAGE WITH A PLACE SMALLER THAN 1?
CREATE TABLE table_name_53 ( average VARCHAR, place INTEGER )
SELECT COUNT(average) FROM table_name_53 WHERE place < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 1348, 584, 4280, 28027, 6, 286, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 21665, 6827, 1853, 3001, 16359, 71, 16174, 11187, 11951, 71, 17501, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 28951, 61, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 286, 3, 2, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Find the names and publication dates of all catalogs that have catalog level number greater than 5 Bin publication dates into Year interval, and count catalog and group by catalog name, order the number of date of publication from low to high order.
CREATE TABLE Catalogs ( catalog_id INTEGER, catalog_name VARCHAR(50), catalog_publisher VARCHAR(80), date_of_publication DATETIME, date_of_latest_revision DATETIME ) CREATE TABLE Catalog_Structure ( catalog_level_number INTEGER, catalog_id INTEGER, catalog_level_name VARCHAR(50) ) CREATE TABLE Attribute_Definitions ( attribute_id INTEGER, attribute_name VARCHAR(30), attribute_data_type VARCHAR(10) ) CREATE TABLE Catalog_Contents ( catalog_entry_id INTEGER, catalog_level_number INTEGER, parent_entry_id INTEGER, previous_entry_id INTEGER, next_entry_id INTEGER, catalog_entry_name VARCHAR(80), product_stock_number VARCHAR(50), price_in_dollars DOUBLE, price_in_euros DOUBLE, price_in_pounds DOUBLE, capacity VARCHAR(20), length VARCHAR(20), height VARCHAR(20), width VARCHAR(20) ) CREATE TABLE Catalog_Contents_Additional_Attributes ( catalog_entry_id INTEGER, catalog_level_number INTEGER, attribute_id INTEGER, attribute_value VARCHAR(255) )
SELECT date_of_publication, COUNT(date_of_publication) FROM Catalogs AS t1 JOIN Catalog_Structure AS t2 ON t1.catalog_id = t2.catalog_id WHERE catalog_level_number > 5 GROUP BY catalog_name ORDER BY COUNT(date_of_publication)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 22424, 7, 41, 10173, 834, 23, 26, 3, 21342, 17966, 6, 10173, 834, 4350, 584, 4280, 28027, 599, 1752, 201, 10173, 834, 29337, 49, 584, 4280, 28027, 599, 2079, 201, 833, 834, 858, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 833, 834, 858, 834, 15727, 257, 6, 2847, 17161, 599, 5522, 834, 858, 834, 15727, 257, 61, 21680, 22424, 7, 6157, 3, 17, 536, 3, 15355, 3162, 22424, 834, 134, 17, 11783, 2693, 6157, 3, 17, 357, 9191, 3, 17, 5411, ...
Find the number of students whose age is younger than the average age and group by students' first name in a bar chart, could you show in descending by the y axis?
CREATE TABLE Lives_in ( stuid INTEGER, dormid INTEGER, room_number INTEGER ) CREATE TABLE Has_amenity ( dormid INTEGER, amenid INTEGER ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Dorm_amenity ( amenid INTEGER, amenity_name VARCHAR(25) ) CREATE TABLE Dorm ( dormid INTEGER, dorm_name VARCHAR(20), student_capacity INTEGER, gender VARCHAR(1) )
SELECT Fname, COUNT(Fname) FROM Student WHERE Age < (SELECT AVG(Age) FROM Student) GROUP BY Fname ORDER BY COUNT(Fname) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3306, 7, 834, 77, 41, 21341, 23, 26, 3, 21342, 17966, 6, 103, 52, 6983, 3, 21342, 17966, 6, 562, 834, 5525, 1152, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 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, 377, 4350, 6, 2847, 17161, 599, 371, 4350, 61, 21680, 6341, 549, 17444, 427, 7526, 3, 2, 41, 23143, 14196, 71, 17217, 599, 188, 397, 61, 21680, 6341, 61, 350, 4630, 6880, 272, 476, 377, 4350, 4674, 11300, 272, 476, ...
What mission did the astronaut who 38 years old on the mission and who served in NASA serve on?
CREATE TABLE table_name_70 (mission VARCHAR, service VARCHAR, age_on_mission VARCHAR)
SELECT mission FROM table_name_70 WHERE service = "nasa" AND age_on_mission = 38
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 5451, 584, 4280, 28027, 6, 313, 584, 4280, 28027, 6, 1246, 834, 106, 834, 5451, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 2253, 410, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2253, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 313, 3274, 96, 29, 9, 7, 9, 121, 3430, 1246, 834, 106, 834, 5451, 3274, 6654, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...