NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What is the result for the game before week 7 against BYE?
CREATE TABLE table_name_95 (result VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_95 WHERE week < 7 AND opponent = "bye"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 741, 21, 8, 467...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 471, 3, 2, 489, 3430, 15264, 3274, 96, 969, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is 2010 when 2006 is 3r?
CREATE TABLE table_name_24 ( Id VARCHAR )
SELECT 2010 FROM table_name_24 WHERE 2006 = "3r"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 27, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 2735, 116, 3581, 19, 220, 52, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2735, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 3581, 3274, 96, 519, 52, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Plot the total number by grouped by city code as a bar graph, could you list by the Y-axis in descending?
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_Allergy ( StuID INTEGER, Allergy VARCHAR(20) ) CREATE TABLE Allergy_Type ( Allergy VARCHAR(20), AllergyType VARCHAR(20) )
SELECT city_code, COUNT(*) FROM Student GROUP BY city_code ORDER BY COUNT(*) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6341, 41, 3, 13076, 4309, 3, 21342, 17966, 6, 301, 23954, 584, 4280, 28027, 599, 2122, 201, 377, 4350, 584, 4280, 28027, 599, 2122, 201, 7526, 3, 21342, 17966, 6, 679, 226, 584, 4280, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 690, 834, 4978, 6, 2847, 17161, 599, 1935, 61, 21680, 6341, 350, 4630, 6880, 272, 476, 690, 834, 4978, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many patients hospital stay is above 8 days with prescribed drug type base?
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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "8" AND prescriptions.drug_type = "BASE"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Name the most number for notre dame prep
CREATE TABLE table_27410 ( "Name" text, "#" real, "Position" text, "Height" text, "Weight" real, "Year" text, "Former School" text, "Hometown" text )
SELECT MAX("#") FROM table_27410 WHERE "Former School" = 'Notre Dame Prep'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 24175, 41, 96, 23954, 121, 1499, 6, 96, 4663, 121, 490, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 3845, 2632, 121, 1499, 6, 96, 1326, 2632, 121, 490, 6, 96, 476,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4663, 8512, 21680, 953, 834, 2555, 24175, 549, 17444, 427, 96, 3809, 935, 1121, 121, 3274, 3, 31, 10358, 60, 3, 17084, 1266, 102, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the percent decline from peak population when the peak population (year) is 178320 (1960)?
CREATE TABLE table_50418 ( "City" text, "State" text, "2010 population" text, "Peak population (year)" text, "Numeric decline from peak population" text, "Percent decline from peak population" text )
SELECT "Percent decline from peak population" FROM table_50418 WHERE "Peak population (year)" = '178320 (1960)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1752, 591, 2606, 41, 96, 254, 485, 121, 1499, 6, 96, 134, 4748, 121, 1499, 6, 96, 14926, 2074, 121, 1499, 6, 96, 345, 15, 1639, 2074, 41, 1201, 61, 121, 1499, 6, 96, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 12988, 3728, 7198, 45, 6734, 2074, 121, 21680, 953, 834, 1752, 591, 2606, 549, 17444, 427, 96, 345, 15, 1639, 2074, 41, 1201, 61, 121, 3274, 3, 31, 27640, 15003, 2863, 3328, 61, 31, 1, -100, -100, -100, -100, ...
What model has both a standard byte string and floating-point?
CREATE TABLE table_name_90 (model VARCHAR, byte_string VARCHAR, floating_point VARCHAR)
SELECT model FROM table_name_90 WHERE byte_string = "standard" AND floating_point = "standard"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 21770, 584, 4280, 28027, 6, 3, 17770, 834, 16099, 584, 4280, 28027, 6, 12848, 834, 2700, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 825, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 825, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 3, 17770, 834, 16099, 3274, 96, 16020, 121, 3430, 12848, 834, 2700, 3274, 96, 16020, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the location for the game on October 20 with it's corresponding attendance?
CREATE TABLE table_4102 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Location Attendance" FROM table_4102 WHERE "Date" = 'October 20'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 14388, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, 3, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 75, 257, 22497, 663, 121, 21680, 953, 834, 591, 14388, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 28680, 460, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those payments processed with Visa, bin the payment day into the Day of Week interval and compute the total amount payment as the Y-axis, I want to sort by the y axis in descending.
CREATE TABLE Payments ( Payment_ID INTEGER, Settlement_ID INTEGER, Payment_Method_Code VARCHAR(255), Date_Payment_Made DATE, Amount_Payment INTEGER ) CREATE TABLE Settlements ( Settlement_ID INTEGER, Claim_ID INTEGER, Date_Claim_Made DATE, Date_Claim_Settled DATE, Amount_Claimed INTEGER, Amount_Settled INTEGER, Customer_Policy_ID INTEGER ) CREATE TABLE Customers ( Customer_ID INTEGER, Customer_Details VARCHAR(255) ) CREATE TABLE Claims ( Claim_ID INTEGER, Policy_ID INTEGER, Date_Claim_Made DATE, Date_Claim_Settled DATE, Amount_Claimed INTEGER, Amount_Settled INTEGER ) CREATE TABLE Customer_Policies ( Policy_ID INTEGER, Customer_ID INTEGER, Policy_Type_Code CHAR(15), Start_Date DATE, End_Date DATE )
SELECT Date_Payment_Made, SUM(Amount_Payment) FROM Payments WHERE Payment_Method_Code = 'Visa' ORDER BY SUM(Amount_Payment) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 12248, 7, 41, 12248, 834, 4309, 3, 21342, 17966, 6, 31044, 834, 4309, 3, 21342, 17966, 6, 12248, 834, 23351, 107, 32, 26, 834, 22737, 584, 4280, 28027, 599, 25502, 201, 7678, 834, 1970...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7678, 834, 19702, 297, 834, 329, 9, 221, 6, 180, 6122, 599, 188, 11231, 834, 19702, 297, 61, 21680, 12248, 7, 549, 17444, 427, 12248, 834, 23351, 107, 32, 26, 834, 22737, 3274, 3, 31, 553, 159, 9, 31, 4674, 11300,...
Can you tell me the Position that has the Entrant of j ampt?
CREATE TABLE table_name_67 (position VARCHAR, entrant VARCHAR)
SELECT position FROM table_name_67 WHERE entrant = "j ampt"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 4718, 584, 4280, 28027, 6, 3, 295, 3569, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 1072, 25, 817, 140, 8, 14258, 24, 65, 8, 4443, 3569, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 3, 295, 3569, 3274, 96, 354, 11483, 17, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what was al espinosa 's total stroke count at the final of the 1929 us open ?
CREATE TABLE table_203_864 ( id number, "place" text, "player" text, "country" text, "score" text, "to par" number, "money ($)" number )
SELECT "score" FROM table_203_864 WHERE "player" = 'al espinosa'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3840, 591, 41, 3, 23, 26, 381, 6, 96, 4687, 121, 1499, 6, 96, 20846, 121, 1499, 6, 96, 17529, 121, 1499, 6, 96, 7, 9022, 121, 1499, 6, 96, 235, 260, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 7, 9022, 121, 21680, 953, 834, 23330, 834, 3840, 591, 549, 17444, 427, 96, 20846, 121, 3274, 3, 31, 138, 16159, 23, 4844, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the power when ch# is tv-26 and dyfj-tv?
CREATE TABLE table_12379297_1 ( power__kw_ VARCHAR, ch__number VARCHAR, callsign VARCHAR )
SELECT power__kw_ FROM table_12379297_1 WHERE ch__number = "TV-26" AND callsign = "DYFJ-TV"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 14574, 4440, 357, 4327, 834, 536, 41, 579, 834, 834, 157, 210, 834, 584, 4280, 28027, 6, 3, 524, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 580, 6732, 584, 4280, 28027, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 579, 834, 834, 157, 210, 834, 21680, 953, 834, 14574, 4440, 357, 4327, 834, 536, 549, 17444, 427, 3, 524, 834, 834, 5525, 1152, 3274, 96, 4562, 18, 2688, 121, 3430, 580, 6732, 3274, 96, 19409, 371, 683, 18, 4562, ...
What's the number of the episode with production code 2395118?
CREATE TABLE table_16373 ( "No. in series" real, "No. in season" real, "Title" text, "Director" text, "Writer(s)" text, "Original air date" text, "Production code" text )
SELECT "No. in season" FROM table_16373 WHERE "Production code" = '2395118'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 4118, 519, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 4168, 5, 16, 774, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 127, 121, 1499, 6, 96, 24965, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 4168, 5, 16, 774, 121, 21680, 953, 834, 2938, 4118, 519, 549, 17444, 427, 96, 3174, 8291, 1081, 121, 3274, 3, 31, 2773, 3301, 20056, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
look for the number of government health insurance patients who were on non-invasive mechanical ventilation.
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 ) 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.insurance = "Government" AND procedures.short_title = "Non-invasive mech vent"
[ 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,...
List the name, born state and age of the heads of departments ordered by age.
CREATE TABLE head ( head_id number, name text, born_state text, age number ) CREATE TABLE management ( department_id number, head_id number, temporary_acting text ) CREATE TABLE department ( department_id number, name text, creation text, ranking number, budget_in_billions number, num_employees number )
SELECT name, born_state, age FROM head ORDER BY age
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 819, 41, 819, 834, 23, 26, 381, 6, 564, 1499, 6, 2170, 834, 5540, 1499, 6, 1246, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 758, 41, 3066, 834, 23, 26, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 564, 6, 2170, 834, 5540, 6, 1246, 21680, 819, 4674, 11300, 272, 476, 1246, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the gp for ff being 0 and qbh being 1
CREATE TABLE table_1188 ( "Name" text, "GP" real, "Solo" real, "Ast" real, "Total" real, "TFL-Yds" text, "No-Yds" text, "BrUp" real, "QBH" real, "No.-Yds" text, "Avg" text, "TD" real, "Rcv-Yds" text, "FF" real, "Blkd Kick" real )
SELECT "GP" FROM table_1188 WHERE "FF" = '0' AND "QBH" = '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 4060, 41, 96, 23954, 121, 1499, 6, 96, 8049, 121, 490, 6, 96, 5231, 40, 32, 121, 490, 6, 96, 188, 7, 17, 121, 490, 6, 96, 3696, 1947, 121, 490, 6, 96, 9164, 434...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8049, 121, 21680, 953, 834, 2596, 4060, 549, 17444, 427, 96, 9089, 121, 3274, 3, 31, 632, 31, 3430, 96, 2247, 23631, 121, 3274, 3, 31, 536, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
how many performers appeared on the air date 21 january 2011 ?
CREATE TABLE table_203_784 ( id number, "no. in\nseries" number, "no. in\nseason" number, "performer" text, "appearance" text, "air date" text )
SELECT COUNT("performer") FROM table_203_784 WHERE "air date" = '21 january 2011'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3940, 591, 41, 3, 23, 26, 381, 6, 96, 29, 32, 5, 16, 2, 29, 10833, 7, 121, 381, 6, 96, 29, 32, 5, 16, 2, 29, 9476, 121, 381, 6, 96, 883, 2032, 49, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 883, 2032, 49, 8512, 21680, 953, 834, 23330, 834, 3940, 591, 549, 17444, 427, 96, 2256, 833, 121, 3274, 3, 31, 2658, 3, 7066, 76, 1208, 2722, 31, 1, -100, -100, -100, -100, -100, -100, -100, ...
What grand prix was held at Granollers?
CREATE TABLE table_name_32 ( designated_grand_prix VARCHAR, track VARCHAR )
SELECT designated_grand_prix FROM table_name_32 WHERE track = "granollers"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 9943, 834, 15448, 834, 2246, 226, 584, 4280, 28027, 6, 1463, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1907, 3407, 47, 1213, 44, 12102...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9943, 834, 15448, 834, 2246, 226, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 1463, 3274, 96, 7662, 32, 195, 277, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the indianapolis concerts for les minski
CREATE TABLE table_17085724_1 (indianapolis_concerts VARCHAR, sarasota VARCHAR)
SELECT indianapolis_concerts FROM table_17085724_1 WHERE sarasota = "Les Minski"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 4018, 3436, 2266, 834, 536, 41, 77, 8603, 9, 15621, 834, 11620, 52, 17, 7, 584, 4280, 28027, 6, 3, 7, 2551, 7, 32, 17, 9, 584, 4280, 28027, 61, 3, 32102, 32103, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 16, 8603, 9, 15621, 834, 11620, 52, 17, 7, 21680, 953, 834, 2517, 4018, 3436, 2266, 834, 536, 549, 17444, 427, 3, 7, 2551, 7, 32, 17, 9, 3274, 96, 2796, 7, 4765, 4009, 121, 1, -100, -100, -100, -100, -100, -100,...
What is Team, when Run 3 is 1:24.00?
CREATE TABLE table_10017 ( "Rank" text, "Team" text, "Athletes" text, "Run 1" text, "Run 2" text, "Run 3" text, "Run 4" text, "Final" text )
SELECT "Team" FROM table_10017 WHERE "Run 3" = '1:24.00'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2915, 2517, 41, 96, 22557, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 188, 189, 109, 1422, 121, 1499, 6, 96, 448, 202, 209, 121, 1499, 6, 96, 448, 202, 204, 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, 18699, 121, 21680, 953, 834, 2915, 2517, 549, 17444, 427, 96, 448, 202, 220, 121, 3274, 3, 31, 536, 10, 2266, 4200, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the lowest share with an air date of March 21, 2008 and had viewers larger than 5.15?
CREATE TABLE table_name_8 ( share INTEGER, air_date VARCHAR, viewers VARCHAR )
SELECT MIN(share) FROM table_name_8 WHERE air_date = "march 21, 2008" AND viewers > 5.15
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 698, 3, 21342, 17966, 6, 799, 834, 5522, 584, 4280, 28027, 6, 13569, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 698, 28, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 12484, 61, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 799, 834, 5522, 3274, 96, 51, 7064, 12026, 2628, 121, 3430, 13569, 2490, 3594, 1808, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Create a bar chart showing the total number across city code, sort by the names from low to high please.
CREATE TABLE Has_amenity ( dormid INTEGER, amenid 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 Lives_in ( stuid INTEGER, dormid INTEGER, room_number INTEGER )
SELECT city_code, COUNT(*) FROM Student GROUP BY city_code ORDER BY city_code
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4498, 834, 9, 904, 485, 41, 103, 52, 6983, 3, 21342, 17966, 6, 183, 35, 23, 26, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 6200, 51, 834, 9, 904, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 690, 834, 4978, 6, 2847, 17161, 599, 1935, 61, 21680, 6341, 350, 4630, 6880, 272, 476, 690, 834, 4978, 4674, 11300, 272, 476, 690, 834, 4978, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which stage had a Points Classification of Francesco Moser and a general classification of Bernard Hinault?
CREATE TABLE table_name_57 ( stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR )
SELECT stage FROM table_name_57 WHERE points_classification = "francesco moser" AND general_classification = "bernard hinault"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 1726, 584, 4280, 28027, 6, 979, 834, 4057, 2420, 584, 4280, 28027, 6, 879, 834, 4057, 2420, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1726, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 979, 834, 4057, 2420, 3274, 96, 89, 5219, 3523, 3, 3972, 49, 121, 3430, 879, 834, 4057, 2420, 3274, 96, 1152, 29, 986, 3811, 10335, 121, 1, -100, -100, -100, ...
Tell me the qual 1 for jan heylen
CREATE TABLE table_name_13 ( qual_1 VARCHAR, name VARCHAR )
SELECT qual_1 FROM table_name_13 WHERE name = "jan heylen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 3, 11433, 834, 536, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 3, 11433, 209, 21, 3, 7066, 3, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 11433, 834, 536, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 564, 3274, 96, 7066, 3, 13133, 40, 35, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the winter olympics when the country is soviet union and holmenkollen is 1970, 1979?
CREATE TABLE table_name_5 ( winter_olympics INTEGER, country VARCHAR, holmenkollen VARCHAR )
SELECT SUM(winter_olympics) FROM table_name_5 WHERE country = "soviet union" AND holmenkollen = "1970, 1979"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 2265, 834, 32, 120, 51, 6174, 7, 3, 21342, 17966, 6, 684, 584, 4280, 28027, 6, 3, 2831, 51, 18994, 195, 35, 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, 180, 6122, 599, 210, 3870, 834, 32, 120, 51, 6174, 7, 61, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 684, 3274, 96, 7, 9881, 15, 17, 7021, 121, 3430, 3, 2831, 51, 18994, 195, 35, 3274, 96, 2294, 2518, 6, ...
Tell me the sum of rank for australia when points are less than 79
CREATE TABLE table_53262 ( "Rank" real, "Previous Rank" text, "Name" text, "Nationality" text, "Team" text, "Points" real )
SELECT SUM("Rank") FROM table_53262 WHERE "Nationality" = 'australia' AND "Points" < '79'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4867, 2688, 357, 41, 96, 22557, 121, 490, 6, 96, 10572, 19117, 3, 22557, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 22557, 8512, 21680, 953, 834, 4867, 2688, 357, 549, 17444, 427, 96, 24732, 485, 121, 3274, 3, 31, 2064, 8792, 23, 9, 31, 3430, 96, 22512, 7, 121, 3, 2, 3, 31, 4440, 31, 1, -100, -100, -100, ...
name the election that only had 9,046 votes .
CREATE TABLE table_204_28 ( id number, "election" text, "name of the party/alliance" text, "number of votes" number, "percentage" text, "seats in the parliament" number )
SELECT "election" FROM table_204_28 WHERE "number of votes" = 9046
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 2577, 41, 3, 23, 26, 381, 6, 96, 15, 12252, 121, 1499, 6, 96, 4350, 13, 8, 1088, 87, 1748, 23, 663, 121, 1499, 6, 96, 5525, 1152, 13, 11839, 121, 381, 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, 15, 12252, 121, 21680, 953, 834, 26363, 834, 2577, 549, 17444, 427, 96, 5525, 1152, 13, 11839, 121, 3274, 2777, 4448, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who had 8 points, later than 1980, and a theodore ty02 chassis?
CREATE TABLE table_name_73 ( entrant VARCHAR, chassis VARCHAR, year VARCHAR, pts VARCHAR )
SELECT entrant FROM table_name_73 WHERE year > 1980 AND pts = 8 AND chassis = "theodore ty02"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 3, 295, 3569, 584, 4280, 28027, 6, 22836, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 3, 102, 17, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 295, 3569, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 215, 2490, 6694, 3430, 3, 102, 17, 7, 3274, 505, 3430, 22836, 3274, 96, 532, 7512, 15, 3, 17, 63, 4305, 121, 1, -100, -100, -100, -100, -100, -100, ...
when the points for is 139 is points difference?
CREATE TABLE table_23691 ( "Club" text, "Played" text, "Won" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Points difference" text, "Bonus Points" text, "Points" text )
SELECT COUNT("Points difference") FROM table_23691 WHERE "Points for" = '139'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3420, 4729, 41, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 1499, 6, 96, 518, 106, 121, 1499, 6, 96, 308, 10936, 29, 121, 1499, 6, 96, 434, 3481, 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, 121, 22512, 7, 1750, 8512, 21680, 953, 834, 357, 3420, 4729, 549, 17444, 427, 96, 22512, 7, 21, 121, 3274, 3, 31, 24090, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Find the average height and weight for all males (sex is M).
CREATE TABLE people (height INTEGER, weight INTEGER, sex VARCHAR)
SELECT AVG(height), AVG(weight) FROM people WHERE sex = 'M'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 88, 2632, 3, 21342, 17966, 6, 1293, 3, 21342, 17966, 6, 3, 7, 994, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2588, 8, 1348, 3902, 11, 1293, 21, 66, 5069, 7, 41,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 88, 2632, 201, 71, 17217, 599, 9378, 61, 21680, 151, 549, 17444, 427, 3, 7, 994, 3274, 3, 31, 329, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the Week of the game against the Minnesota Vikings?
CREATE TABLE table_name_66 ( week INTEGER, opponent VARCHAR )
SELECT MIN(week) FROM table_name_66 WHERE opponent = "minnesota vikings"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 471, 3, 21342, 17966, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 6551, 13, 8, 467, 581, 8, 9745, 19476, 7, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 8041, 61, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 15264, 3274, 96, 1109, 1496, 32, 17, 9, 3, 21346, 53, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the result of the Top 12 Men theme?
CREATE TABLE table_27614707_1 (result VARCHAR, theme VARCHAR)
SELECT result FROM table_27614707_1 WHERE theme = "Top 12 Men"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4241, 4177, 4560, 834, 536, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 3800, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 741, 13, 8, 2224, 586, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 2555, 4241, 4177, 4560, 834, 536, 549, 17444, 427, 3800, 3274, 96, 22481, 586, 3137, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is discharge time and diagnoses long title of subject id 52012?
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 ) 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 demographic.dischtime, diagnoses.long_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "52012"
[ 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, 14798, 5, 26, 2499, 715, 6, 18730, 7, 5, 2961, 834, 21869, 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, 549, 17444, 427, 1...
What's the lowest Year with a World Rank of 5th, with a Result greater than 20.31?
CREATE TABLE table_name_65 ( year INTEGER, world_rank VARCHAR, result VARCHAR )
SELECT MIN(year) FROM table_name_65 WHERE world_rank = "5th" AND result > 20.31
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 215, 3, 21342, 17966, 6, 296, 834, 6254, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 7402, 2929, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1201, 61, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 296, 834, 6254, 3274, 96, 755, 189, 121, 3430, 741, 2490, 460, 5, 3341, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the gender of the cunningham hill infant school?
CREATE TABLE table_28523_2 (gender VARCHAR, school VARCHAR)
SELECT gender FROM table_28523_2 WHERE school = "Cunningham Hill Infant school"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4433, 2773, 834, 357, 41, 122, 3868, 584, 4280, 28027, 6, 496, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7285, 13, 8, 123, 9416, 1483, 9956, 980...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7285, 21680, 953, 834, 357, 4433, 2773, 834, 357, 549, 17444, 427, 496, 3274, 96, 15784, 9416, 1483, 3588, 28405, 496, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, show me about the distribution of hire_date and the sum of department_id bin hire_date by time in a bar chart, and I want to display by the total number of department id in desc.
CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) 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 departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) 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 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 HIRE_DATE, SUM(DEPARTMENT_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 ORDER BY SUM(DEPARTMENT_ID) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6266, 41, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 11116, 632, 201, 4083, 517, 9215, 834, 567, 17683, 3, 4331, 4059, 599, 1828, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 180, 6122, 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,...
provide the number of patients whose diagnoses icd9 code is 5679 and drug type is main?
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 ) 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.icd9_code = "5679" AND prescriptions.drug_type = "MAIN"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
Name the ERP W for glens falls, new york
CREATE TABLE table_name_56 ( erp_w VARCHAR, city_of_license VARCHAR )
SELECT erp_w FROM table_name_56 WHERE city_of_license = "glens falls, new york"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 3, 49, 102, 834, 210, 584, 4280, 28027, 6, 690, 834, 858, 834, 28062, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 22568, 549, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 49, 102, 834, 210, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 690, 834, 858, 834, 28062, 3274, 96, 3537, 29, 7, 7250, 6, 126, 25453, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
provide the number of patients whose year of death is less than or equal to 2131 and diagnoses icd9 code is 20972?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.dod_year <= "2131.0" AND diagnoses.icd9_code = "20972"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
Name the result for willis alston
CREATE TABLE table_73999 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text )
SELECT "Result" FROM table_73999 WHERE "Incumbent" = 'Willis Alston'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4552, 19446, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 8160, 121, 1499, 6, 96, 20119, 121, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20119, 121, 21680, 953, 834, 4552, 19446, 549, 17444, 427, 96, 1570, 75, 5937, 295, 121, 3274, 3, 31, 518, 1092, 159, 901, 4411, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Nationality has a Fate of sunk, and a Name of alderamin?
CREATE TABLE table_name_67 ( nationality VARCHAR, fate VARCHAR, name VARCHAR )
SELECT nationality FROM table_name_67 WHERE fate = "sunk" AND name = "alderamin"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 1157, 485, 584, 4280, 28027, 6, 15126, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 868, 485, 65, 3, 9, 1176...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 1157, 485, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 15126, 3274, 96, 7, 6513, 121, 3430, 564, 3274, 96, 138, 588, 9, 1109, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What are the names of all the reviewers and movie names?
CREATE TABLE rating ( rid number, mid number, stars number, ratingdate time ) CREATE TABLE reviewer ( rid number, name text ) CREATE TABLE movie ( mid number, title text, year number, director text )
SELECT name FROM reviewer UNION SELECT title FROM movie
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5773, 41, 5413, 381, 6, 2076, 381, 6, 4811, 381, 6, 5773, 5522, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1132, 49, 41, 5413, 381, 6, 564, 1499, 3, 61, 3, 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, 564, 21680, 1132, 49, 4417, 9215, 3, 23143, 14196, 2233, 21680, 1974, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which artist does the album "Balls to the Wall" belong to?
CREATE TABLE ALBUM (ArtistId VARCHAR, Title VARCHAR); CREATE TABLE ARTIST (Name VARCHAR, ArtistId VARCHAR)
SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T1.Title = "Balls to the Wall"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 71, 16976, 6122, 41, 7754, 343, 196, 26, 584, 4280, 28027, 6, 11029, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 8241, 13582, 41, 23954, 584, 4280, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 23954, 21680, 71, 16976, 6122, 6157, 332, 536, 3, 15355, 3162, 3, 8241, 13582, 6157, 332, 357, 9191, 332, 5411, 7754, 343, 196, 26, 3274, 332, 4416, 7754, 343, 196, 26, 549, 17444, 427, 332, 5411, 382, 15...
Who are the gt3 pro / am cup winners when the gt3 pro cup winner was no. 1 vita4one?
CREATE TABLE table_30060356_3 ( gt3_pro___am_cup_winner VARCHAR, gt3_pro_cup_winner VARCHAR )
SELECT gt3_pro___am_cup_winner FROM table_30060356_3 WHERE gt3_pro_cup_winner = "No. 1 Vita4One"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5426, 3328, 2469, 948, 834, 519, 41, 3, 122, 17, 519, 834, 1409, 834, 834, 834, 265, 834, 4658, 834, 3757, 687, 584, 4280, 28027, 6, 3, 122, 17, 519, 834, 1409, 834, 4658...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 122, 17, 519, 834, 1409, 834, 834, 834, 265, 834, 4658, 834, 3757, 687, 21680, 953, 834, 5426, 3328, 2469, 948, 834, 519, 549, 17444, 427, 3, 122, 17, 519, 834, 1409, 834, 4658, 834, 3757, 687, 3274, 96, 4168, ...
List the production code for the episode had 5.55 million viewers?
CREATE TABLE table_3193 ( "Episode #" real, "Production Count" real, "Original Airdate" text, "Prod. Code" text, "Title" text, "Viewing Figures millions" text )
SELECT "Prod. Code" FROM table_3193 WHERE "Viewing Figures millions" = '5.55'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3341, 4271, 41, 96, 427, 102, 159, 32, 221, 1713, 121, 490, 6, 96, 3174, 8291, 3, 10628, 121, 490, 6, 96, 667, 3380, 10270, 1761, 5522, 121, 1499, 6, 96, 3174, 26, 5, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3174, 26, 5, 3636, 121, 21680, 953, 834, 3341, 4271, 549, 17444, 427, 96, 15270, 53, 7996, 7, 4040, 121, 3274, 3, 31, 15938, 755, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many faculty members does each building have? List the result with the name of the building Visualize by bar chart, order total number from low to high order.
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 Participates_in ( stuid INTEGER, actid INTEGER ) CREATE TABLE Faculty_Participates_in ( FacID INTEGER, actid INTEGER ) CREATE TABLE Faculty ( FacID INTEGER, Lname VARCHAR(15), Fname VARCHAR(15), Rank VARCHAR(15), Sex VARCHAR(1), Phone INTEGER, Room VARCHAR(5), Building VARCHAR(13) ) CREATE TABLE Activity ( actid INTEGER, activity_name varchar(25) )
SELECT Building, COUNT(*) FROM Faculty GROUP BY Building ORDER BY COUNT(*)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6341, 41, 3, 13076, 4309, 3, 21342, 17966, 6, 301, 23954, 584, 4280, 28027, 599, 2122, 201, 377, 4350, 584, 4280, 28027, 599, 2122, 201, 7526, 3, 21342, 17966, 6, 679, 226, 584, 4280, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5450, 6, 2847, 17161, 599, 1935, 61, 21680, 16896, 350, 4630, 6880, 272, 476, 5450, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Show the number of addrens history for each customer in a bar chart.
CREATE TABLE Customer_Orders ( order_id INTEGER, customer_id INTEGER, order_date DATETIME, order_status_code VARCHAR(15) ) CREATE TABLE Order_Items ( order_item_id INTEGER, order_id INTEGER, product_id INTEGER, order_quantity VARCHAR(80) ) CREATE TABLE Addresses ( address_id INTEGER, line_1_number_building VARCHAR(80), city VARCHAR(50), zip_postcode VARCHAR(20), state_province_county VARCHAR(50), country VARCHAR(50) ) CREATE TABLE Contacts ( contact_id INTEGER, customer_id INTEGER, gender VARCHAR(1), first_name VARCHAR(80), last_name VARCHAR(50), contact_phone VARCHAR(80) ) CREATE TABLE Products ( product_id INTEGER, product_type_code VARCHAR(15), product_name VARCHAR(80), product_price DOUBLE ) CREATE TABLE Customers ( customer_id INTEGER, payment_method_code VARCHAR(15), customer_number VARCHAR(20), customer_name VARCHAR(80), customer_address VARCHAR(255), customer_phone VARCHAR(80), customer_email VARCHAR(80) ) CREATE TABLE Customer_Address_History ( customer_id INTEGER, address_id INTEGER, date_from DATETIME, date_to DATETIME )
SELECT T2.customer_name, COUNT(T2.customer_name) FROM Customer_Address_History AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id JOIN Addresses AS T3 ON T1.address_id = T3.address_id GROUP BY T2.customer_name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7327, 834, 7395, 588, 7, 41, 455, 834, 23, 26, 3, 21342, 17966, 6, 884, 834, 23, 26, 3, 21342, 17966, 6, 455, 834, 5522, 309, 6048, 382, 15382, 6, 455, 834, 8547, 302, 834, 4978, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25697, 49, 834, 4350, 6, 2847, 17161, 599, 382, 4416, 25697, 49, 834, 4350, 61, 21680, 7327, 834, 20773, 9377, 834, 12146, 13029, 6157, 332, 536, 3, 15355, 3162, 16423, 6157, 332, 357, 9191, 332, 5411, 2569...
Who was the home team for the game played at Lake Oval?
CREATE TABLE table_51842 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Home team" FROM table_51842 WHERE "Venue" = 'lake oval'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2606, 4165, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 372, 121, 21680, 953, 834, 755, 2606, 4165, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 16948, 17986, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the number of distinct teams that suffer elimination?
CREATE TABLE wrestler ( wrestler_id number, name text, reign text, days_held text, location text, event text ) CREATE TABLE elimination ( elimination_id text, wrestler_id text, team text, eliminated_by text, elimination_move text, time text )
SELECT COUNT(DISTINCT team) FROM elimination
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 26033, 52, 41, 26033, 52, 834, 23, 26, 381, 6, 564, 1499, 6, 17367, 1499, 6, 477, 834, 14796, 1499, 6, 1128, 1499, 6, 605, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 372, 61, 21680, 23458, 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, ...
What is the try bonus that has llangefni rfc as the club?
CREATE TABLE table_name_22 ( try_bonus VARCHAR, club VARCHAR )
SELECT try_bonus FROM table_name_22 WHERE club = "llangefni rfc"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 653, 834, 5407, 302, 584, 4280, 28027, 6, 1886, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 653, 4023, 24, 65, 3, 40, 11327, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 653, 834, 5407, 302, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 1886, 3274, 96, 40, 11327, 89, 29, 23, 3, 52, 89, 75, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many grids had more than 61 laps?
CREATE TABLE table_55510 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT SUM("Grid") FROM table_55510 WHERE "Laps" > '61'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 28803, 1714, 41, 96, 20982, 52, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 13313, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13313, 26, 8512, 21680, 953, 834, 28803, 1714, 549, 17444, 427, 96, 3612, 102, 7, 121, 2490, 3, 31, 4241, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the smallest Earnings that has a Money list rank of 6 and Starts smaller than 22?
CREATE TABLE table_name_93 (earnings__ INTEGER, money_list_rank VARCHAR, starts VARCHAR)
SELECT MIN(earnings__) AS $_ FROM table_name_93 WHERE money_list_rank = "6" AND starts < 22
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 2741, 29, 53, 7, 834, 834, 3, 21342, 17966, 6, 540, 834, 3350, 834, 6254, 584, 4280, 28027, 6, 3511, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 2741, 29, 53, 7, 834, 834, 61, 6157, 1514, 834, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 540, 834, 3350, 834, 6254, 3274, 96, 948, 121, 3430, 3511, 3, 2, 1630, 1, -100, -100, -100, -100, ...
what was the sum of patient 025-55786's hospital bill during their stay on their first hospital visit?
CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time )
SELECT SUM(cost.cost) FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '025-55786' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime LIMIT 1)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8209, 41, 8209, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 8209, 4350, 1499, 6, 8209, 715, 97, 6, 3, 447, 26, 1298, 4978, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11290, 5, 11290, 61, 21680, 583, 549, 17444, 427, 583, 5, 10061, 15878, 3734, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15878, 3734, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, ...
Name the block A for shuji kondo
CREATE TABLE table_name_93 (block_a VARCHAR, toshizo VARCHAR)
SELECT block_a FROM table_name_93 WHERE toshizo = "shuji kondo"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 10734, 834, 9, 584, 4280, 28027, 6, 12, 7, 107, 14406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 2463, 71, 21, 3, 14279, 354, 23, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2463, 834, 9, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 12, 7, 107, 14406, 3274, 96, 14279, 354, 23, 3, 157, 17381, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
WHAT IS THE TEAM WITH AN OF POSITION AND PICK OF 24?
CREATE TABLE table_name_93 ( team VARCHAR, position VARCHAR, pick VARCHAR )
SELECT team FROM table_name_93 WHERE position = "of" AND pick = 24
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 372, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 1432, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 21665, 6827, 1853, 332, 22684, 11951, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 372, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 1102, 3274, 96, 858, 121, 3430, 1432, 3274, 997, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
WHich Mountains classification has an Asian team classification of seoul cycling team, and a Winner of alexandre usov?
CREATE TABLE table_name_99 (mountains_classification VARCHAR, asian_team_classification VARCHAR, winner VARCHAR)
SELECT mountains_classification FROM table_name_99 WHERE asian_team_classification = "seoul cycling team" AND winner = "alexandre usov"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 11231, 13676, 834, 4057, 2420, 584, 4280, 28027, 6, 3, 9, 10488, 834, 11650, 834, 4057, 2420, 584, 4280, 28027, 6, 4668, 584, 4280, 28027, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 8022, 834, 4057, 2420, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 3, 9, 10488, 834, 11650, 834, 4057, 2420, 3274, 96, 7, 15, 7115, 13771, 372, 121, 3430, 4668, 3274, 96, 138, 994, 232, 60, 178, 32, 208, 12...
What is the Standalone when Tron is the Arcade?
CREATE TABLE table_66311 ( "Year" text, "Arcade" text, "Standalone" text, "Console" text, "Computer" text )
SELECT "Standalone" FROM table_66311 WHERE "Arcade" = 'tron'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 519, 2596, 41, 96, 476, 2741, 121, 1499, 6, 96, 188, 52, 6615, 121, 1499, 6, 96, 134, 17, 232, 138, 782, 121, 1499, 6, 96, 4302, 10294, 121, 1499, 6, 96, 5890, 25...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 17, 232, 138, 782, 121, 21680, 953, 834, 3539, 519, 2596, 549, 17444, 427, 96, 188, 52, 6615, 121, 3274, 3, 31, 6255, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What were the match points when Bordeaux-B gles was eliminated from competition?
CREATE TABLE table_30162 ( "Proceed to Quarter-final" text, "Match points" text, "Aggregate score" text, "Points margin" real, "Eliminated from competition" text )
SELECT "Match points" FROM table_30162 WHERE "Eliminated from competition" = 'Bordeaux-Bègles'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25626, 4056, 41, 96, 3174, 75, 6958, 12, 17610, 18, 12406, 121, 1499, 6, 96, 329, 14547, 979, 121, 1499, 6, 96, 188, 122, 18301, 342, 2604, 121, 1499, 6, 96, 22512, 7, 63...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 329, 14547, 979, 121, 21680, 953, 834, 25626, 4056, 549, 17444, 427, 96, 427, 4941, 77, 920, 45, 2259, 121, 3274, 3, 31, 279, 127, 26, 9063, 18, 279, 5115, 3537, 7, 31, 1, -100, -100, -100, -100, -100, -100, ...
What date was Grimsby Town the away team?
CREATE TABLE table_name_34 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_34 WHERE away_team = "grimsby town"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 5522, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 47, 23427, 7, 969, 4463, 8, 550, 372, 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, 833, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 550, 834, 11650, 3274, 96, 3496, 51, 7, 969, 1511, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Standalone in the year when Space Invaders is the Console?
CREATE TABLE table_name_43 ( standalone VARCHAR, console VARCHAR )
SELECT standalone FROM table_name_43 WHERE console = "space invaders"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 27162, 584, 4280, 28027, 6, 8990, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7351, 138, 782, 16, 8, 215, 116, 5844, 86, 900, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 27162, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 8990, 3274, 96, 6633, 24281, 52, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What did the home team Hawthorn score in the game attended by more than 14,922 people?
CREATE TABLE table_51954 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Home team score" FROM table_51954 WHERE "Crowd" > '14,922' AND "Home team" = 'hawthorn'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2294, 5062, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 372, 2604, 121, 21680, 953, 834, 755, 2294, 5062, 549, 17444, 427, 96, 254, 3623, 26, 121, 2490, 3, 31, 2534, 6, 4508, 357, 31, 3430, 96, 19040, 372, 121, 3274, 3, 31, 1024, 210, 17, 6293, 31, 1, -100...
Which tournament had a winning score of −5 (69-69-73=211)?
CREATE TABLE table_name_37 (tournament VARCHAR, winning_score VARCHAR)
SELECT tournament FROM table_name_37 WHERE winning_score = −5(69 - 69 - 73 = 211)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 17, 1211, 20205, 17, 584, 4280, 28027, 6, 3447, 834, 7, 9022, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 5892, 141, 3, 9, 3447, 2604, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5892, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 3447, 834, 7, 9022, 3274, 3, 2, 755, 599, 3951, 3, 18, 3, 3951, 3, 18, 3, 4552, 3274, 1401, 6982, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
If the second leg is Instituto, what is the total number of aggregate?
CREATE TABLE table_22042 ( "Home (1st leg)" text, "Home (2nd leg)" text, "1st Leg" text, "2nd leg" text, "Aggregate" text )
SELECT COUNT("Aggregate") FROM table_22042 WHERE "Home (2nd leg)" = 'Instituto'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 1755, 4165, 41, 96, 19040, 4077, 7, 17, 4553, 61, 121, 1499, 6, 96, 19040, 4743, 727, 4553, 61, 121, 1499, 6, 96, 536, 7, 17, 18978, 121, 1499, 6, 96, 357, 727, 45...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 188, 122, 18301, 342, 8512, 21680, 953, 834, 357, 1755, 4165, 549, 17444, 427, 96, 19040, 4743, 727, 4553, 61, 121, 3274, 3, 31, 9496, 32, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100...
what are the u.s. air dates with a Canadian air date of may 4, 2009
CREATE TABLE table_12294557_3 ( us_airdate VARCHAR, canadian_airdate VARCHAR )
SELECT us_airdate FROM table_12294557_3 WHERE canadian_airdate = "May 4, 2009"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 3166, 2128, 3436, 834, 519, 41, 178, 834, 2256, 5522, 584, 4280, 28027, 6, 54, 9, 8603, 834, 2256, 5522, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 178, 834, 2256, 5522, 21680, 953, 834, 2122, 3166, 2128, 3436, 834, 519, 549, 17444, 427, 54, 9, 8603, 834, 2256, 5522, 3274, 96, 15881, 6464, 2464, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What type of surface was used for the game played on September 20, 1993?
CREATE TABLE table_name_93 ( surface VARCHAR, date VARCHAR )
SELECT surface FROM table_name_93 WHERE date = "september 20, 1993"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 1774, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 686, 13, 1774, 47, 261, 21, 8, 467, 1944, 30, 1600, 16047,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1774, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 833, 3274, 96, 7, 6707, 18247, 16047, 8388, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which opponent had an attendance of 40,070?
CREATE TABLE table_name_48 (opponent VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_48 WHERE attendance = "40,070"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 32, 102, 9977, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 15264, 141, 46, 11364, 13, 1283, 6, 632, 2518, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 11364, 3274, 96, 2445, 6, 632, 2518, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the numbers for the order number 713096-713119?
CREATE TABLE table_2351952_1 ( numbers VARCHAR, order_number VARCHAR )
SELECT numbers FROM table_2351952_1 WHERE order_number = "713096-713119"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25174, 22464, 357, 834, 536, 41, 2302, 584, 4280, 28027, 6, 455, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 2302, 21, 8, 455, 381,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2302, 21680, 953, 834, 25174, 22464, 357, 834, 536, 549, 17444, 427, 455, 834, 5525, 1152, 3274, 96, 4450, 1458, 4314, 6832, 2368, 19993, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Min press has none Death and seven Storm names?
CREATE TABLE table_name_68 ( min_press___mbar__ VARCHAR, deaths VARCHAR, storm_name VARCHAR )
SELECT min_press___mbar__ FROM table_name_68 WHERE deaths = "none" AND storm_name = "seven"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 3519, 834, 4715, 834, 834, 834, 51, 1047, 834, 834, 584, 4280, 28027, 6, 14319, 584, 4280, 28027, 6, 5536, 834, 4350, 584, 4280, 28027, 3, 61, 3, 32102...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3519, 834, 4715, 834, 834, 834, 51, 1047, 834, 834, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 14319, 3274, 96, 29, 782, 121, 3430, 5536, 834, 4350, 3274, 96, 7, 6190, 121, 1, -100, -100, -100, -100, -100, ...
What is the score of champion masahiro kawamura?
CREATE TABLE table_name_32 ( score VARCHAR, champion VARCHAR )
SELECT score FROM table_name_32 WHERE champion = "masahiro kawamura"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 2604, 584, 4280, 28027, 6, 6336, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 13, 6336, 9358, 9288, 32, 3, 157, 7396, 1105...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 6336, 3274, 96, 2754, 9, 9288, 32, 3, 157, 7396, 11054, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
High assists belonging to Carmelo Anthony (11) have a record of what?
CREATE TABLE table_17355408_7 ( record VARCHAR, high_assists VARCHAR )
SELECT record FROM table_17355408_7 WHERE high_assists = "Carmelo Anthony (11)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 2469, 5062, 4018, 834, 940, 41, 1368, 584, 4280, 28027, 6, 306, 834, 6500, 7, 17, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 1592, 13041, 12770, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 2517, 2469, 5062, 4018, 834, 940, 549, 17444, 427, 306, 834, 6500, 7, 17, 7, 3274, 96, 6936, 2341, 32, 11016, 4077, 6982, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the NP/NNP for ACDP of 1 and others of 1 and DP/DA of 5
CREATE TABLE table_68967 ( "Event" text, "Date" text, "DP / DA" real, "NP / NNP" text, "COPE" text, "ACDP" real, "Others" real )
SELECT "NP / NNP" FROM table_68967 WHERE "ACDP" = '1' AND "Others" = '1' AND "DP / DA" = '5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 3914, 3708, 41, 96, 427, 2169, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 7410, 3, 87, 3, 4296, 121, 490, 6, 96, 9082, 3, 87, 445, 9082, 121, 1499, 6, 96, 250...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9082, 3, 87, 445, 9082, 121, 21680, 953, 834, 948, 3914, 3708, 549, 17444, 427, 96, 5173, 7410, 121, 3274, 3, 31, 536, 31, 3430, 96, 667, 189, 277, 121, 3274, 3, 31, 536, 31, 3430, 96, 7410, 3, 87, 3, 4296...
What rank is Miller Barber with more than 11 wins?
CREATE TABLE table_name_35 (rank VARCHAR, wins VARCHAR, player VARCHAR)
SELECT rank FROM table_name_35 WHERE wins > 11 AND player = "miller barber"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 6254, 584, 4280, 28027, 6, 9204, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 11003, 19, 9429, 11038, 49, 28, 72,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11003, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 9204, 2490, 850, 3430, 1959, 3274, 96, 51, 7613, 9935, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the To par of the Player with a Score of 73-67-68=208?
CREATE TABLE table_name_89 ( to_par VARCHAR, score VARCHAR )
SELECT to_par FROM table_name_89 WHERE score = 73 - 67 - 68 = 208
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3914, 41, 12, 834, 1893, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 304, 260, 13, 8, 12387, 28, 3, 9, 17763...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 834, 1893, 21680, 953, 834, 4350, 834, 3914, 549, 17444, 427, 2604, 3274, 3, 4552, 3, 18, 3, 3708, 3, 18, 3, 3651, 3274, 3, 23946, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the icao when the country is norway?
CREATE TABLE table_name_28 (icao VARCHAR, country VARCHAR)
SELECT icao FROM table_name_28 WHERE country = "norway"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 2617, 32, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 3, 2617, 32, 116, 8, 684, 19, 3701, 1343, 58, 1,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 2617, 32, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 684, 3274, 96, 29, 127, 1343, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the opponent for the game played on august 20, 2006?
CREATE TABLE table_name_47 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_47 WHERE date = "august 20, 2006"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 32, 102, 9977, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 15264, 21, 8, 467, 1944, 30, 14663, 16047, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 833, 3274, 96, 402, 17198, 16047, 3581, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is Videoconferencing, when Data Conferencing is 'No', and when Web Conferencing is 'No'?
CREATE TABLE table_59589 ( "Name" text, "E-mail server" text, "Faxing" text, "Instant messaging" text, "Telephony" text, "Videoconferencing" text, "Web conferencing" text, "Data conferencing" text, "Application sharing" text, "Electronic meeting system" text, "Synchronous conferencing" text )
SELECT "Videoconferencing" FROM table_59589 WHERE "Data conferencing" = 'no' AND "Web conferencing" = 'no'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3301, 3914, 41, 96, 23954, 121, 1499, 6, 96, 427, 18, 1963, 2460, 121, 1499, 6, 96, 371, 9, 226, 53, 121, 1499, 6, 96, 1570, 7, 3672, 16324, 121, 1499, 6, 96, 382,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25838, 31883, 121, 21680, 953, 834, 755, 3301, 3914, 549, 17444, 427, 96, 20367, 3, 31883, 121, 3274, 3, 31, 29, 32, 31, 3430, 96, 15805, 3, 31883, 121, 3274, 3, 31, 29, 32, 31, 1, -100, -100, -100, -100, -1...
WHAT IS THE TOTAL WITH A NANQUAN OF 9.72, RANK BIGGER THAN 3, NANGUN SMALLER THAN 9.5?
CREATE TABLE table_name_50 (total INTEGER, nangun VARCHAR, nanquan VARCHAR, rank VARCHAR)
SELECT MIN(total) FROM table_name_50 WHERE nanquan = 9.72 AND rank > 3 AND nangun < 9.5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 235, 1947, 3, 21342, 17966, 6, 3, 29, 1468, 202, 584, 4280, 28027, 6, 3, 29, 152, 4960, 29, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 61, 3, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 3, 29, 152, 4960, 29, 3274, 5835, 5865, 3430, 11003, 2490, 220, 3430, 3, 29, 1468, 202, 3, 2, 3, 22321, 1, -100, -100, -100, -100, ...
tell me the number of patients diagnosed with obstructive sleep apnea who have been admitted for more than 26 days.
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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "26" AND diagnoses.short_title = "Obstructive sleep apnea"
[ 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...
What is the roll number of Orautoha school in Raetihi, which has a decile smaller than 8?
CREATE TABLE table_name_63 ( roll INTEGER, decile VARCHAR, area VARCHAR, name VARCHAR )
SELECT SUM(roll) FROM table_name_63 WHERE area = "raetihi" AND name = "orautoha school" AND decile < 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 3812, 3, 21342, 17966, 6, 7908, 109, 584, 4280, 28027, 6, 616, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 4046, 61, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 616, 3274, 96, 52, 9, 15, 17, 23, 107, 23, 121, 3430, 564, 3274, 96, 127, 8010, 1024, 496, 121, 3430, 7908, 109, 3, 2, 505, 1, -100, ...
What was the round when nueza silva played against greece?
CREATE TABLE table_name_31 (round VARCHAR, against VARCHAR)
SELECT round FROM table_name_31 WHERE against = "greece"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 7775, 584, 4280, 28027, 6, 581, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1751, 116, 206, 457, 9, 108, 40, 900, 1944, 581, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1751, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 581, 3274, 96, 3584, 15, 565, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Find the location and all games score of the school that has Clemson as its team name.
CREATE TABLE basketball_match ( All_Games VARCHAR, school_id VARCHAR ) CREATE TABLE university ( location VARCHAR, school_id VARCHAR )
SELECT t2.All_Games, t1.location FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id = t2.school_id WHERE team_name = 'Clemson'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 432, 834, 23055, 7, 584, 4280, 28027, 6, 496, 834, 23, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 1128, 584, 42...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17, 4416, 6838, 834, 23055, 7, 6, 3, 17, 5411, 14836, 21680, 3819, 6157, 3, 17, 536, 3, 15355, 3162, 8498, 834, 19515, 6157, 3, 17, 357, 9191, 3, 17, 5411, 6646, 834, 23, 26, 3274, 3, 17, 4416, 6646, 834, 2...
how many patients whose drug name is maalox/diphenhydramine/lidocaine and drug route is po?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "Maalox/Diphenhydramine/Lidocaine" AND prescriptions.route = "PO"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
what's district with candidates being curt weldon (r) 61.3% bill spingler (d) 38.7%
CREATE TABLE table_1341586_39 ( district VARCHAR, candidates VARCHAR )
SELECT district FROM table_1341586_39 WHERE candidates = "Curt Weldon (R) 61.3% Bill Spingler (D) 38.7%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 1808, 3840, 834, 3288, 41, 3939, 584, 4280, 28027, 6, 4341, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 31, 7, 3939, 28, 4341, 271, 5495, 17, 62, 40...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 3939, 21680, 953, 834, 23747, 1808, 3840, 834, 3288, 549, 17444, 427, 4341, 3274, 96, 254, 450, 17, 101, 40, 2029, 41, 448, 61, 3, 4241, 5, 5170, 3259, 10792, 12683, 41, 308, 61, 6654, 5, 6170, 121, 1, -100, -100,...
body mass index ( bmi ) of 25 to 35.5 kg / m2, and a total body weight > 50 kg ( 110 lbs ) .
CREATE TABLE table_dev_26 ( "id" int, "gender" string, "hemoglobin_a1c_hba1c" float, "dyslipidemia" bool, "body_weight" float, "hba1c" float, "body_mass_index_bmi" float, "hypertension" bool, "NOUSE" float )
SELECT * FROM table_dev_26 WHERE body_mass_index_bmi >= 25 AND body_mass_index_bmi <= 35.5 AND body_weight > 50
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9776, 834, 2688, 41, 96, 23, 26, 121, 16, 17, 6, 96, 122, 3868, 121, 6108, 6, 96, 6015, 32, 14063, 77, 834, 9, 536, 75, 834, 107, 115, 9, 536, 75, 121, 3, 12660, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9776, 834, 2688, 549, 17444, 427, 643, 834, 2754, 7, 834, 18288, 834, 115, 51, 23, 2490, 2423, 944, 3430, 643, 834, 2754, 7, 834, 18288, 834, 115, 51, 23, 3, 2, 2423, 220, 15938, 3430, 643, ...
What is the Hindi associated with a Domari of t r n?
CREATE TABLE table_38096 ( "Hindi" text, "Romani" text, "Domari" text, "Lomavren" text, "Persian" text )
SELECT "Hindi" FROM table_38096 WHERE "Domari" = 'tærən'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22671, 4314, 41, 96, 566, 8482, 121, 1499, 6, 96, 25139, 23, 121, 1499, 6, 96, 4135, 17289, 121, 1499, 6, 96, 434, 32, 51, 9, 10859, 29, 121, 1499, 6, 96, 12988, 10488, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 566, 8482, 121, 21680, 953, 834, 22671, 4314, 549, 17444, 427, 96, 4135, 17289, 121, 3274, 3, 31, 17, 2, 52, 2, 29, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
A bar chart about how many hosts does each nationality have? List the nationality and the count.
CREATE TABLE party_host ( Party_ID int, Host_ID int, Is_Main_in_Charge bool ) CREATE TABLE host ( Host_ID int, Name text, Nationality text, Age text ) CREATE TABLE party ( Party_ID int, Party_Theme text, Location text, First_year text, Last_year text, Number_of_hosts int )
SELECT Nationality, COUNT(*) FROM host GROUP BY Nationality
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1088, 834, 12675, 41, 3450, 834, 4309, 16, 17, 6, 1546, 7, 17, 834, 4309, 16, 17, 6, 27, 7, 834, 21978, 29, 834, 77, 834, 18947, 397, 3, 12840, 40, 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, 868, 485, 6, 2847, 17161, 599, 1935, 61, 21680, 2290, 350, 4630, 6880, 272, 476, 868, 485, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the radio with the most mhz ?
CREATE TABLE table_204_164 ( id number, "branding" text, "callsign" text, "frequency" text, "power (kw)" text, "location" text )
SELECT "branding" FROM table_204_164 ORDER BY "frequency" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 26987, 41, 3, 23, 26, 381, 6, 96, 12164, 53, 121, 1499, 6, 96, 16482, 6732, 121, 1499, 6, 96, 30989, 121, 1499, 6, 96, 6740, 41, 157, 210, 61, 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, 12164, 53, 121, 21680, 953, 834, 26363, 834, 26987, 4674, 11300, 272, 476, 96, 30989, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the Agg., when Team 1 was VSADC?
CREATE TABLE table_name_38 ( agg VARCHAR, team_1 VARCHAR )
SELECT agg FROM table_name_38 WHERE team_1 = "vsadc"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 3, 9, 4102, 584, 4280, 28027, 6, 372, 834, 536, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 71, 4102, 5, 6, 116, 2271, 209, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 9, 4102, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 372, 834, 536, 3274, 96, 208, 7, 9, 26, 75, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many teams are in Bridgewater, NJ, USA?
CREATE TABLE table_1283 ( "Year / Theme" text, "Award name" text, "Team name" text, "Team number" real, "City, State/Country" text )
SELECT COUNT("Team name") FROM table_1283 WHERE "City, State/Country" = 'Bridgewater, NJ, USA'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 4591, 41, 96, 476, 2741, 3, 87, 37, 526, 121, 1499, 6, 96, 188, 2239, 564, 121, 1499, 6, 96, 18699, 564, 121, 1499, 6, 96, 18699, 381, 121, 490, 6, 96, 254, 485, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 18699, 564, 8512, 21680, 953, 834, 2122, 4591, 549, 17444, 427, 96, 254, 485, 6, 1015, 87, 10628, 651, 121, 3274, 3, 31, 279, 7700, 3552, 6, 11522, 6, 2312, 31, 1, -100, -100, -100, -100, -1...
Name the air date for jay j. demopoulos
CREATE TABLE table_24466855_1 (original_air_date VARCHAR, written_by VARCHAR)
SELECT original_air_date FROM table_24466855_1 WHERE written_by = "Jay J. Demopoulos"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 4448, 3651, 3769, 834, 536, 41, 21878, 834, 2256, 834, 5522, 584, 4280, 28027, 6, 1545, 834, 969, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 799, 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, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 926, 834, 2256, 834, 5522, 21680, 953, 834, 2266, 4448, 3651, 3769, 834, 536, 549, 17444, 427, 1545, 834, 969, 3274, 96, 683, 9, 63, 446, 5, 15782, 102, 1063, 2298, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
Which Rank is the lowest one that has a Name of maribor cathedral?
CREATE TABLE table_74821 ( "Rank" real, "Name" text, "Location" text, "Height Metres / feet" text, "Floors" text )
SELECT MIN("Rank") FROM table_74821 WHERE "Name" = 'maribor cathedral'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3707, 2658, 41, 96, 22557, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 3845, 2632, 8146, 60, 7, 3, 87, 1922, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 22557, 8512, 21680, 953, 834, 940, 3707, 2658, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 17289, 6693, 26411, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many wins were listed when he had 112 points?
CREATE TABLE table_24998088_1 (wins VARCHAR, points VARCHAR)
SELECT wins FROM table_24998088_1 WHERE points = "112"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 3264, 2079, 4060, 834, 536, 41, 3757, 7, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 9204, 130, 2616, 116, 3, 88, 141, 85...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9204, 21680, 953, 834, 2266, 3264, 2079, 4060, 834, 536, 549, 17444, 427, 979, 3274, 96, 2596, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Year(s) won of 1994 , 1997 has what average total?
CREATE TABLE table_name_6 ( total INTEGER, year_s__won VARCHAR )
SELECT AVG(total) FROM table_name_6 WHERE year_s__won = "1994 , 1997"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 792, 3, 21342, 17966, 6, 215, 834, 7, 834, 834, 210, 106, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2929, 599, 7, 61, 751, 13, 7520, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 215, 834, 7, 834, 834, 210, 106, 3274, 96, 2294, 4240, 3, 6, 6622, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
find the name of pilots who did not win the matches held in the country of Australia.
CREATE TABLE airport_aircraft ( id number, airport_id number, aircraft_id number ) CREATE TABLE airport ( airport_id number, airport_name text, total_passengers number, %_change_2007 text, international_passengers number, domestic_passengers number, transit_passengers number, aircraft_movements number, freight_metric_tonnes number ) CREATE TABLE match ( round number, location text, country text, date text, fastest_qualifying text, winning_pilot text, winning_aircraft text ) CREATE TABLE pilot ( pilot_id number, name text, age number ) CREATE TABLE aircraft ( aircraft_id number, aircraft text, description text, max_gross_weight text, total_disk_area text, max_disk_loading text )
SELECT name FROM pilot WHERE NOT pilot_id IN (SELECT winning_pilot FROM match WHERE country = 'Australia')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3761, 834, 2256, 6696, 41, 3, 23, 26, 381, 6, 3761, 834, 23, 26, 381, 6, 6442, 834, 23, 26, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3761, 41, 3761, 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, 564, 21680, 4487, 549, 17444, 427, 4486, 4487, 834, 23, 26, 3388, 41, 23143, 14196, 3447, 834, 24650, 21680, 1588, 549, 17444, 427, 684, 3274, 3, 31, 31971, 31, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the minimum and maximum crime rate of counties?
CREATE TABLE county_public_safety (Crime_rate INTEGER)
SELECT MIN(Crime_rate), MAX(Crime_rate) FROM county_public_safety
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5435, 834, 15727, 834, 15233, 17, 63, 41, 254, 5397, 15, 834, 2206, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 2559, 11, 2411, 5447, 1080, 13, 16227, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 254, 5397, 15, 834, 2206, 201, 4800, 4, 599, 254, 5397, 15, 834, 2206, 61, 21680, 5435, 834, 15727, 834, 15233, 17, 63, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the NFL team for the player who's college was North Carolina?
CREATE TABLE table_1438 ( "Pick #" real, "NFL Team" text, "Player" text, "Position" text, "College" text )
SELECT "NFL Team" FROM table_1438 WHERE "College" = 'North Carolina'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 3747, 41, 96, 345, 3142, 1713, 121, 490, 6, 96, 12619, 434, 2271, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 9939, 7883, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12619, 434, 2271, 121, 21680, 953, 834, 2534, 3747, 549, 17444, 427, 96, 9939, 7883, 121, 3274, 3, 31, 22969, 5089, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Venue has a Home team score of 12.14 (86)?
CREATE TABLE table_10212 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Venue" FROM table_10212 WHERE "Home team score" = '12.14 (86)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 14388, 2122, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 553, 35, 76, 15, 121, 21680, 953, 834, 14388, 2122, 549, 17444, 427, 96, 19040, 372, 2604, 121, 3274, 3, 31, 9368, 2534, 41, 3840, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What season in sanskrit means summer in English?
CREATE TABLE table_name_34 ( season_in_sanskrit VARCHAR, season_in_english VARCHAR )
SELECT season_in_sanskrit FROM table_name_34 WHERE season_in_english = "summer"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 774, 834, 77, 834, 7, 3247, 10648, 17, 584, 4280, 28027, 6, 774, 834, 77, 834, 4606, 40, 1273, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 774, 834, 77, 834, 7, 3247, 10648, 17, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 774, 834, 77, 834, 4606, 40, 1273, 3274, 96, 23541, 52, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which builder has a Fuel Propulsion of diesel, a Model of d40lf, and an Order Year of 2005?
CREATE TABLE table_71694 ( "Builder" text, "Model" text, "Length (ft/m)" text, "Order Year" text, "Fuel Propulsion" text, "Fleet Series (Quantity)" text )
SELECT "Builder" FROM table_71694 WHERE "Fuel Propulsion" = 'diesel' AND "Model" = 'd40lf' AND "Order Year" = '2005'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4450, 3951, 591, 41, 96, 24752, 49, 121, 1499, 6, 96, 24663, 121, 1499, 6, 96, 434, 4606, 189, 41, 89, 17, 87, 51, 61, 121, 1499, 6, 96, 7395, 588, 2929, 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, 24752, 49, 121, 21680, 953, 834, 4450, 3951, 591, 549, 17444, 427, 96, 371, 76, 15, 40, 749, 20567, 121, 3274, 3, 31, 7719, 15, 40, 31, 3430, 96, 24663, 121, 3274, 3, 31, 26, 2445, 40, 89, 31, 3430, 96, 73...
How many patients have a diagnoses short title of stevens-johnson-ten syn with pb route of drug administration?
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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Stevens-Johnson-TEN syn" AND prescriptions.route = "PB"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...