NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What are the total and average enrollment of all schools?
CREATE TABLE school (enrollment INTEGER)
SELECT SUM(enrollment), AVG(enrollment) FROM school
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 496, 41, 35, 4046, 297, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 792, 11, 1348, 17938, 13, 66, 2061, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 35, 4046, 297, 201, 71, 17217, 599, 35, 4046, 297, 61, 21680, 496, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
how many different species were released in 1971 ?
CREATE TABLE table_204_869 ( id number, "species" text, "country of origin" text, "total released" number, "first release" text, "last release" text, "areas of release" text, "areas established" text, "pasture type" text )
SELECT COUNT(DISTINCT "species") FROM table_204_869 WHERE "first release" = 1971
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 927, 3951, 41, 3, 23, 26, 381, 6, 96, 7576, 725, 121, 1499, 6, 96, 17529, 13, 5233, 121, 1499, 6, 96, 235, 1947, 1883, 121, 381, 6, 96, 14672, 1576, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 96, 7576, 725, 8512, 21680, 953, 834, 26363, 834, 927, 3951, 549, 17444, 427, 96, 14672, 1576, 121, 3274, 17961, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the result of the Competition of friendly?
CREATE TABLE table_name_61 (result VARCHAR, competition VARCHAR)
SELECT result FROM table_name_61 WHERE competition = "friendly"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 741, 13, 8, 15571, 13, 2609, 58, 1, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 2259, 3274, 96, 4905, 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 is the final result of the team that has Simara as No.5?
CREATE TABLE table_name_11 ( final VARCHAR, no5 VARCHAR )
SELECT final FROM table_name_11 WHERE no5 = "simara"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 804, 584, 4280, 28027, 6, 150, 755, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 804, 741, 13, 8, 372, 24, 65, 6619, 2551, 38,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 804, 21680, 953, 834, 4350, 834, 2596, 549, 17444, 427, 150, 755, 3274, 96, 7, 603, 2551, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the opened for spain
CREATE TABLE table_name_59 (opened VARCHAR, country VARCHAR)
SELECT opened FROM table_name_59 WHERE country = "spain"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 26940, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 2946, 21, 4174, 77, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2946, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 684, 3274, 96, 14147, 77, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many patients with inpatient hospital admission location have pneumonia human immunodeficiency virus but not tuberculosis as their primary disease?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE 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 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 WHERE demographic.admission_location = "TRANSFER FROM HOSP/EXTRAM" AND demographic.diagnosis = "PNEUMONIA;HUMAN IMMUNODEFIENCY VIRUS;RULE OUT TUBERCULOSIS"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 9, 26, 5451, 834, 14836, 3274, 96, 11359, 7369, 20805, 21680, 3, 6299, 4274, 87, 427, 4, 11359, ...
Show me distance by name in a histogram, and list from low to high by the Y please.
CREATE TABLE employee ( eid number(9,0), name varchar2(30), salary number(10,2) ) CREATE TABLE flight ( flno number(4,0), origin varchar2(20), destination varchar2(20), distance number(6,0), departure_date date, arrival_date date, price number(7,2), aid number(9,0) ) CREATE TABLE certificate ( eid number(9,0), aid number(9,0) ) CREATE TABLE aircraft ( aid number(9,0), name varchar2(30), distance number(6,0) )
SELECT name, distance FROM aircraft ORDER BY distance
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3490, 41, 3, 15, 23, 26, 381, 599, 1298, 6, 632, 201, 564, 3, 4331, 4059, 357, 599, 1458, 201, 9090, 381, 599, 1714, 6, 7318, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 564, 6, 2357, 21680, 6442, 4674, 11300, 272, 476, 2357, 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...
What was the date of game 21?
CREATE TABLE table_name_85 (date VARCHAR, game VARCHAR)
SELECT date FROM table_name_85 WHERE game = 21
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 5522, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 833, 13, 467, 1401, 58, 1, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 467, 3274, 1401, 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,...
A bar chart for what are the number of the first names of all students in Smith Hall?, and rank by the total number in desc.
CREATE TABLE Lives_in ( stuid INTEGER, dormid INTEGER, room_number INTEGER ) 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) ) 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 Has_amenity ( dormid INTEGER, amenid INTEGER )
SELECT Fname, COUNT(Fname) FROM Student AS T1 JOIN Lives_in AS T2 ON T1.stuid = T2.stuid JOIN Dorm AS T3 ON T3.dormid = T2.dormid WHERE T3.dorm_name = 'Smith Hall' 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, 6157, 332, 536, 3, 15355, 3162, 3306, 7, 834, 77, 6157, 332, 357, 9191, 332, 5411, 7, 17, 76, 23, 26, 3274, 332, 4416, 7, 17, 76, 23, 26, 3, 15355, 3...
what is the outcome on april 24, 1988?
CREATE TABLE table_13672 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text )
SELECT "Outcome" FROM table_13672 WHERE "Date" = 'april 24, 1988'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23459, 5865, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 667, 102, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15767, 287, 15, 121, 21680, 953, 834, 23459, 5865, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 9, 2246, 40, 14320, 10414, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
which is the only pillow pal without a listed animal type ?
CREATE TABLE table_204_111 ( id number, "name" text, "animal type" text, "introduced" number, "reintroduced" text, "retired" number, "beanie baby resembled" text )
SELECT "name" FROM table_204_111 WHERE "animal type" IS NULL
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 15866, 41, 3, 23, 26, 381, 6, 96, 4350, 121, 1499, 6, 96, 13607, 138, 686, 121, 1499, 6, 96, 20322, 32, 12160, 26, 121, 381, 6, 96, 60, 20322, 32, 12160, 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...
[ 3, 23143, 14196, 96, 4350, 121, 21680, 953, 834, 26363, 834, 15866, 549, 17444, 427, 96, 13607, 138, 686, 121, 6827, 13046, 10376, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the engine with chassis of maserati 250f and entrant of luigi piotti with year less than 1957
CREATE TABLE table_name_8 (engine VARCHAR, year VARCHAR, chassis VARCHAR, entrant VARCHAR)
SELECT engine FROM table_name_8 WHERE chassis = "maserati 250f" AND entrant = "luigi piotti" AND year < 1957
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 20165, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 22836, 584, 4280, 28027, 6, 3, 295, 3569, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1948, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 22836, 3274, 96, 2754, 15, 6850, 5986, 89, 121, 3430, 3, 295, 3569, 3274, 96, 2878, 122, 23, 2816, 22334, 121, 3430, 215, 3, 2, 24011, 1, -100, -100, -100, -...
What episode had sumo ball for event 3 and the wall for event 4?
CREATE TABLE table_name_45 (episode_number INTEGER, event_4 VARCHAR, event_3 VARCHAR)
SELECT AVG(episode_number) FROM table_name_45 WHERE event_4 = "the wall" AND event_3 = "sumo ball"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 15, 102, 159, 32, 221, 834, 5525, 1152, 3, 21342, 17966, 6, 605, 834, 591, 584, 4280, 28027, 6, 605, 834, 519, 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, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 15, 102, 159, 32, 221, 834, 5525, 1152, 61, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 605, 834, 591, 3274, 96, 532, 1481, 121, 3430, 605, 834, 519, 3274, 96, 4078, 32, 1996, 121, 1, -100, ...
What is the lowest 1971 number of the Macedonian population with a 2002 value greater than 133 and a 1991 value less than 171?
CREATE TABLE table_45668 ( "Macedonian population in Vojvodina" text, "1961" real, "Number 1971" real, "1981" real, "1991" real, "2002" real )
SELECT MIN("Number 1971") FROM table_45668 WHERE "2002" > '133' AND "1991" < '171'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 3539, 927, 41, 96, 17772, 15, 26, 8008, 29, 2074, 16, 3152, 354, 1621, 2644, 9, 121, 1499, 6, 96, 2294, 4241, 121, 490, 6, 96, 567, 5937, 49, 17961, 121, 490, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 567, 5937, 49, 17961, 8512, 21680, 953, 834, 2128, 3539, 927, 549, 17444, 427, 96, 24898, 121, 2490, 3, 31, 22974, 31, 3430, 96, 2294, 4729, 121, 3, 2, 3, 31, 2517, 536, 31, 1, -100, -100, -1...
What is the average rating star for each reviewer.
CREATE TABLE Rating ( rID int, mID int, stars int, ratingDate date ) CREATE TABLE Reviewer ( rID int, name text ) CREATE TABLE Movie ( mID int, title text, year int, director text )
SELECT name, AVG(T1.stars) FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID = T2.rID GROUP BY T2.name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 21662, 41, 3, 52, 4309, 16, 17, 6, 3, 51, 4309, 16, 17, 6, 4811, 16, 17, 6, 5773, 308, 342, 833, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 4543, 49, 41, 3, 52...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 564, 6, 71, 17217, 599, 382, 5411, 3624, 7, 61, 21680, 21662, 6157, 332, 536, 3, 15355, 3162, 4543, 49, 6157, 332, 357, 9191, 332, 5411, 52, 4309, 3274, 332, 4416, 52, 4309, 350, 4630, 6880, 272, 476, 332, 4416, 4...
Who were the semifinalists when the runner-up was Peter Feigl?
CREATE TABLE table_31102 ( "Week of" text, "Tournament" text, "Champion" text, "Runner-up" text, "Semifinalists" text, "Quarterfinalists" text )
SELECT "Semifinalists" FROM table_31102 WHERE "Runner-up" = 'Peter Feigl'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3341, 14388, 41, 96, 518, 10266, 13, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 254, 1483, 12364, 121, 1499, 6, 96, 23572, 18, 413, 121, 1499, 6, 96, 134, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 15, 51, 23, 28077, 121, 21680, 953, 834, 3341, 14388, 549, 17444, 427, 96, 23572, 18, 413, 121, 3274, 3, 31, 345, 15, 449, 4163, 23, 122, 40, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, return a bar chart about the distribution of job_id and the average of department_id , and group by attribute job_id, rank by the total number from low to high.
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) ) 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) )
SELECT JOB_ID, AVG(DEPARTMENT_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY AVG(DEPARTMENT_ID)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 613, 834, 10193, 10972, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 5097, 8241, 834, 308, 6048, 833, 6, 3, 14920, 834, 308, 6048, 833, 6, 446, 10539, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 71, 17217, 599, 5596, 19846, 11810, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 180, 4090, 24721, 272, 7969, 518, 23394, 3, 25129, 3430, 586, 2313, 3430, 3, 6657, 329, 16994, 9215, 834, 4051...
How many people on average attend round f?
CREATE TABLE table_48496 ( "Date" text, "Round" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real )
SELECT AVG("Attendance") FROM table_48496 WHERE "Round" = 'f'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3707, 591, 4314, 41, 96, 308, 342, 121, 1499, 6, 96, 448, 32, 1106, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 20119, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 3707, 591, 4314, 549, 17444, 427, 96, 448, 32, 1106, 121, 3274, 3, 31, 89, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Give me a bar chart for how many name of each name, and could you sort by the y-axis in ascending?
CREATE TABLE train ( Train_ID int, Train_Num text, Name text, From text, Arrival text, Railway_ID int ) CREATE TABLE manager ( Manager_ID int, Name text, Country text, Working_year_starts text, Age int, Level int ) CREATE TABLE railway ( Railway_ID int, Railway text, Builder text, Built text, Wheels text, Location text, ObjectNumber text ) CREATE TABLE railway_manage ( Railway_ID int, Manager_ID int, From_Year text )
SELECT Name, COUNT(Name) FROM train GROUP BY Name ORDER BY COUNT(Name)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2412, 41, 15059, 834, 4309, 16, 17, 6, 15059, 834, 567, 440, 1499, 6, 5570, 1499, 6, 1029, 1499, 6, 20559, 138, 1499, 6, 18025, 834, 4309, 16, 17, 3, 61, 3, 32102, 32103, 32102, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 6, 2847, 17161, 599, 23954, 61, 21680, 2412, 350, 4630, 6880, 272, 476, 5570, 4674, 11300, 272, 476, 2847, 17161, 599, 23954, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Format o Catalog F4 87199?
CREATE TABLE table_name_99 (format VARCHAR, catalog VARCHAR)
SELECT format FROM table_name_99 WHERE catalog = "f4 87199"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 8995, 584, 4280, 28027, 6, 10173, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 12439, 3, 32, 22424, 377, 591, 3, 4225, 19479, 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, 1910, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 10173, 3274, 96, 89, 591, 3, 4225, 19479, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which Team has a Position of linebacker?
CREATE TABLE table_name_86 (team VARCHAR, position VARCHAR)
SELECT team FROM table_name_86 WHERE position = "linebacker"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 11650, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2271, 65, 3, 9, 14258, 13, 689, 1549, 49, 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, 372, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 1102, 3274, 96, 747, 1549, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the attendance of april 17?
CREATE TABLE table_55423 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Series" text )
SELECT SUM("Attendance") FROM table_55423 WHERE "Date" = 'april 17'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3769, 591, 2773, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 2962, 18901, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 3769, 591, 2773, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 9, 2246, 40, 1003, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
creatinine clearance < 60 and / or serum creatinine consistently > 1.5 mg / dl;
CREATE TABLE table_train_247 ( "id" int, "mini_mental_state_examination_mmse" int, "creatinine_consistently" float, "creatinine_clearance_cl" float, "seizure_disorder" bool, "age" float, "NOUSE" float )
SELECT * FROM table_train_247 WHERE creatinine_clearance_cl < 60 OR creatinine_consistently > 1.5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 357, 4177, 41, 96, 23, 26, 121, 16, 17, 6, 96, 7619, 834, 13974, 834, 5540, 834, 994, 9, 14484, 834, 635, 7, 15, 121, 16, 17, 6, 96, 5045, 144, 77, 630, 83...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9719, 834, 357, 4177, 549, 17444, 427, 8830, 77, 630, 834, 2482, 9, 5219, 834, 75, 40, 3, 2, 1640, 4674, 8830, 77, 630, 834, 8056, 7176, 17, 120, 2490, 8613, 1, -100, -100, -100, -100, -100,...
What date did the DVD for season six come out in region 2?
CREATE TABLE table_1067134_1 (region_2 VARCHAR, dvd_name VARCHAR)
SELECT region_2 FROM table_1067134_1 WHERE dvd_name = "Season Six"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 3708, 23747, 834, 536, 41, 18145, 834, 357, 584, 4280, 28027, 6, 30114, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 410, 8, 5677, 21, 774,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1719, 834, 357, 21680, 953, 834, 1714, 3708, 23747, 834, 536, 549, 17444, 427, 30114, 834, 4350, 3274, 96, 134, 15, 9, 739, 7643, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest position less than 7 that had more than 421,760 in sales for the song Don't Stop Movin'?
CREATE TABLE table_14992 ( "Position" real, "Song Title" text, "Artist" text, "Highest Position" real, "Sales" real )
SELECT MAX("Highest Position") FROM table_14992 WHERE "Sales" > '421,760' AND "Song Title" = 'don''t stop movin' AND "Position" < '7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24816, 4508, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 134, 2444, 11029, 121, 1499, 6, 96, 7754, 343, 121, 1499, 6, 96, 21417, 222, 14258, 121, 490, 6, 96, 134, 4529, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21417, 222, 14258, 8512, 21680, 953, 834, 24816, 4508, 549, 17444, 427, 96, 134, 4529, 121, 2490, 3, 31, 4165, 4347, 28212, 31, 3430, 96, 134, 2444, 11029, 121, 3274, 3, 31, 2029, 31, 31, 17, 11...
Tell me the 2nd leg for alemannia aachen
CREATE TABLE table_56562 ( "Team #1" text, "Agg." text, "Team #2" text, "1st leg" text, "2nd leg" text )
SELECT "2nd leg" FROM table_56562 WHERE "Team #1" = 'alemannia aachen'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4834, 4834, 357, 41, 96, 18699, 7172, 121, 1499, 6, 96, 188, 4102, 535, 1499, 6, 96, 18699, 15493, 121, 1499, 6, 96, 536, 7, 17, 4553, 121, 1499, 6, 96, 357, 727, 4553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 357, 727, 4553, 121, 21680, 953, 834, 4834, 4834, 357, 549, 17444, 427, 96, 18699, 7172, 121, 3274, 3, 31, 9, 109, 2434, 23, 9, 3, 9, 9, 1559, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What are all the gyms in ' Los Angeles ' ?
CREATE TABLE neighborhood ( id int, business_id varchar, neighborhood_name varchar ) CREATE TABLE business ( bid int, business_id varchar, name varchar, full_address varchar, city varchar, latitude varchar, longitude varchar, review_count bigint, is_open tinyint, rating float, state varchar ) CREATE TABLE category ( id int, business_id varchar, category_name varchar ) CREATE TABLE checkin ( cid int, business_id varchar, count int, day varchar ) CREATE TABLE tip ( tip_id int, business_id varchar, text longtext, user_id varchar, likes int, year int, month varchar ) CREATE TABLE user ( uid int, user_id varchar, name varchar ) CREATE TABLE review ( rid int, business_id varchar, user_id varchar, rating float, text longtext, year int, month varchar )
SELECT business.name FROM business, category WHERE business.city = 'Los Angeles' AND category.business_id = business.business_id AND category.category_name = 'gyms'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5353, 41, 3, 23, 26, 16, 17, 6, 268, 834, 23, 26, 3, 4331, 4059, 6, 5353, 834, 4350, 3, 4331, 4059, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 268, 41, 6894, 16,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 268, 5, 4350, 21680, 268, 6, 3295, 549, 17444, 427, 268, 5, 6726, 3274, 3, 31, 434, 32, 7, 4975, 31, 3430, 3295, 5, 16394, 834, 23, 26, 3274, 268, 5, 16394, 834, 23, 26, 3430, 3295, 5, 8367, 839, 651, 834, 435...
What is Season, when Name is Tony Boy Espinosa?
CREATE TABLE table_6875 ( "Name" text, "Position" text, "Number" real, "School/Club Team" text, "Season" text, "Acquisition via" text )
SELECT "Season" FROM table_6875 WHERE "Name" = 'tony boy espinosa'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 3072, 41, 96, 23954, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 567, 5937, 49, 121, 490, 6, 96, 29364, 87, 254, 11158, 2271, 121, 1499, 6, 96, 134, 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, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 15, 9, 739, 121, 21680, 953, 834, 3651, 3072, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 17, 106, 63, 4940, 16159, 23, 4844, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Tournament has a Score of 1 6, 0 6?
CREATE TABLE table_name_89 ( tournament VARCHAR, score VARCHAR )
SELECT tournament FROM table_name_89 WHERE score = "1–6, 0–6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3914, 41, 5892, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 20502, 65, 3, 9, 17763, 13, 209, 8580, 3, 632, 431, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5892, 21680, 953, 834, 4350, 834, 3914, 549, 17444, 427, 2604, 3274, 96, 536, 104, 11071, 3, 632, 104, 948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
In the game on or before week 9, who was the opponent when the attendance was 61,626?
CREATE TABLE table_name_49 ( opponent VARCHAR, week VARCHAR, attendance VARCHAR )
SELECT opponent FROM table_name_49 WHERE week < 9 AND attendance = "61,626"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 15264, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 86, 8, 467, 30, 42, 274, 471, 9902...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15264, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 471, 3, 2, 668, 3430, 11364, 3274, 96, 4241, 6, 948, 2688, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which type had the unit greifswald - 7 (kgr 7) ?
CREATE TABLE table_15561 ( "Unit" text, "Type" text, "Net Power" text, "Total Power" text, "Finish construction" text )
SELECT "Type" FROM table_15561 WHERE "Unit" = 'greifswald - 7 (kgr 7)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20896, 4241, 41, 96, 5110, 155, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 9688, 2621, 121, 1499, 6, 96, 3696, 1947, 2621, 121, 1499, 6, 96, 371, 77, 1273, 1449, 121, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 25160, 121, 21680, 953, 834, 20896, 4241, 549, 17444, 427, 96, 5110, 155, 121, 3274, 3, 31, 3584, 99, 7, 11611, 3, 18, 489, 41, 8711, 52, 3, 12703, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which artist created coins before 2010?
CREATE TABLE table_name_40 (artist VARCHAR, year INTEGER)
SELECT artist FROM table_name_40 WHERE year < 2010
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 1408, 343, 584, 4280, 28027, 6, 215, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 4073, 2377, 990, 10579, 274, 2735, 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, 2377, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 215, 3, 2, 2735, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What's the version of Itu g.992.3 Annex J?
CREATE TABLE table_64593 ( "Version" text, "Standard name" text, "Common name" text, "Downstream rate" text, "Upstream rate" text )
SELECT "Version" FROM table_64593 WHERE "Standard name" = 'itu g.992.3 annex j'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4389, 3390, 519, 41, 96, 5000, 1938, 121, 1499, 6, 96, 134, 17, 232, 986, 564, 121, 1499, 6, 96, 10205, 106, 564, 121, 1499, 6, 96, 308, 9197, 8103, 1080, 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, 5000, 1938, 121, 21680, 953, 834, 4389, 3390, 519, 549, 17444, 427, 96, 134, 17, 232, 986, 564, 121, 3274, 3, 31, 155, 76, 3, 122, 14990, 18561, 3, 4515, 226, 3, 354, 31, 1, -100, -100, -100, -100, -100, -10...
What is the total share with Timeslot of 8:30 p.m., anAir Date of march 27, 2008, and a Rank greater than 65?
CREATE TABLE table_name_25 ( share INTEGER, rank__overall_ VARCHAR, timeslot VARCHAR, air_date VARCHAR )
SELECT SUM(share) FROM table_name_25 WHERE timeslot = "8:30 p.m." AND air_date = "march 27, 2008" AND rank__overall_ > 65
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 698, 3, 21342, 17966, 6, 11003, 834, 834, 1890, 1748, 834, 584, 4280, 28027, 6, 648, 3171, 584, 4280, 28027, 6, 799, 834, 5522, 584, 4280, 28027, 3, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 12484, 61, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 648, 3171, 3274, 96, 927, 10, 1458, 3, 102, 5, 51, 535, 3430, 799, 834, 5522, 3274, 96, 51, 7064, 14141, 2628, 121, 3430, 11003, 834, 8...
What class is associated with 0 stages won, a hummer, and before 2009?
CREATE TABLE table_name_83 ( class VARCHAR, year VARCHAR, stages_won VARCHAR, vehicle VARCHAR )
SELECT class FROM table_name_83 WHERE stages_won = "0" AND vehicle = "hummer" AND year < 2009
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 853, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 6518, 834, 210, 106, 584, 4280, 28027, 6, 1689, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 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, 853, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 6518, 834, 210, 106, 3274, 96, 632, 121, 3430, 1689, 3274, 96, 4884, 935, 121, 3430, 215, 3, 2, 2464, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the earliest year that had a Lotus 49B chassis?
CREATE TABLE table_name_73 ( year INTEGER, chassis VARCHAR )
SELECT MIN(year) FROM table_name_73 WHERE chassis = "lotus 49b"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 215, 3, 21342, 17966, 6, 22836, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 16454, 215, 24, 141, 3, 9, 25413, 9526, 279, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 1201, 61, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 22836, 3274, 96, 3171, 302, 9526, 115, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the date of the friendly competition with a score of 4-0?
CREATE TABLE table_name_31 ( date VARCHAR, competition VARCHAR, score VARCHAR )
SELECT date FROM table_name_31 WHERE competition = "friendly" AND score = "4-0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 833, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 833, 13, 8, 2609, 2259, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 2259, 3274, 96, 4905, 121, 3430, 2604, 3274, 96, 26814, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the drug route and dose for enoxaparin sodium?
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 prescriptions.route, prescriptions.drug_dose FROM prescriptions WHERE prescriptions.drug = "Enoxaparin Sodium"
[ 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, 7744, 7, 5, 20300, 6, 7744, 7, 5, 26, 13534, 834, 12051, 21680, 7744, 7, 549, 17444, 427, 7744, 7, 5, 26, 13534, 3274, 96, 427, 19864, 9, 1893, 77, 3, 28637, 121, 1, -100, -100, -100, -100, -100, -100, -100, -10...
What is the 2005 value with a q2 in 2011, a q1 in 2012, and 1r in 2003?
CREATE TABLE table_name_48 (Id VARCHAR)
SELECT 2005 FROM table_name_48 WHERE 2011 = "q2" AND 2012 = "q1" AND 2003 = "1r"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3105, 701, 28, 3, 9, 3, 1824, 357, 16, 8558, 3, 9, 3, 1824, 536, 16, 1673...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3105, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 2722, 3274, 96, 1824, 357, 121, 3430, 1673, 3274, 96, 1824, 536, 121, 3430, 3888, 3274, 96, 536, 52, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
What June 10-11 is is that corresponds to March 28, 1968?
CREATE TABLE table_27522 ( "June 10-11" text, "March 27-29" text, "January 15-16" text, "November 3" text, "August 21-22" text )
SELECT "June 10-11" FROM table_27522 WHERE "March 27-29" = 'March 28, 1968'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25988, 2884, 41, 96, 683, 444, 335, 9169, 121, 1499, 6, 96, 25019, 2307, 18, 3166, 121, 1499, 6, 96, 30404, 627, 10892, 121, 1499, 6, 96, 28635, 220, 121, 1499, 6, 96, 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...
[ 3, 23143, 14196, 96, 683, 444, 335, 9169, 121, 21680, 953, 834, 25988, 2884, 549, 17444, 427, 96, 25019, 2307, 18, 3166, 121, 3274, 3, 31, 25019, 13719, 16506, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the latest episode in the series that had 16.17 million u.s. viewers?
CREATE TABLE table_25997153_1 ( no_in_series INTEGER, us_viewers__million_ VARCHAR )
SELECT MAX(no_in_series) FROM table_25997153_1 WHERE us_viewers__million_ = "16.17"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 3264, 4450, 4867, 834, 536, 41, 150, 834, 77, 834, 10833, 7, 3, 21342, 17966, 6, 178, 834, 4576, 277, 834, 834, 17030, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 29, 32, 834, 77, 834, 10833, 7, 61, 21680, 953, 834, 1828, 3264, 4450, 4867, 834, 536, 549, 17444, 427, 178, 834, 4576, 277, 834, 834, 17030, 834, 3274, 96, 2938, 5, 2517, 121, 1, -100, -100, -100, ...
What is the socket for Order Part Number TMDTL68HAX5DM?
CREATE TABLE table_41671 ( "Model Number" text, "Frequency" text, "L2-Cache" text, "Multiplier 1" text, "Voltage" text, "Socket" text, "Release date" text, "Order Part Number" text )
SELECT "Socket" FROM table_41671 WHERE "Order Part Number" = 'tmdtl68hax5dm'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2938, 4450, 41, 96, 24663, 7720, 121, 1499, 6, 96, 371, 60, 835, 11298, 121, 1499, 6, 96, 434, 7412, 254, 4933, 121, 1499, 6, 96, 31922, 5900, 49, 209, 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, 5231, 8849, 17, 121, 21680, 953, 834, 591, 2938, 4450, 549, 17444, 427, 96, 7395, 588, 2733, 7720, 121, 3274, 3, 31, 17, 51, 26, 17, 40, 3651, 1024, 226, 755, 26, 51, 31, 1, -100, -100, -100, -100, -100, -10...
What was the time when his opponent was Rudy Martin?
CREATE TABLE table_name_5 ( time VARCHAR, opponent VARCHAR )
SELECT time FROM table_name_5 WHERE opponent = "rudy martin"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 97, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 97, 116, 112, 15264, 47, 17806, 63, 3394, 58, 1, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 97, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 15264, 3274, 96, 17237, 63, 3157, 17, 77, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who was the Interview Subject when the 20 Questions was William H. Macy?
CREATE TABLE table_43063 ( "Date" text, "Cover model" text, "Centerfold model" text, "Interview subject" text, "20 Questions" text )
SELECT "Interview subject" FROM table_43063 WHERE "20 Questions" = 'william h. macy'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25449, 3891, 41, 96, 308, 342, 121, 1499, 6, 96, 254, 1890, 825, 121, 1499, 6, 96, 24382, 10533, 825, 121, 1499, 6, 96, 17555, 4576, 1426, 121, 1499, 6, 96, 1755, 14218, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 17555, 4576, 1426, 121, 21680, 953, 834, 25449, 3891, 549, 17444, 427, 96, 1755, 14218, 121, 3274, 3, 31, 8894, 23, 265, 3, 107, 5, 11486, 63, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the smallest number of laps marco simoncelli has with grid less than 8 and gilera as the manufacturer?
CREATE TABLE table_70551 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT MIN("Laps") FROM table_70551 WHERE "Manufacturer" = 'gilera' AND "Rider" = 'marco simoncelli' AND "Grid" < '8'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 3769, 536, 41, 96, 448, 23, 588, 121, 1499, 6, 96, 7296, 76, 8717, 450, 49, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 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, 3, 17684, 599, 121, 3612, 102, 7, 8512, 21680, 953, 834, 2518, 3769, 536, 549, 17444, 427, 96, 7296, 76, 8717, 450, 49, 121, 3274, 3, 31, 122, 173, 1498, 31, 3430, 96, 448, 23, 588, 121, 3274, 3, 31, 1635, 509, ...
What is the total points earned total number if the average is 21.3?
CREATE TABLE table_23662272_4 ( total_points_earned VARCHAR, average VARCHAR )
SELECT COUNT(total_points_earned) FROM table_23662272_4 WHERE average = "21.3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 3539, 2884, 5865, 834, 591, 41, 792, 834, 2700, 7, 834, 25461, 584, 4280, 28027, 6, 1348, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 979...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 235, 1947, 834, 2700, 7, 834, 25461, 61, 21680, 953, 834, 2773, 3539, 2884, 5865, 834, 591, 549, 17444, 427, 1348, 3274, 96, 357, 13606, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Tell me the lowest Bronze for gold of 3 in the winter for cross-country skiing and silver less than 0
CREATE TABLE table_name_56 ( bronze INTEGER, silver VARCHAR, sport VARCHAR, gold VARCHAR, games VARCHAR )
SELECT MIN(bronze) FROM table_name_56 WHERE gold = 3 AND games = "winter" AND sport = "cross-country skiing" AND silver < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 13467, 3, 21342, 17966, 6, 4294, 584, 4280, 28027, 6, 2600, 584, 4280, 28027, 6, 2045, 584, 4280, 28027, 6, 1031, 584, 4280, 28027, 3, 61, 3, 32102, 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, 13711, 776, 61, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 2045, 3274, 220, 3430, 1031, 3274, 96, 210, 3870, 121, 3430, 2600, 3274, 96, 11465, 18, 17529, 18483, 121, 3430, 4294, 3, 2, 3, 632, ...
What is the code for Latvian Lats?
CREATE TABLE table_70214 ( "Currency" text, "Code" text, "Entry ERM II" text, "Central rate" text, "Official target date" text )
SELECT "Code" FROM table_70214 WHERE "Currency" = 'latvian lats'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 27357, 41, 96, 254, 450, 52, 4392, 121, 1499, 6, 96, 22737, 121, 1499, 6, 96, 16924, 651, 262, 7336, 2466, 121, 1499, 6, 96, 30497, 1080, 121, 1499, 6, 96, 667, 89,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22737, 121, 21680, 953, 834, 2518, 27357, 549, 17444, 427, 96, 254, 450, 52, 4392, 121, 3274, 3, 31, 40, 144, 5907, 29, 50, 17, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Date at memorial stadium minneapolis, mn with an Attendance of 20,000, and a Result of w52-0?
CREATE TABLE table_name_7 ( date VARCHAR, result VARCHAR, site VARCHAR, attendance VARCHAR )
SELECT date FROM table_name_7 WHERE site = "memorial stadium • minneapolis, mn" AND attendance = "20,000" AND result = "w52-0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 833, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 6, 353, 584, 4280, 28027, 6, 11364, 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, 833, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 353, 3274, 96, 526, 51, 11929, 14939, 1697, 3, 51, 14029, 9, 15621, 6, 3, 51, 29, 121, 3430, 11364, 3274, 96, 13922, 121, 3430, 741, 3274, 96, 210, 755, 19423...
What is the result in 1985 when the career win-loss is n/a, and 0 / 23 as the career SR?
CREATE TABLE table_76604 ( "Tournament" text, "1983" text, "1984" text, "1985" text, "1986" text, "1987" text, "1988" text, "1989" text, "1990" text, "Career SR" text, "Career Win-Loss" text )
SELECT "1985" FROM table_76604 WHERE "Career Win-Loss" = 'n/a' AND "Career SR" = '0 / 23'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 3328, 591, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 2294, 4591, 121, 1499, 6, 96, 24151, 20364, 1499, 6, 96, 24151, 17395, 1499, 6, 96, 2294, 3840, 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, 24151, 17395, 21680, 953, 834, 3959, 3328, 591, 549, 17444, 427, 96, 6936, 15, 49, 4871, 18, 434, 32, 7, 7, 121, 3274, 3, 31, 29, 87, 9, 31, 3430, 96, 6936, 15, 49, 3, 6857, 121, 3274, 3, 31, 632, 3, 87,...
What is the score of Australia?
CREATE TABLE table_67164 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "Score" FROM table_67164 WHERE "Country" = 'australia'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 26987, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 3, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 3708, 26987, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 2064, 8792, 23, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
who was dabi sordo 's co driver ?
CREATE TABLE table_203_399 ( id number, "pos." text, "driver" text, "co-driver" text, "car" text, "time" text, "difference" text, "points" number )
SELECT "co-driver" FROM table_203_399 WHERE "driver" = 'dani sordo'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 519, 3264, 41, 3, 23, 26, 381, 6, 96, 2748, 535, 1499, 6, 96, 13739, 52, 121, 1499, 6, 96, 509, 18, 13739, 52, 121, 1499, 6, 96, 1720, 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, 509, 18, 13739, 52, 121, 21680, 953, 834, 23330, 834, 519, 3264, 549, 17444, 427, 96, 13739, 52, 121, 3274, 3, 31, 26, 2738, 78, 52, 26, 32, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the average year for manly-warringah sea eagles
CREATE TABLE table_name_13 ( year INTEGER, opponent VARCHAR )
SELECT AVG(year) FROM table_name_13 WHERE opponent = "manly-warringah sea eagles"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 215, 3, 21342, 17966, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1348, 215, 21, 388, 120, 18, 2910, 1007, 9, 107, 2805,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 1201, 61, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 15264, 3274, 96, 348, 120, 18, 2910, 1007, 9, 107, 2805, 3, 15, 9, 3537, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What area shows % Hindu of statistics from the bbc in depth report.?
CREATE TABLE table_name_71 ( area VARCHAR, _percentage_hindu VARCHAR )
SELECT area FROM table_name_71 WHERE _percentage_hindu = "statistics from the bbc in depth report."
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 616, 584, 4280, 28027, 6, 3, 834, 883, 3728, 545, 834, 107, 13580, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 616, 1267, 3, 1454, 185...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 616, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 3, 834, 883, 3728, 545, 834, 107, 13580, 3274, 96, 8547, 3040, 7, 45, 8, 3, 115, 115, 75, 16, 4963, 934, 535, 1, -100, -100, -100, -100, -100, -100, -100, ...
Who was the developer of Call of Duty: Black Ops?
CREATE TABLE table_name_46 ( developer_s_ VARCHAR, game VARCHAR )
SELECT developer_s_ FROM table_name_46 WHERE game = "call of duty: black ops"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 7523, 834, 7, 834, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 7523, 13, 2571, 13, 22203, 10, 1589, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7523, 834, 7, 834, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 467, 3274, 96, 16482, 13, 5461, 10, 1001, 3, 9280, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the total when the score for set 2 is 20 25?
CREATE TABLE table_name_21 ( total VARCHAR, set_2 VARCHAR )
SELECT total FROM table_name_21 WHERE set_2 = "20–25"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 792, 584, 4280, 28027, 6, 356, 834, 357, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 116, 8, 2604, 21, 356, 204, 19, 460...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 792, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 356, 834, 357, 3274, 96, 1755, 104, 1828, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Find the distinct years when the governor was named 'Eliot Spitzer'.
CREATE TABLE election ( election_id number, counties_represented text, district number, delegate text, party number, first_elected number, committee text ) CREATE TABLE party ( party_id number, year number, party text, governor text, lieutenant_governor text, comptroller text, attorney_general text, us_senate text ) CREATE TABLE county ( county_id number, county_name text, population number, zip_code text )
SELECT DISTINCT year FROM party WHERE governor = "Eliot Spitzer"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4356, 41, 4356, 834, 23, 26, 381, 6, 16227, 834, 29845, 1499, 6, 3939, 381, 6, 20, 8791, 1499, 6, 1088, 381, 6, 166, 834, 19971, 381, 6, 4492, 1499, 3, 61, 3, 32102, 32103, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 215, 21680, 1088, 549, 17444, 427, 13062, 3274, 96, 10991, 23, 32, 17, 17894, 52, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
If the amount of U.S. viewers is 2.14 million, who was the episode directed by?
CREATE TABLE table_26022 ( "Series #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "U.S. viewers (in millions)" text )
SELECT "Directed by" FROM table_26022 WHERE "U.S. viewers (in millions)" = '2.14'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 18365, 2884, 41, 96, 12106, 7, 1713, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965, 324, 57, 121, 1499, 6, 96, 667, 3380,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23620, 15, 26, 57, 121, 21680, 953, 834, 18365, 2884, 549, 17444, 427, 96, 1265, 5, 134, 5, 13569, 41, 77, 4040, 61, 121, 3274, 3, 31, 14489, 591, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the score of the game with tie number 65?
CREATE TABLE table_57580 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text )
SELECT "Score" FROM table_57580 WHERE "Tie no" = '65'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3072, 2079, 41, 96, 382, 23, 15, 150, 121, 1499, 6, 96, 19040, 372, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 17, 324, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 755, 3072, 2079, 549, 17444, 427, 96, 382, 23, 15, 150, 121, 3274, 3, 31, 4122, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the earliest year the world junior championships has 1500 m notes?
CREATE TABLE table_name_85 (year INTEGER, notes VARCHAR, competition VARCHAR)
SELECT MIN(year) FROM table_name_85 WHERE notes = "1500 m" AND competition = "world junior championships"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 1201, 3, 21342, 17966, 6, 3358, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 16454, 215, 8, 296, 9212...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 1201, 61, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 3358, 3274, 96, 536, 2560, 3, 51, 121, 3430, 2259, 3274, 96, 7276, 9212, 10183, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who made the decision on the game where the record was 29-28-12?
CREATE TABLE table_29610 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "First Star" text, "Decision" text, "Location" text, "Attendance" real, "Record" text, "Points" real )
SELECT "Decision" FROM table_29610 WHERE "Record" = '29-28-12'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 27097, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 25171, 2042, 121, 1499, 6, 96, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 2962, 18901, 121, 21680, 953, 834, 3166, 27097, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 3166, 18, 2577, 5947, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the most withdrawn for 37 lstr no.
CREATE TABLE table_20391799_1 ( withdrawn INTEGER, ltsr_no VARCHAR )
SELECT MAX(withdrawn) FROM table_20391799_1 WHERE ltsr_no = 37
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 3288, 2517, 3264, 834, 536, 41, 3, 28032, 3, 21342, 17966, 6, 3, 40, 17, 7, 52, 834, 29, 32, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 167, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 28032, 61, 21680, 953, 834, 1755, 3288, 2517, 3264, 834, 536, 549, 17444, 427, 3, 40, 17, 7, 52, 834, 29, 32, 3274, 6862, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the College with a Position of db, and the CFL Team was Winnipeg Blue Bombers?
CREATE TABLE table_39810 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text )
SELECT "College" FROM table_39810 WHERE "Position" = 'db' AND "CFL Team" = 'winnipeg blue bombers'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3916, 1714, 41, 96, 345, 3142, 1713, 121, 490, 6, 96, 254, 10765, 2271, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 9939, 78...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 9939, 7883, 121, 21680, 953, 834, 519, 3916, 1714, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 26, 115, 31, 3430, 96, 254, 10765, 2271, 121, 3274, 3, 31, 3757, 29, 23, 855, 122, 1692, 6417, 277,...
what is the least tournaments played when the year is 1998?
CREATE TABLE table_45269 ( "Year" real, "Tournaments played" real, "Cuts made" real, "Wins" real, "Best finish" text, "Earnings ( $ )" real, "Money list rank" text )
SELECT MIN("Tournaments played") FROM table_45269 WHERE "Year" = '1998'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 357, 3951, 41, 96, 476, 2741, 121, 490, 6, 96, 382, 1211, 29, 9, 4128, 1944, 121, 490, 6, 96, 15784, 17, 7, 263, 121, 490, 6, 96, 18455, 7, 121, 490, 6, 96, 172...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 382, 1211, 29, 9, 4128, 1944, 8512, 21680, 953, 834, 2128, 357, 3951, 549, 17444, 427, 96, 476, 2741, 121, 3274, 3, 31, 2294, 3916, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find All_Neutral and All_Games_Percent , and visualize them by a bar chart.
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text )
SELECT All_Neutral, All_Games_Percent FROM basketball_match
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 2271, 834, 4309, 16, 17, 6, 1121, 834, 4309, 16, 17, 6, 2271, 834, 23954, 1499, 6, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1499, 6, 3, 14775, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 432, 834, 26288, 8792, 6, 432, 834, 23055, 7, 834, 12988, 3728, 21680, 8498, 834, 19515, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the region where Milan is located?
CREATE TABLE table_19387 ( "Region" text, "Capital" text, "Area (km\u00b2)" real, "Area (sq mi)" real, "Population" real )
SELECT "Region" FROM table_19387 WHERE "Capital" = 'Milan'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 519, 4225, 41, 96, 17748, 23, 106, 121, 1499, 6, 96, 19566, 9538, 121, 1499, 6, 96, 188, 864, 41, 5848, 2, 76, 1206, 115, 7318, 121, 490, 6, 96, 188, 864, 41, 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, 17748, 23, 106, 121, 21680, 953, 834, 2294, 519, 4225, 549, 17444, 427, 96, 19566, 9538, 121, 3274, 3, 31, 329, 173, 152, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Show the facility codes of apartments with more than 4 bedrooms.
CREATE TABLE Apartments ( apt_id VARCHAR, bedroom_count INTEGER ) CREATE TABLE Apartment_Facilities ( facility_code VARCHAR, apt_id VARCHAR )
SELECT T1.facility_code FROM Apartment_Facilities AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.bedroom_count > 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15970, 7, 41, 3, 6789, 834, 23, 26, 584, 4280, 28027, 6, 2923, 834, 13362, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 15970, 834, 371, 9, 13067, 301...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 89, 9, 75, 14277, 834, 4978, 21680, 15970, 834, 371, 9, 13067, 3010, 6157, 332, 536, 3, 15355, 3162, 15970, 7, 6157, 332, 357, 9191, 332, 5411, 6789, 834, 23, 26, 3274, 332, 4416, 6789, 834, 23, 26, 549...
What is the Nation when there is a total less than 27, gold is less than 1, and bronze is more than 1?
CREATE TABLE table_name_62 ( nation VARCHAR, bronze VARCHAR, total VARCHAR, gold VARCHAR )
SELECT nation FROM table_name_62 WHERE total < 27 AND gold < 1 AND bronze > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 2982, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 6, 2045, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2982, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 792, 3, 2, 2307, 3430, 2045, 3, 2, 209, 3430, 13467, 2490, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Elimination Move is listed at Elimination 8 for Team Batista?
CREATE TABLE table_79066 ( "Elimination" text, "Wrestler" text, "Team" text, "Eliminated by" text, "Elimination Move" text, "Time" text )
SELECT "Elimination Move" FROM table_79066 WHERE "Team" = 'team batista' AND "Elimination" = '8'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2394, 3539, 41, 96, 10991, 23, 14484, 121, 1499, 6, 96, 518, 6216, 1171, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 427, 4941, 77, 920, 57, 121, 1499, 6, 96, 10991, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10991, 23, 14484, 15711, 121, 21680, 953, 834, 940, 2394, 3539, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 11650, 3795, 343, 9, 31, 3430, 96, 10991, 23, 14484, 121, 3274, 3, 31, 927, 31, 1, -100, -100, -100...
what is the number of patients admitted before 2131 due to ruq pain?
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 ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "RUQ PAIN" AND demographic.admityear < "2131"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 8503, 2247, 276, 13570, 121, 3430, 14798, 5, 20466, 17, 1201, 3, 2, ...
what is the previous conference when the location is converse?
CREATE TABLE table_name_69 ( previous_conference VARCHAR, location VARCHAR )
SELECT previous_conference FROM table_name_69 WHERE location = "converse"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 1767, 834, 28496, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 1767, 2542, 116, 8, 1128, 19, 20379, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1767, 834, 28496, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 1128, 3274, 96, 1018, 7583, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which power output had a Build date of 1951–1956?
CREATE TABLE table_name_23 (power_output VARCHAR, build_date VARCHAR)
SELECT power_output FROM table_name_23 WHERE build_date = "1951–1956"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 6740, 834, 670, 2562, 584, 4280, 28027, 6, 918, 834, 5522, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 579, 3911, 141, 3, 9, 14025, 833, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 579, 834, 670, 2562, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 918, 834, 5522, 3274, 96, 2294, 5553, 104, 2294, 4834, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the sum of league goals where the toal was 8 and league cup goals were larger than 0?
CREATE TABLE table_64489 ( "Name" text, "Position" text, "League Apps" text, "League Goals" real, "FA Cup Apps" text, "FA Cup Goals" real, "League Cup Apps" text, "League Cup Goals" real, "Total Apps" text, "Total Goals" real )
SELECT SUM("League Goals") FROM table_64489 WHERE "Total Goals" = '8' AND "League Cup Goals" > '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4389, 591, 3914, 41, 96, 23954, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 2796, 9, 5398, 2276, 7, 121, 1499, 6, 96, 2796, 9, 5398, 17916, 7, 121, 490, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 2796, 9, 5398, 17916, 7, 8512, 21680, 953, 834, 4389, 591, 3914, 549, 17444, 427, 96, 3696, 1947, 17916, 7, 121, 3274, 3, 31, 927, 31, 3430, 96, 2796, 9, 5398, 3802, 17916, 7, 121, 2490, 3, ...
provide the number of patients whose ethnicity is white - russian and days of hospital stay is greater than 34?
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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE 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 WHERE demographic.ethnicity = "WHITE - RUSSIAN" AND demographic.days_stay > "34"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 15, 189, 2532, 485, 3274, 96, 15313, 14871, 3, 18, 3, 8503, 4256, 21758, 121, 3430, 14798, 5, 11...
which country won the most medals total ?
CREATE TABLE table_203_175 ( id number, "rank" text, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT "nation" FROM table_203_175 ORDER BY "total" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 536, 3072, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 1499, 6, 96, 29, 257, 121, 1499, 6, 96, 14910, 121, 381, 6, 96, 7, 173, 624, 121, 381, 6, 96, 13711, 776,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 29, 257, 121, 21680, 953, 834, 23330, 834, 536, 3072, 4674, 11300, 272, 476, 96, 235, 1947, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the chassis for Bruce Mclaren with all rounds and a g tyre?
CREATE TABLE table_name_93 (chassis VARCHAR, driver VARCHAR, rounds VARCHAR, tyre VARCHAR)
SELECT chassis FROM table_name_93 WHERE rounds = "all" AND tyre = "g" AND driver = "bruce mclaren"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 524, 6500, 7, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 6, 14419, 584, 4280, 28027, 6, 3, 17, 63, 60, 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, 22836, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 14419, 3274, 96, 1748, 121, 3430, 3, 17, 63, 60, 3274, 96, 122, 121, 3430, 2535, 3274, 96, 9052, 565, 3, 51, 23982, 35, 121, 1, -100, -100, -100, -100, -10...
What series was called Egghead Rides Again?
CREATE TABLE table_name_38 ( series VARCHAR, title VARCHAR )
SELECT series FROM table_name_38 WHERE title = "egghead rides again"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 939, 584, 4280, 28027, 6, 2233, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 939, 47, 718, 16693, 3313, 17392, 7, 7204, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 939, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 2233, 3274, 96, 15, 4102, 3313, 14432, 541, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the UK singles chart rank of the single released on 26 February 1990?
CREATE TABLE table_name_9 ( uk_singles_chart VARCHAR, release_date VARCHAR )
SELECT uk_singles_chart FROM table_name_9 WHERE release_date = "26 february 1990"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 3, 1598, 834, 7, 53, 965, 834, 4059, 17, 584, 4280, 28027, 6, 1576, 834, 5522, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 1598, 834, 7, 53, 965, 834, 4059, 17, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 1576, 834, 5522, 3274, 96, 2688, 29976, 76, 1208, 5541, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is Score, when Country is "United States", and when Player is "Mark Brooks"?
CREATE TABLE table_name_34 (score VARCHAR, country VARCHAR, player VARCHAR)
SELECT score FROM table_name_34 WHERE country = "united states" AND player = "mark brooks"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 7, 9022, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 17763, 6, 116, 6993, 19, 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, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 684, 3274, 96, 15129, 15, 26, 2315, 121, 3430, 1959, 3274, 96, 3920, 3, 14370, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the Country of the Player with a Score of 69-71-66=206?
CREATE TABLE table_name_99 ( country VARCHAR, score VARCHAR )
SELECT country FROM table_name_99 WHERE score = 69 - 71 - 66 = 206
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 684, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 6993, 13, 8, 12387, 28, 3, 9, 17763, 13, 3, 3951,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 684, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 2604, 3274, 3, 3951, 3, 18, 3, 4450, 3, 18, 3, 3539, 3274, 3, 24643, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the average total of the transfer fee in million ?
CREATE TABLE table_204_402 ( id number, "rank" number, "player" text, "from" text, "to" text, "transfer fee\n(\u20ac million)" number, "year" number )
SELECT AVG("transfer fee\n(\u20ac million)") FROM table_204_402
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 2445, 357, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 20846, 121, 1499, 6, 96, 7152, 121, 1499, 6, 96, 235, 121, 1499, 6, 96, 7031, 1010, 2572, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 7031, 1010, 2572, 2, 29, 599, 2, 76, 1755, 9, 75, 770, 61, 8512, 21680, 953, 834, 26363, 834, 2445, 357, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many patients whose gender is f and procedure icd9 code is 12?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.gender = "F" AND procedures.icd9_code = "12"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the earliest year that kim hyun-soo won the gold?
CREATE TABLE table_name_51 (year INTEGER, gold VARCHAR)
SELECT MIN(year) FROM table_name_51 WHERE gold = "kim hyun-soo"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5553, 41, 1201, 3, 21342, 17966, 6, 2045, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 16454, 215, 24, 3, 19754, 3, 107, 63, 202, 18, 7,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 1201, 61, 21680, 953, 834, 4350, 834, 5553, 549, 17444, 427, 2045, 3274, 96, 19754, 3, 107, 63, 202, 18, 7, 32, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the result in the election where the incumbent was Finis J. Garrett?
CREATE TABLE table_1342370_41 ( result VARCHAR, incumbent VARCHAR )
SELECT result FROM table_1342370_41 WHERE incumbent = "Finis J. Garrett"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2773, 2518, 834, 4853, 41, 741, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 741, 16, 8, 4356, 213, 8, 28406, 47, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 23747, 2773, 2518, 834, 4853, 549, 17444, 427, 28406, 3274, 96, 371, 77, 159, 446, 5, 27099, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Tell me the sum of TD's for 4 avg.
CREATE TABLE table_57360 ( "Player" text, "Car." real, "Yards" text, "Avg." text, "TD's" real, "Long" text )
SELECT SUM("TD's") FROM table_57360 WHERE "Avg." = '4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3436, 19208, 41, 96, 15800, 49, 121, 1499, 6, 96, 6936, 535, 490, 6, 96, 476, 986, 7, 121, 1499, 6, 96, 188, 208, 122, 535, 1499, 6, 96, 10494, 31, 7, 121, 490, 6, 96...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 10494, 31, 7, 8512, 21680, 953, 834, 3436, 19208, 549, 17444, 427, 96, 188, 208, 122, 535, 3274, 3, 31, 591, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the number of patients whose year of birth is less than 2170 and lab test name is other cells?
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.dob_year < "2170" AND lab.label = "Other Cells"
[ 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,...
who is the driver when grid is 11?
CREATE TABLE table_name_81 ( driver VARCHAR, grid VARCHAR )
SELECT driver FROM table_name_81 WHERE grid = 11
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 2535, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 113, 19, 8, 2535, 116, 8634, 19, 850, 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, 2535, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 8634, 3274, 850, 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...
What city has the museum that holds the Sue specimen?
CREATE TABLE table_name_48 ( museum VARCHAR, name VARCHAR )
SELECT museum AS city FROM table_name_48 WHERE name = "sue"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 7071, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 690, 65, 8, 7071, 24, 4532, 8, 17564, 19622, 58, 1, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7071, 6157, 690, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 564, 3274, 96, 7, 76, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Where was the hometown for the player that attended Shanley High School?
CREATE TABLE table_11677691_4 ( hometown VARCHAR, school VARCHAR )
SELECT hometown FROM table_11677691_4 WHERE school = "Shanley High school"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 3708, 3959, 4729, 834, 591, 41, 22295, 584, 4280, 28027, 6, 496, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2840, 47, 8, 22295, 21, 8, 1959, 24, 5526, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 22295, 21680, 953, 834, 2596, 3708, 3959, 4729, 834, 591, 549, 17444, 427, 496, 3274, 96, 134, 2618, 1306, 1592, 496, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many seasons have points totals of N/A?
CREATE TABLE table_26222468_1 ( season VARCHAR, points VARCHAR )
SELECT COUNT(season) FROM table_26222468_1 WHERE points = "N/A"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 2884, 2266, 3651, 834, 536, 41, 774, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 9385, 43, 979, 792, 7, 13, 445, 87, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 9476, 61, 21680, 953, 834, 2688, 2884, 2266, 3651, 834, 536, 549, 17444, 427, 979, 3274, 96, 567, 87, 188, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the home team's score when the away team is south melbourne?
CREATE TABLE table_name_12 ( home_team VARCHAR, away_team VARCHAR )
SELECT home_team AS score FROM table_name_12 WHERE away_team = "south melbourne"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 234, 834, 11650, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 234, 372, 31, 7, 2604, 116, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 550, 834, 11650, 3274, 96, 7, 670, 107, 3, 2341, 26255, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many patients whose death status is 1 and diagnoses icd9 code is 5680?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE 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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.expire_flag = "1" AND diagnoses.icd9_code = "5680"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
Which Date has a Venue of bucharest?
CREATE TABLE table_name_3 ( date VARCHAR, venue VARCHAR )
SELECT date FROM table_name_3 WHERE venue = "bucharest"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 833, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 7678, 65, 3, 9, 29940, 13, 3, 5671, 9, 6216, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 5669, 3274, 96, 5671, 9, 6216, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which player had 252 appearances
CREATE TABLE table_24565004_7 (name VARCHAR, appearances¹ VARCHAR)
SELECT name FROM table_24565004_7 WHERE appearances¹ = 252
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 4834, 2560, 591, 834, 940, 41, 4350, 584, 4280, 28027, 6, 3179, 7, 536, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1959, 141, 944, 357, 3179, 7, 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, 564, 21680, 953, 834, 2266, 4834, 2560, 591, 834, 940, 549, 17444, 427, 3179, 7, 536, 3274, 944, 357, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Show me a bar chart for how many captains with younger than 50 are in each rank?
CREATE TABLE captain ( Captain_ID int, Name text, Ship_ID int, age text, Class text, Rank text ) CREATE TABLE Ship ( Ship_ID int, Name text, Type text, Built_Year real, Class text, Flag text )
SELECT Rank, COUNT(*) FROM captain WHERE age < 50 GROUP BY Rank
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14268, 41, 12202, 834, 4309, 16, 17, 6, 5570, 1499, 6, 15508, 834, 4309, 16, 17, 6, 1246, 1499, 6, 4501, 1499, 6, 3, 22557, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 33...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22557, 6, 2847, 17161, 599, 1935, 61, 21680, 14268, 549, 17444, 427, 1246, 3, 2, 943, 350, 4630, 6880, 272, 476, 3, 22557, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which College has a Pick # larger than 30, and a Position of ol?
CREATE TABLE table_name_22 ( college VARCHAR, pick__number VARCHAR, position VARCHAR )
SELECT college FROM table_name_22 WHERE pick__number > 30 AND position = "ol"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 1900, 584, 4280, 28027, 6, 1432, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1888, 65,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1900, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 1432, 834, 834, 5525, 1152, 2490, 604, 3430, 1102, 3274, 96, 32, 40, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the gold when silver is 1, rank is larger than 3, total is smaller than 2, bronze is smaller than 0?
CREATE TABLE table_62490 ( "Rank" real, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT SUM("Gold") FROM table_62490 WHERE "Silver" = '1' AND "Rank" > '3' AND "Total" < '2' AND "Bronze" < '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 2266, 2394, 41, 96, 22557, 121, 490, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, 3696, 1947, 121, 490, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 23576, 8512, 21680, 953, 834, 948, 2266, 2394, 549, 17444, 427, 96, 134, 173, 624, 121, 3274, 3, 31, 536, 31, 3430, 96, 22557, 121, 2490, 3, 31, 519, 31, 3430, 96, 3696, 1947, 121, 3, 2, 3, ...
How in prothrombin affected by glanzmann's thrombasthenia.
CREATE TABLE table_1226250_1 (prothrombin_time VARCHAR, condition VARCHAR)
SELECT prothrombin_time FROM table_1226250_1 WHERE condition = "Glanzmann's thrombasthenia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 2688, 11434, 834, 536, 41, 1409, 8514, 51, 4517, 834, 715, 584, 4280, 28027, 6, 1706, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 16, 813, 8514, 51, 4517,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 813, 8514, 51, 4517, 834, 715, 21680, 953, 834, 2122, 2688, 11434, 834, 536, 549, 17444, 427, 1706, 3274, 96, 517, 40, 4557, 2434, 31, 7, 3, 8514, 18015, 7, 189, 18242, 121, 1, -100, -100, -100, -100, -100, -100, ...
What is the name of the body builder with the greatest body weight?
CREATE TABLE body_builder (People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR, Weight VARCHAR)
SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Weight DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 643, 834, 16422, 49, 41, 24337, 834, 4309, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 23954, 584, 4280, 28027, 6, 2449, 834, 4309, 584, 4280, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 23954, 21680, 643, 834, 16422, 49, 6157, 332, 536, 3, 15355, 3162, 151, 6157, 332, 357, 9191, 332, 5411, 24337, 834, 4309, 3274, 332, 4416, 24337, 834, 4309, 4674, 11300, 272, 476, 332, 4416, 1326, 2632, 30...
what is the platform when the frequency (per hour) is 4 and the destination is west croydon?
CREATE TABLE table_58163 ( "Platform" real, "Frequency (per hour)" real, "Destination" text, "Operator" text, "Line" text )
SELECT SUM("Platform") FROM table_58163 WHERE "Frequency (per hour)" = '4' AND "Destination" = 'west croydon'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3449, 2938, 519, 41, 96, 10146, 2032, 121, 490, 6, 96, 371, 60, 835, 11298, 41, 883, 1781, 61, 121, 490, 6, 96, 308, 222, 77, 257, 121, 1499, 6, 96, 667, 883, 1016, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 10146, 2032, 8512, 21680, 953, 834, 3449, 2938, 519, 549, 17444, 427, 96, 371, 60, 835, 11298, 41, 883, 1781, 61, 121, 3274, 3, 31, 591, 31, 3430, 96, 308, 222, 77, 257, 121, 3274, 3, 31, 12...