NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Which title has a rating over 9.3, but where the 18-49 range rated under 5.5, and the airdate was on January 11, 2007?
CREATE TABLE table_10802 ( "Episode" real, "Title" text, "Airdate" text, "Rating" real, "Share" real, "18-49" real, "Viewers" real, "Rank" text )
SELECT "Title" FROM table_10802 WHERE "Rating" > '9.3' AND "18-49" < '5.5' AND "Airdate" = 'january 11, 2007'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 16169, 4305, 41, 96, 427, 102, 159, 32, 221, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 20162, 5522, 121, 1499, 6, 96, 448, 1014, 121, 490, 6, 96, 24501, 121, 49...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 155, 109, 121, 21680, 953, 834, 16169, 4305, 549, 17444, 427, 96, 448, 1014, 121, 2490, 3, 31, 8797, 519, 31, 3430, 96, 2606, 18, 3647, 121, 3, 2, 3, 31, 15938, 31, 3430, 96, 20162, 5522, 121, 3274, 3, ...
What is the IHSAA class of the school with less than 400 students and a mascot of the Tigers?
CREATE TABLE table_name_51 (ihsaa_class VARCHAR, size VARCHAR, mascot VARCHAR)
SELECT ihsaa_class FROM table_name_51 WHERE size < 400 AND mascot = "tigers"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5553, 41, 23, 107, 7, 9, 9, 834, 4057, 584, 4280, 28027, 6, 812, 584, 4280, 28027, 6, 3, 2754, 4310, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 23, 107, 7, 9, 9, 834, 4057, 21680, 953, 834, 4350, 834, 5553, 549, 17444, 427, 812, 3, 2, 4837, 3430, 3, 2754, 4310, 3274, 96, 2880, 277, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Please compare the number of the church by open date (bin into the weekday) using a bar chart, and order total number from high to low order.
CREATE TABLE church ( Church_ID int, Name text, Organized_by text, Open_Date int, Continuation_of text ) CREATE TABLE people ( People_ID int, Name text, Country text, Is_Male text, Age int ) CREATE TABLE wedding ( Church_ID int, Male_ID int, Female_ID int, Year int )
SELECT Open_Date, COUNT(Open_Date) FROM church ORDER BY COUNT(Open_Date) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2078, 41, 2345, 834, 4309, 16, 17, 6, 5570, 1499, 6, 18190, 1601, 834, 969, 1499, 6, 2384, 834, 308, 342, 16, 17, 6, 3, 16798, 76, 257, 834, 858, 1499, 3, 61, 3, 32102, 32103, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2384, 834, 308, 342, 6, 2847, 17161, 599, 22696, 834, 308, 342, 61, 21680, 2078, 4674, 11300, 272, 476, 2847, 17161, 599, 22696, 834, 308, 342, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Give me a histogram to show the date and the amount for all the payments processed with Visa, and show in asc by the Y-axis please.
CREATE TABLE Customer_Policies ( Policy_ID INTEGER, Customer_ID INTEGER, Policy_Type_Code CHAR(15), Start_Date DATE, End_Date DATE ) 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 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) )
SELECT Date_Payment_Made, Amount_Payment FROM Payments WHERE Payment_Method_Code = 'Visa' ORDER BY Amount_Payment
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7327, 834, 8931, 447, 725, 41, 7587, 834, 4309, 3, 21342, 17966, 6, 7327, 834, 4309, 3, 21342, 17966, 6, 7587, 834, 25160, 834, 22737, 3, 28027, 599, 1808, 201, 3273, 834, 308, 342, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 11231, 834, 19702, 297, 21680, 12248, 7, 549, 17444, 427, 12248, 834, 23351, 107, 32, 26, 834, 22737, 3274, 3, 31, 553, 159, 9, 31, 4674, 11300, 272, 476, 71, 11231,...
What is the Week number with a result of l 31 28?
CREATE TABLE table_41315 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text )
SELECT COUNT("Week") FROM table_41315 WHERE "Result" = 'l 31–28'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2368, 1808, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 518, 10266, 8512, 21680, 953, 834, 591, 2368, 1808, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 40, 2664, 104, 2577, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Player has a Position of forward, and a School/Club Team of georgia tech?
CREATE TABLE table_name_22 ( player VARCHAR, position VARCHAR, school_club_team VARCHAR )
SELECT player FROM table_name_22 WHERE position = "forward" AND school_club_team = "georgia tech"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 1959, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 496, 834, 13442, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 12387, 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, 1959, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 1102, 3274, 96, 26338, 121, 3430, 496, 834, 13442, 834, 11650, 3274, 96, 397, 1677, 23, 9, 5256, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What News Freq has a Time of 1:00pm 4:00pm?
CREATE TABLE table_78995 ( "Time" text, "Show Name" text, "Local/Networked" text, "Ad Freq" text, "News Freq" text )
SELECT "News Freq" FROM table_78995 WHERE "Time" = '1:00pm–4:00pm'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 3264, 755, 41, 96, 13368, 121, 1499, 6, 96, 134, 4067, 5570, 121, 1499, 6, 96, 434, 32, 1489, 87, 9688, 1981, 15, 26, 121, 1499, 6, 96, 188, 26, 5532, 1824, 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, 6861, 7, 5532, 1824, 121, 21680, 953, 834, 3940, 3264, 755, 549, 17444, 427, 96, 13368, 121, 3274, 3, 31, 24294, 2028, 104, 591, 10, 1206, 2028, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the lowest round2 when round5 is 71 and round4 is more than 64?
CREATE TABLE table_8511 ( "Rank" real, "Team" text, "Round1" real, "Round2" real, "Round3" real, "Round4" real, "Round5" real, "Total Points" real )
SELECT MIN("Round2") FROM table_8511 WHERE "Round5" = '71' AND "Round4" > '64'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4433, 2596, 41, 96, 22557, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 448, 32, 1106, 536, 121, 490, 6, 96, 448, 32, 1106, 357, 121, 490, 6, 96, 448, 32, 1106, 519, 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, 3, 17684, 599, 121, 448, 32, 1106, 357, 8512, 21680, 953, 834, 4433, 2596, 549, 17444, 427, 96, 448, 32, 1106, 17395, 3274, 3, 31, 4450, 31, 3430, 96, 448, 32, 1106, 20364, 2490, 3, 31, 4389, 31, 1, -100, -100, ...
How many different players trained for more than 1000 hours?
CREATE TABLE college ( cname text, state text, enr number ) CREATE TABLE player ( pid number, pname text, ycard text, hs number ) CREATE TABLE tryout ( pid number, cname text, ppos text, decision text )
SELECT COUNT(*) FROM player WHERE hs > 1000
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1900, 41, 3, 75, 4350, 1499, 6, 538, 1499, 6, 3, 35, 52, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1959, 41, 3, 12417, 381, 6, 3, 102, 4350, 1499, 6, 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, 2847, 17161, 599, 1935, 61, 21680, 1959, 549, 17444, 427, 3, 107, 7, 2490, 5580, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Year is the highest one that has a Next Highest Spender of aarp, and a US Cham Spending of $39,805,000, and a US Cham Rank larger than 1?
CREATE TABLE table_name_16 (year INTEGER, us_cham_rank VARCHAR, next_highest_spender VARCHAR, us_cham_spending VARCHAR)
SELECT MAX(year) FROM table_name_16 WHERE next_highest_spender = "aarp" AND us_cham_spending = "$39,805,000" AND us_cham_rank > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2938, 41, 1201, 3, 21342, 17966, 6, 178, 834, 17788, 834, 6254, 584, 4280, 28027, 6, 416, 834, 6739, 222, 834, 23490, 49, 584, 4280, 28027, 6, 178, 834, 17788, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 1201, 61, 21680, 953, 834, 4350, 834, 2938, 549, 17444, 427, 416, 834, 6739, 222, 834, 23490, 49, 3274, 96, 9, 291, 102, 121, 3430, 178, 834, 17788, 834, 7, 11577, 3274, 96, 3229, 3288, 6, 2079, 5898...
out of total number of patients treated with gentamicin sulfate, how many of them have a confirmed death status?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE 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 prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.expire_flag = "1" AND prescriptions.drug = "Gentamicin Sulfate"
[ 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, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Please show the employee first names and ids of employees who serve at least 10 customers.
CREATE TABLE CUSTOMER (FirstName VARCHAR, SupportRepId VARCHAR); CREATE TABLE EMPLOYEE (EmployeeId VARCHAR)
SELECT T1.FirstName, T1.SupportRepId FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId GROUP BY T1.SupportRepId HAVING COUNT(*) >= 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 205, 16847, 667, 13098, 41, 25171, 23954, 584, 4280, 28027, 6, 4224, 1649, 102, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 262, 5244, 5017, 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, 332, 5411, 25171, 23954, 6, 332, 5411, 134, 413, 1493, 1649, 102, 196, 26, 21680, 205, 16847, 667, 13098, 6157, 332, 536, 3, 15355, 3162, 262, 5244, 5017, 476, 5080, 6157, 332, 357, 9191, 332, 5411, 134, 413, 1493, ...
return me the total citations of papers in PVLDB in each year .
CREATE TABLE publication_keyword ( kid int, pid int ) CREATE TABLE publication ( abstract varchar, cid int, citation_num int, jid int, pid int, reference_num int, title varchar, year int ) CREATE TABLE domain_author ( aid int, did int ) CREATE TABLE cite ( cited int, citing int ) CREATE TABLE keyword ( keyword varchar, kid int ) CREATE TABLE domain_journal ( did int, jid int ) CREATE TABLE author ( aid int, homepage varchar, name varchar, oid int ) CREATE TABLE domain_publication ( did int, pid int ) CREATE TABLE domain_keyword ( did int, kid int ) CREATE TABLE conference ( cid int, homepage varchar, name varchar ) CREATE TABLE domain ( did int, name varchar ) CREATE TABLE journal ( homepage varchar, jid int, name varchar ) CREATE TABLE writes ( aid int, pid int ) CREATE TABLE organization ( continent varchar, homepage varchar, name varchar, oid int ) CREATE TABLE domain_conference ( cid int, did int )
SELECT publication.year, SUM(publication.citation_num) FROM journal, publication WHERE journal.name = 'PVLDB' AND publication.jid = journal.jid GROUP BY publication.year
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5707, 834, 4397, 6051, 41, 4984, 16, 17, 6, 3, 12417, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 5707, 41, 9838, 3, 4331, 4059, 6, 3, 10812, 16, 17, 6, 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, 5707, 5, 1201, 6, 180, 6122, 599, 15727, 257, 5, 13903, 834, 5525, 61, 21680, 6378, 6, 5707, 549, 17444, 427, 6378, 5, 4350, 3274, 3, 31, 345, 553, 9815, 279, 31, 3430, 5707, 5, 354, 23, 26, 3274, 6378, 5, 354, ...
What is the Player that has a To standard of 7?
CREATE TABLE table_name_47 ( player VARCHAR, to_par VARCHAR )
SELECT player FROM table_name_47 WHERE to_par = "–7"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 1959, 584, 4280, 28027, 6, 12, 834, 1893, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 12387, 24, 65, 3, 9, 304, 1068, 13, 489...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1959, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 12, 834, 1893, 3274, 96, 104, 940, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
With a To par of 2, what is Johnny Miller's Place?
CREATE TABLE table_50702 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "Place" FROM table_50702 WHERE "To par" = '–2' AND "Player" = 'johnny miller'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1752, 2518, 357, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 11706, 121, 21680, 953, 834, 1752, 2518, 357, 549, 17444, 427, 96, 3696, 260, 121, 3274, 3, 31, 104, 357, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 27341, 29, 63, 3293, 49, 31, 1, -100, -100, -100, -10...
Find the parties associated with the delegates from district 1 Who served as governors of the parties, and count them by a bar chart, I want to show total number in ascending order please.
CREATE TABLE election ( Election_ID int, Counties_Represented text, District int, Delegate text, Party int, First_Elected real, Committee text ) CREATE TABLE party ( Party_ID int, Year real, Party text, Governor text, Lieutenant_Governor text, Comptroller text, Attorney_General text, US_Senate text ) CREATE TABLE county ( County_Id int, County_name text, Population real, Zip_code text )
SELECT Governor, COUNT(Governor) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID WHERE T1.District = 1 GROUP BY Governor ORDER BY COUNT(Governor)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4356, 41, 19488, 834, 4309, 16, 17, 6, 3, 10628, 725, 834, 1649, 12640, 15, 26, 1499, 6, 3570, 16, 17, 6, 374, 8791, 1499, 6, 3450, 16, 17, 6, 1485, 834, 21543, 15, 26, 490, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 10510, 6, 2847, 17161, 599, 27304, 127, 61, 21680, 4356, 6157, 332, 536, 3, 15355, 3162, 1088, 6157, 332, 357, 9191, 332, 5411, 13725, 63, 3274, 332, 4416, 13725, 63, 834, 4309, 549, 17444, 427, 332, 5411, 308, 23, ...
What's the tries against count of the team with 396 points against?
CREATE TABLE table_14070062_3 (tries_against VARCHAR, points_against VARCHAR)
SELECT COUNT(tries_against) FROM table_14070062_3 WHERE points_against = "396"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22012, 9295, 4056, 834, 519, 41, 9000, 834, 9, 16720, 7, 17, 584, 4280, 28027, 6, 979, 834, 9, 16720, 7, 17, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 9000, 834, 9, 16720, 7, 17, 61, 21680, 953, 834, 22012, 9295, 4056, 834, 519, 549, 17444, 427, 979, 834, 9, 16720, 7, 17, 3274, 96, 519, 4314, 121, 1, -100, -100, -100, -100, -100, -100, -100, -1...
Where is the Church that has a Sub-Parish (Sokn) of rugsund?
CREATE TABLE table_name_64 ( location_of_the_church VARCHAR, sub_parish__sokn_ VARCHAR )
SELECT location_of_the_church FROM table_name_64 WHERE sub_parish__sokn_ = "rugsund"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 1128, 834, 858, 834, 532, 834, 28854, 584, 4280, 28027, 6, 769, 834, 1893, 1273, 834, 834, 7, 1825, 29, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1128, 834, 858, 834, 532, 834, 28854, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 769, 834, 1893, 1273, 834, 834, 7, 1825, 29, 834, 3274, 96, 22024, 1106, 121, 1, -100, -100, -100, -100, -100, -100, -100, -10...
where is citv located
CREATE TABLE table_1397655_1 (city VARCHAR, station VARCHAR)
SELECT city FROM table_1397655_1 WHERE station = "CITV"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24090, 3959, 3769, 834, 536, 41, 6726, 584, 4280, 28027, 6, 2478, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 213, 19, 6895, 208, 1069, 1, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 690, 21680, 953, 834, 24090, 3959, 3769, 834, 536, 549, 17444, 427, 2478, 3274, 96, 3597, 4562, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the score for opponent @ Tigers on July 24?
CREATE TABLE table_14873 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text )
SELECT "Score" FROM table_14873 WHERE "Opponent" = '@ tigers' AND "Date" = 'july 24'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24748, 4552, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 7, 7, 121, 1499, 6, 96, 1649, 7621, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 24748, 4552, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 1741, 3, 2880, 277, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 2047, 120, 997, 31, 1, -100, -100, -100, -10...
What was the overall draft pick for the player selected for the tight end position?
CREATE TABLE table_33793 ( "Round" real, "Overall" real, "Player" text, "Position" text, "College" text )
SELECT "Overall" FROM table_33793 WHERE "Position" = 'tight end'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 4118, 4271, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 23847, 1748, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 9939, 7883, 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, 23847, 1748, 121, 21680, 953, 834, 519, 4118, 4271, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 17, 2632, 414, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the order in office for spiro agnew
CREATE TABLE table_23635 ( "Rank by time in office" real, "Order in office" real, "Vice President" text, "Length of term in days" real, "Explanation" text )
SELECT "Order in office" FROM table_23635 WHERE "Vice President" = 'Spiro Agnew'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3420, 2469, 41, 96, 22557, 57, 97, 16, 828, 121, 490, 6, 96, 7395, 588, 16, 828, 121, 490, 6, 96, 553, 867, 1661, 121, 1499, 6, 96, 434, 4606, 189, 13, 1657, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 7395, 588, 16, 828, 121, 21680, 953, 834, 357, 3420, 2469, 549, 17444, 427, 96, 553, 867, 1661, 121, 3274, 3, 31, 134, 2388, 32, 4821, 5534, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the First Publisher in 2007?
CREATE TABLE table_name_8 ( first_publisher VARCHAR, year VARCHAR )
SELECT first_publisher FROM table_name_8 WHERE year = 2007
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 166, 834, 29337, 49, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1485, 19816, 16, 4101, 58, 1, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 166, 834, 29337, 49, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 215, 3274, 4101, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Tie no when Crystal Palace is the Away team?
CREATE TABLE table_name_37 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_37 WHERE away_team = "crystal palace"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 17, 23, 15, 834, 29, 32, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2262, 15, 150, 116, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6177, 834, 29, 32, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 550, 834, 11650, 3274, 96, 75, 651, 8407, 20212, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the Director of the Original title of The Crying Game?
CREATE TABLE table_80061 ( "Year" text, "English title" text, "Original title" text, "Country" text, "Director" text )
SELECT "Director" FROM table_80061 WHERE "Original title" = 'the crying game'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 6192, 4241, 41, 96, 476, 2741, 121, 1499, 6, 96, 26749, 2233, 121, 1499, 6, 96, 667, 3380, 10270, 2233, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 23620, 127, 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, 1...
[ 3, 23143, 14196, 96, 23620, 127, 121, 21680, 953, 834, 6192, 4241, 549, 17444, 427, 96, 667, 3380, 10270, 2233, 121, 3274, 3, 31, 532, 20621, 467, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What score has amblecote as the venue?
CREATE TABLE table_34340 ( "Score" text, "Opposition" text, "Venue" text, "City" text, "Year" real )
SELECT "Score" FROM table_34340 WHERE "Venue" = 'amblecote'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3710, 21129, 41, 96, 134, 9022, 121, 1499, 6, 96, 667, 102, 4718, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 254, 485, 121, 1499, 6, 96, 476, 2741, 121, 490, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 3710, 21129, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 265, 2296, 4310, 15, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the score of the home team tottenham hotspur?
CREATE TABLE table_name_94 ( score VARCHAR, home_team VARCHAR )
SELECT score FROM table_name_94 WHERE home_team = "tottenham hotspur"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 2604, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 13, 8, 234, 372, 12, 17, 324, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 234, 834, 11650, 3274, 96, 235, 17, 324, 1483, 1312, 7, 3791, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest rank for Nat Lofthouse, and goals more than 255?
CREATE TABLE table_41599 ( "Rank" real, "Name" text, "Years" text, "Matches" real, "Goals" real )
SELECT MAX("Rank") FROM table_41599 WHERE "Name" = 'nat lofthouse' AND "Goals" > '255'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 1808, 3264, 41, 96, 22557, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 476, 2741, 7, 121, 1499, 6, 96, 329, 144, 2951, 121, 490, 6, 96, 6221, 5405, 121, 490, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 22557, 8512, 21680, 953, 834, 591, 1808, 3264, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 29, 144, 13871, 1840, 31, 3430, 96, 6221, 5405, 121, 2490, 3, 31, 25502, 31, 1, -100, -100, -100, -10...
Name the district for anti-jacksonian
CREATE TABLE table_2668243_18 (district VARCHAR, party VARCHAR)
SELECT district FROM table_2668243_18 WHERE party = "Anti-Jacksonian"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 3651, 27730, 834, 2606, 41, 26, 23, 20066, 584, 4280, 28027, 6, 1088, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 3939, 21, 1181, 18, 9325, 7, 8008, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3939, 21680, 953, 834, 2688, 3651, 27730, 834, 2606, 549, 17444, 427, 1088, 3274, 96, 27355, 18, 683, 4365, 7, 8008, 29, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who was the Champion in Snellville, GA in 2006?
CREATE TABLE table_name_46 (champion VARCHAR, location VARCHAR, year VARCHAR)
SELECT champion FROM table_name_46 WHERE location = "snellville, ga" AND year = "2006"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 17788, 12364, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 16127, 16, 180, 1036...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6336, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 1128, 3274, 96, 7, 10361, 1420, 6, 7922, 121, 3430, 215, 3274, 96, 21196, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those records from the products and each product's manufacturer, a bar chart shows the distribution of headquarter and the sum of price , and group by attribute headquarter.
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
SELECT Headquarter, SUM(Price) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15248, 7, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 3642, 19973, 584, 4280, 28027, 599, 25502, 201, 3, 19145, 584, 4280, 28027, 599, 25502, 201, 19764, 17833...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3642, 19973, 6, 180, 6122, 599, 345, 4920, 61, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272, 476, 3642...
count the number of patients whose year of death is less than or equal to 2115 and drug code is glyb5?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dod_year <= "2115.0" AND prescriptions.formulary_drug_cd = "GLYB5"
[ 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 is the To Par score for the player from France?
CREATE TABLE table_61275 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "To par" FROM table_61275 WHERE "Country" = 'france'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4241, 25988, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 96, 3696, 260, 121, 21680, 953, 834, 4241, 25988, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 89, 5219, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the result in 2009 for the US Open Tournament?
CREATE TABLE table_name_17 ( tournament VARCHAR )
SELECT 2009 FROM table_name_17 WHERE tournament = "us open"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 5892, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 741, 16, 2464, 21, 8, 837, 2384, 20502, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2464, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 5892, 3274, 96, 302, 539, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many milion of viewers where in the episode called in english "is a great way to care"
CREATE TABLE table_29633639_1 (hk_viewers VARCHAR, english_title VARCHAR)
SELECT hk_viewers FROM table_29633639_1 WHERE english_title = "A Great Way to Care"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 3891, 3420, 3288, 834, 536, 41, 107, 157, 834, 4576, 277, 584, 4280, 28027, 6, 22269, 834, 21869, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 149, 186, 3, 5952...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 107, 157, 834, 4576, 277, 21680, 953, 834, 3166, 3891, 3420, 3288, 834, 536, 549, 17444, 427, 22269, 834, 21869, 3274, 96, 188, 1651, 5994, 12, 2686, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
provide the number of patients whose admission type is elective and year of birth is less than 2074?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.dob_year < "2074"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 9, 26, 5451, 834, 6137, 3274, 96, 3577, 14196, 8087, 121, 3430, 14798, 5, 26, 32, 115, 834, 1201...
Find the names of schools that have some players in the mid position but not in the goalie position.
CREATE TABLE tryout ( cName VARCHAR, pPos VARCHAR )
SELECT cName FROM tryout WHERE pPos = 'mid' EXCEPT SELECT cName FROM tryout WHERE pPos = 'goalie'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 653, 670, 41, 3, 75, 23954, 584, 4280, 28027, 6, 3, 102, 345, 32, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2588, 8, 3056, 13, 2061, 24, 43, 128, 1508, 16, 8, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 75, 23954, 21680, 653, 670, 549, 17444, 427, 3, 102, 345, 32, 7, 3274, 3, 31, 6983, 31, 262, 4, 30416, 3, 23143, 14196, 3, 75, 23954, 21680, 653, 670, 549, 17444, 427, 3, 102, 345, 32, 7, 3274, 3, 31, 839, ...
What are the remarks for the entry ranked greater than 2 with a skyteam (2012) alliance?
CREATE TABLE table_name_23 (remarks VARCHAR, rank VARCHAR, alliance VARCHAR)
SELECT remarks FROM table_name_23 WHERE rank > 2 AND alliance = "skyteam (2012)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 60, 3920, 7, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 15454, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 21029, 21, 8, 176...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 21029, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 11003, 2490, 204, 3430, 15454, 3274, 96, 5352, 11650, 24705, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Group by services attribute in station table and compute the total number of services with a bar chart, display x-axis from high to low order please.
CREATE TABLE train ( id int, train_number int, name text, origin text, destination text, time text, interval text ) CREATE TABLE route ( train_id int, station_id int ) CREATE TABLE station ( id int, network_name text, services text, local_authority text ) CREATE TABLE weekly_weather ( station_id int, day_of_week text, high_temperature int, low_temperature int, precipitation real, wind_speed_mph int )
SELECT services, COUNT(services) FROM station GROUP BY services ORDER BY services DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2412, 41, 3, 23, 26, 16, 17, 6, 2412, 834, 5525, 1152, 16, 17, 6, 564, 1499, 6, 5233, 1499, 6, 3954, 1499, 6, 97, 1499, 6, 8572, 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, 364, 6, 2847, 17161, 599, 5114, 7, 61, 21680, 2478, 350, 4630, 6880, 272, 476, 364, 4674, 11300, 272, 476, 364, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many goals against were scored when the goals for is less than 48 with 0 ties?
CREATE TABLE table_name_65 (goals_against VARCHAR, goals_for VARCHAR, ties VARCHAR)
SELECT COUNT(goals_against) FROM table_name_65 WHERE goals_for < 48 AND ties < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 839, 5405, 834, 9, 16720, 7, 17, 584, 4280, 28027, 6, 1766, 834, 1161, 584, 4280, 28027, 6, 3, 3010, 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, 2847, 17161, 599, 839, 5405, 834, 9, 16720, 7, 17, 61, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 1766, 834, 1161, 3, 2, 4678, 3430, 3, 3010, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -1...
Name the high points for pepsi center 19,155
CREATE TABLE table_23285761_8 ( high_points VARCHAR, location_attendance VARCHAR )
SELECT high_points FROM table_23285761_8 WHERE location_attendance = "Pepsi Center 19,155"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 2577, 3436, 4241, 834, 927, 41, 306, 834, 2700, 7, 584, 4280, 28027, 6, 1128, 834, 15116, 663, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 306, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 306, 834, 2700, 7, 21680, 953, 834, 2773, 2577, 3436, 4241, 834, 927, 549, 17444, 427, 1128, 834, 15116, 663, 3274, 96, 345, 15, 102, 7, 23, 1166, 12370, 20896, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100...
Name the high rebounds for record 7-1
CREATE TABLE table_18894744_5 ( high_rebounds VARCHAR, record VARCHAR )
SELECT high_rebounds FROM table_18894744_5 WHERE record = "7-1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 3914, 4177, 3628, 834, 755, 41, 306, 834, 23768, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 306, 3, 23768, 21, 1368, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 306, 834, 23768, 21680, 953, 834, 2606, 3914, 4177, 3628, 834, 755, 549, 17444, 427, 1368, 3274, 96, 940, 2292, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the language/dialect when basikal is sepeda and boleh is bulih?
CREATE TABLE table_name_63 ( language_dialect VARCHAR, basikal VARCHAR, boleh VARCHAR )
SELECT language_dialect FROM table_name_63 WHERE basikal = "sepeda" AND boleh = "bulih"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 1612, 834, 26, 23, 9, 3437, 584, 4280, 28027, 6, 3905, 23, 4766, 584, 4280, 28027, 6, 3, 4243, 15, 107, 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, 1612, 834, 26, 23, 9, 3437, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 3905, 23, 4766, 3274, 96, 7, 15, 3138, 9, 121, 3430, 3, 4243, 15, 107, 3274, 96, 6724, 23, 107, 121, 1, -100, -100, -100, -100, -100...
The hanja is for what province?
CREATE TABLE table_72742 ( "Former kingdom" text, "Province" text, "Hangul" text, "Hanja" text, "Capital" text, "Modern equivalent" text )
SELECT "Province" FROM table_72742 WHERE "Hanja" = '朔州'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5865, 4581, 357, 41, 96, 3809, 935, 14740, 121, 1499, 6, 96, 3174, 2494, 565, 121, 1499, 6, 96, 566, 1468, 83, 121, 1499, 6, 96, 566, 152, 1191, 121, 1499, 6, 96, 19566, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2494, 565, 121, 21680, 953, 834, 5865, 4581, 357, 549, 17444, 427, 96, 566, 152, 1191, 121, 3274, 3, 31, 2, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Opponent In Final, when Surface is Hard, when Location is Wellington, New Zealand, and when Date is 6 February 2000?
CREATE TABLE table_name_72 (opponent_in_final VARCHAR, date VARCHAR, surface VARCHAR, location VARCHAR)
SELECT opponent_in_final FROM table_name_72 WHERE surface = "hard" AND location = "wellington, new zealand" AND date = "6 february 2000"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 32, 102, 9977, 834, 77, 834, 12406, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 6, 1774, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 61, 3, 32102, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 15264, 834, 77, 834, 12406, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 1774, 3274, 96, 5651, 121, 3430, 1128, 3274, 96, 2091, 6029, 6, 126, 3, 776, 138, 232, 121, 3430, 833, 3274, 96, 948, 29976, 76, 1208, ...
What is the pluperfect for the perfect si bio/la; bio/la si?
CREATE TABLE table_29408 ( "Pronoun" text, "Present" text, "1st" text, "2nd" text, "perfect" text, "aorist" text, "imperfect" text, "pluperfect" text )
SELECT "pluperfect" FROM table_29408 WHERE "perfect" = 'si bio/la; bio/la si'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4240, 4018, 41, 96, 3174, 15358, 29, 121, 1499, 6, 96, 10572, 5277, 121, 1499, 6, 96, 536, 7, 17, 121, 1499, 6, 96, 357, 727, 121, 1499, 6, 96, 22588, 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, 12456, 22588, 121, 21680, 953, 834, 357, 4240, 4018, 549, 17444, 427, 96, 22588, 121, 3274, 3, 31, 7, 23, 2392, 87, 521, 117, 2392, 87, 521, 108, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Show all branch names with the number of members in each branch registered after 2015.
CREATE TABLE membership_register_branch ( member_id number, branch_id text, register_year text ) CREATE TABLE purchase ( member_id number, branch_id text, year text, total_pounds number ) CREATE TABLE member ( member_id number, card_number text, name text, hometown text, level number ) CREATE TABLE branch ( branch_id number, name text, open_year text, address_road text, city text, membership_amount text )
SELECT T2.name, COUNT(*) FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id = T2.branch_id WHERE T1.register_year > 2015 GROUP BY T2.branch_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4757, 834, 22149, 834, 1939, 5457, 41, 1144, 834, 23, 26, 381, 6, 6421, 834, 23, 26, 1499, 6, 3691, 834, 1201, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1242,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4350, 6, 2847, 17161, 599, 1935, 61, 21680, 4757, 834, 22149, 834, 1939, 5457, 6157, 332, 536, 3, 15355, 3162, 6421, 6157, 332, 357, 9191, 332, 5411, 1939, 5457, 834, 23, 26, 3274, 332, 4416, 1939, 5457, ...
What is the Home team on April 2?
CREATE TABLE table_name_43 ( home VARCHAR, date VARCHAR )
SELECT home FROM table_name_43 WHERE date = "april 2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 234, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1210, 372, 30, 1186, 204, 58, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 833, 3274, 96, 9, 2246, 40, 204, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many people wrote the episode with 3.40 million U.S viewers?
CREATE TABLE table_3639 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "U.S. viewers (in millions)" text )
SELECT COUNT("Written by") FROM table_3639 WHERE "U.S. viewers (in millions)" = '3.40'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 3288, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 4168, 5, 16, 774, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 24965, 324, 57, 8512, 21680, 953, 834, 3420, 3288, 549, 17444, 427, 96, 1265, 5, 134, 5, 13569, 41, 77, 4040, 61, 121, 3274, 3, 31, 5787, 2445, 31, 1, -100, -100, -100, -100, -100, -100, -10...
Who was the Ottoman Sultan where the treaty at the end of the war was the Treaty of Constantinople (1590)?
CREATE TABLE table_27064 ( "Name of the war" text, "Ottoman sultan" text, "Persian shah" text, "Treaty at the end of the war" text, "Victor" text )
SELECT "Ottoman sultan" FROM table_27064 WHERE "Treaty at the end of the war" = 'Treaty of Constantinople (1590)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17485, 4389, 41, 96, 23954, 13, 8, 615, 121, 1499, 6, 96, 667, 17, 235, 348, 3, 7, 83, 17, 152, 121, 1499, 6, 96, 12988, 10488, 6660, 9, 107, 121, 1499, 6, 96, 382, 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, 667, 17, 235, 348, 3, 7, 83, 17, 152, 121, 21680, 953, 834, 17485, 4389, 549, 17444, 427, 96, 382, 60, 144, 63, 44, 8, 414, 13, 8, 615, 121, 3274, 3, 31, 382, 60, 144, 63, 13, 15838, 32, 4788, 17251, 239...
How many combination classifications have the winner as Erik Zabel and a points classification as Alessandro Petacchi
CREATE TABLE table_15059783_1 (combination_classification VARCHAR, points_classification VARCHAR, winner VARCHAR)
SELECT COUNT(combination_classification) FROM table_15059783_1 WHERE points_classification = "Alessandro Petacchi" AND winner = "Erik Zabel"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 3076, 21441, 519, 834, 536, 41, 9763, 77, 257, 834, 4057, 2420, 584, 4280, 28027, 6, 979, 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, 2847, 17161, 599, 9763, 77, 257, 834, 4057, 2420, 61, 21680, 953, 834, 1808, 3076, 21441, 519, 834, 536, 549, 17444, 427, 979, 834, 4057, 2420, 3274, 96, 188, 924, 9, 22357, 5520, 9, 75, 1436, 121, 3430, 4668, 3274,...
Name of sue bird that involves what team?
CREATE TABLE table_name_27 ( team VARCHAR, name VARCHAR )
SELECT team FROM table_name_27 WHERE name = "sue bird"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 372, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 13, 2629, 15, 5963, 24, 5806, 125, 372, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 564, 3274, 96, 7, 76, 15, 5963, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What date was the Site michigan stadium ann arbor, mi?
CREATE TABLE table_37989 ( "Date" text, "Opponent" text, "Site" text, "Result" text, "Attendance" text )
SELECT "Date" FROM table_37989 WHERE "Site" = 'michigan stadium • ann arbor, mi'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 4440, 3914, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 26030, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 519, 4440, 3914, 549, 17444, 427, 96, 26030, 121, 3274, 3, 31, 51, 362, 12588, 14939, 1697, 46, 29, 22561, 6, 1337, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the 2nd leg score when atlético tucumán played at home?
CREATE TABLE table_name_84 (home__2nd_leg_ VARCHAR)
SELECT 2 AS nd_leg FROM table_name_84 WHERE home__2nd_leg_ = "atlético tucumán"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 5515, 834, 834, 357, 727, 834, 5772, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 204, 727, 4553, 2604, 116, 44, 40, 17678, 50...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 204, 6157, 3, 727, 834, 5772, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 234, 834, 834, 357, 727, 834, 5772, 834, 3274, 96, 144, 40, 17678, 509, 3, 17, 76, 6361, 12916, 121, 1, -100, -100, -100, -100, -100...
What Nationality is Jeff Hornacek?
CREATE TABLE table_name_14 ( nationality VARCHAR, player VARCHAR )
SELECT nationality FROM table_name_14 WHERE player = "jeff hornacek"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 1157, 485, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 868, 485, 19, 8507, 14715, 3302, 157, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1157, 485, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 1959, 3274, 96, 1924, 89, 89, 3, 6293, 3302, 157, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the highest Pick # for the College of Simon Fraser?
CREATE TABLE table_name_14 ( pick__number INTEGER, college VARCHAR )
SELECT MAX(pick__number) FROM table_name_14 WHERE college = "simon fraser"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 1432, 834, 834, 5525, 1152, 3, 21342, 17966, 6, 1900, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2030, 8356, 1713, 21, 8, 1888...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 17967, 834, 834, 5525, 1152, 61, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 1900, 3274, 96, 28348, 29, 8072, 7, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Lane has a Rank larger than 3, and a Time larger than 45.63, and a Reaction smaller than 0.28800000000000003, and an Athlete of geiner mosquera?
CREATE TABLE table_name_60 (lane INTEGER, athlete VARCHAR, react VARCHAR, rank VARCHAR, time VARCHAR)
SELECT MAX(lane) FROM table_name_60 WHERE rank > 3 AND time > 45.63 AND react < 0.28800000000000003 AND athlete = "geiner mosquera"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 8102, 3, 21342, 17966, 6, 17893, 584, 4280, 28027, 6, 8922, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 61, 3, 32102, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 8102, 61, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 11003, 2490, 220, 3430, 97, 2490, 3479, 5, 3891, 3430, 8922, 3, 2, 3, 18189, 4060, 19568, 19568, 19568, 4928, 3430, 17893, 3274, 96, 397, 48...
What away team played Collingwood?
CREATE TABLE table_32340 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Away team" FROM table_32340 WHERE "Home team" = 'collingwood'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2668, 21129, 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, 188, 1343, 372, 121, 21680, 953, 834, 2668, 21129, 549, 17444, 427, 96, 19040, 372, 121, 3274, 3, 31, 3297, 697, 2037, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
When was the record 27-25?
CREATE TABLE table_name_64 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_64 WHERE record = "27-25"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 5522, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 8, 1368, 2307, 14855, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 1368, 3274, 96, 2555, 14855, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the losing bonus count for the club with 9 won games?
CREATE TABLE table_14070062_3 ( losing_bonus VARCHAR, won VARCHAR )
SELECT losing_bonus FROM table_14070062_3 WHERE won = "9"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22012, 9295, 4056, 834, 519, 41, 5489, 834, 5407, 302, 584, 4280, 28027, 6, 751, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 5489, 4023, 3476, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5489, 834, 5407, 302, 21680, 953, 834, 22012, 9295, 4056, 834, 519, 549, 17444, 427, 751, 3274, 96, 1298, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What stage was 1,648 km achieved?
CREATE TABLE table_name_59 (stages VARCHAR, distance VARCHAR)
SELECT stages FROM table_name_59 WHERE distance = "1,648 km"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 10705, 7, 584, 4280, 28027, 6, 2357, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1726, 47, 1914, 948, 3707, 2280, 5153, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6518, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 2357, 3274, 96, 4347, 948, 3707, 2280, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which team has the home average of 18125?
CREATE TABLE table_29309 ( "Team" text, "Home Gms" real, "Home Total" real, "Home Avg" real, "Top Home Crowd" text, "Road Gms" real, "Road Total" real, "Road Avg" real, "Overall Gms" real, "Overall Total" real, "Overall Avg" real )
SELECT "Team" FROM table_29309 WHERE "Home Avg" = '18125'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 1458, 1298, 41, 96, 18699, 121, 1499, 6, 96, 19040, 350, 51, 7, 121, 490, 6, 96, 19040, 9273, 121, 490, 6, 96, 19040, 71, 208, 122, 121, 490, 6, 96, 22481, 1210, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3166, 1458, 1298, 549, 17444, 427, 96, 19040, 71, 208, 122, 121, 3274, 3, 31, 2606, 10124, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show the number of countries for all people whose age is smaller than the average, could you rank in descending by the names?
CREATE TABLE church ( Church_ID int, Name text, Organized_by text, Open_Date int, Continuation_of text ) CREATE TABLE people ( People_ID int, Name text, Country text, Is_Male text, Age int ) CREATE TABLE wedding ( Church_ID int, Male_ID int, Female_ID int, Year int )
SELECT Country, COUNT(Country) FROM people WHERE Age < (SELECT AVG(Age) FROM people) GROUP BY Country ORDER BY Country DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2078, 41, 2345, 834, 4309, 16, 17, 6, 5570, 1499, 6, 18190, 1601, 834, 969, 1499, 6, 2384, 834, 308, 342, 16, 17, 6, 3, 16798, 76, 257, 834, 858, 1499, 3, 61, 3, 32102, 32103, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 6993, 6, 2847, 17161, 599, 10628, 651, 61, 21680, 151, 549, 17444, 427, 7526, 3, 2, 41, 23143, 14196, 71, 17217, 599, 188, 397, 61, 21680, 151, 61, 350, 4630, 6880, 272, 476, 6993, 4674, 11300, 272, 476, 6993, 309, ...
What was the team's rcord on february 1?
CREATE TABLE table_27539535_7 ( record VARCHAR, february VARCHAR )
SELECT record FROM table_27539535_7 WHERE february = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4867, 3301, 2469, 834, 940, 41, 1368, 584, 4280, 28027, 6, 29976, 76, 1208, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 372, 31, 7, 3, 52, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 2555, 4867, 3301, 2469, 834, 940, 549, 17444, 427, 29976, 76, 1208, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest number of points for the Modena Team Spa after 1991?
CREATE TABLE table_name_49 ( points INTEGER, entrant VARCHAR, year VARCHAR )
SELECT MAX(points) FROM table_name_49 WHERE entrant = "modena team spa" AND year > 1991
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 979, 3, 21342, 17966, 6, 3, 295, 3569, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 381, 13, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 3, 295, 3569, 3274, 96, 7360, 35, 9, 372, 4174, 121, 3430, 215, 2490, 9957, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which unique cities are in Asian countries where Chinese is the official language ?
CREATE TABLE city (name VARCHAR, countrycode VARCHAR); CREATE TABLE countrylanguage (countrycode VARCHAR, isofficial VARCHAR, language VARCHAR); CREATE TABLE country (code VARCHAR, continent VARCHAR)
SELECT DISTINCT t3.name FROM country AS t1 JOIN countrylanguage AS t2 ON t1.code = t2.countrycode JOIN city AS t3 ON t1.code = t3.countrycode WHERE t2.isofficial = 't' AND t2.language = 'chinese' AND t1.continent = "asia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 690, 41, 4350, 584, 4280, 28027, 6, 684, 4978, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 684, 24925, 41, 17529, 4978, 584, 4280, 28027, 6, 19, 20884, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 3, 17, 5787, 4350, 21680, 684, 6157, 3, 17, 536, 3, 15355, 3162, 684, 24925, 6157, 3, 17, 357, 9191, 3, 17, 5411, 4978, 3274, 3, 17, 4416, 17529, 4978, 3, 15355, 3162, 690, 6157, 3, 17, 51...
Which Score has a To par of +1 in sweden?
CREATE TABLE table_name_67 ( score VARCHAR, to_par VARCHAR, country VARCHAR )
SELECT score FROM table_name_67 WHERE to_par = "+1" AND country = "sweden"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 2604, 584, 4280, 28027, 6, 12, 834, 1893, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 17763, 65, 3, 9, 304,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 12, 834, 1893, 3274, 96, 18446, 121, 3430, 684, 3274, 96, 7, 1123, 537, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the founded for florida state university
CREATE TABLE table_28253870_1 (founded VARCHAR, institution VARCHAR)
SELECT founded FROM table_28253870_1 WHERE institution = "Florida State University"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 1828, 3747, 2518, 834, 536, 41, 23329, 584, 4280, 28027, 6, 6568, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 5710, 21, 12215, 26, 9, 538, 3819, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5710, 21680, 953, 834, 2577, 1828, 3747, 2518, 834, 536, 549, 17444, 427, 6568, 3274, 96, 11251, 4055, 9, 1015, 636, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who was the High Assist when the High Rebounds was andre iguodala (8)?
CREATE TABLE table_17323042_11 (high_assists VARCHAR, high_rebounds VARCHAR)
SELECT high_assists FROM table_17323042_11 WHERE high_rebounds = "Andre Iguodala (8)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 2668, 1458, 4165, 834, 2596, 41, 6739, 834, 6500, 7, 17, 7, 584, 4280, 28027, 6, 306, 834, 23768, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 306, 834, 6500, 7, 17, 7, 21680, 953, 834, 2517, 2668, 1458, 4165, 834, 2596, 549, 17444, 427, 306, 834, 23768, 3274, 96, 7175, 60, 27, 1744, 32, 26, 138, 9, 3, 28007, 121, 1, -100, -100, -100, -100, -100, -100, ...
If the away teams score was 15.6 (96), what venue did they play at?
CREATE TABLE table_10190 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Venue" FROM table_10190 WHERE "Away team score" = '15.6 (96)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 11776, 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, 1714, 11776, 549, 17444, 427, 96, 188, 1343, 372, 2604, 121, 3274, 3, 31, 536, 25134, 41, 4314, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what are all the percent (1990) where state is united states
CREATE TABLE table_1182314_5 ( percent__1990_ VARCHAR, state VARCHAR )
SELECT percent__1990_ FROM table_1182314_5 WHERE state = "United states"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20056, 2773, 2534, 834, 755, 41, 1093, 834, 834, 2294, 2394, 834, 584, 4280, 28027, 6, 538, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 33, 66, 8, 1093, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1093, 834, 834, 2294, 2394, 834, 21680, 953, 834, 20056, 2773, 2534, 834, 755, 549, 17444, 427, 538, 3274, 96, 5110, 23, 1054, 2315, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What years did Bobby Moore play?
CREATE TABLE table_237757_9 ( nasl_years VARCHAR, player VARCHAR )
SELECT nasl_years FROM table_237757_9 WHERE player = "Bobby Moore"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 4013, 3436, 834, 1298, 41, 3, 29, 9, 7, 40, 834, 1201, 7, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 203, 410, 21395, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29, 9, 7, 40, 834, 1201, 7, 21680, 953, 834, 2773, 4013, 3436, 834, 1298, 549, 17444, 427, 1959, 3274, 96, 279, 32, 115, 969, 11103, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the number of states that has some college whose enrollment is larger than the average enrollment?
CREATE TABLE college ( state VARCHAR, enr INTEGER )
SELECT COUNT(DISTINCT state) FROM college WHERE enr > (SELECT AVG(enr) FROM college)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1900, 41, 538, 584, 4280, 28027, 6, 3, 35, 52, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 381, 13, 2315, 24, 65, 128, 1900, 3, 2544, 17938, 19, 2186, 145, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 538, 61, 21680, 1900, 549, 17444, 427, 3, 35, 52, 2490, 41, 23143, 14196, 71, 17217, 599, 35, 52, 61, 21680, 1900, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many attended the game at Busch Stadium (ii) when the time was 3:54?
CREATE TABLE table_name_88 (attendance VARCHAR, location VARCHAR, time VARCHAR)
SELECT attendance FROM table_name_88 WHERE location = "busch stadium (ii)" AND time = "3:54"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 15116, 663, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 5526, 8, 467, 44, 5703, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11364, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 1128, 3274, 96, 115, 14220, 14939, 41, 23, 23, 61, 121, 3430, 97, 3274, 96, 519, 10, 5062, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
After 1971, what is the Rank with a Height ft (m) of 19.0 477 (145) and less than 35 Floors?
CREATE TABLE table_52861 ( "Rank" text, "Name" text, "Height ft (m)" text, "Floors" real, "Year" real )
SELECT "Rank" FROM table_52861 WHERE "Year" > '1971' AND "Floors" < '35' AND "Height ft (m)" = '19.0 477 (145)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2577, 4241, 41, 96, 22557, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 3845, 2632, 3, 89, 17, 41, 51, 61, 121, 1499, 6, 96, 11251, 127, 7, 121, 490, 6, 96, 476, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 22557, 121, 21680, 953, 834, 755, 2577, 4241, 549, 17444, 427, 96, 476, 2741, 121, 2490, 3, 31, 2294, 4450, 31, 3430, 96, 11251, 127, 7, 121, 3, 2, 3, 31, 2469, 31, 3430, 96, 3845, 2632, 3, 89, 17, 41, 51,...
Name the date for 2004 afc asian cup qualifier
CREATE TABLE table_name_23 (date VARCHAR, competition VARCHAR)
SELECT date FROM table_name_23 WHERE competition = "2004 afc asian cup qualifier"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 5522, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 833, 21, 4406, 3, 9, 89, 75, 3, 9, 10488, 4119, 10597, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 2259, 3274, 96, 21653, 3, 9, 89, 75, 3, 9, 10488, 4119, 10597, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
The location (transmitter site) San Fernando, Pampanga ** has what Power kW (ERP)?
CREATE TABLE table_2610582_2 ( power_kw__erp_ VARCHAR, location__transmitter_site_ VARCHAR )
SELECT power_kw__erp_ FROM table_2610582_2 WHERE location__transmitter_site_ = "San Fernando, Pampanga **"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 12869, 4613, 834, 357, 41, 579, 834, 157, 210, 834, 834, 49, 102, 834, 584, 4280, 28027, 6, 1128, 834, 834, 7031, 1538, 449, 834, 3585, 834, 584, 4280, 28027, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 579, 834, 157, 210, 834, 834, 49, 102, 834, 21680, 953, 834, 2688, 12869, 4613, 834, 357, 549, 17444, 427, 1128, 834, 834, 7031, 1538, 449, 834, 3585, 834, 3274, 96, 134, 152, 28989, 6, 276, 4624, 1468, 9, 14011, ...
What School/Club Team is Player Aaron Williams from?
CREATE TABLE table_name_5 (school_club_team VARCHAR, player VARCHAR)
SELECT school_club_team FROM table_name_5 WHERE player = "aaron williams"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 6646, 834, 13442, 834, 11650, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1121, 87, 254, 11158, 2271, 19, 12387, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 496, 834, 13442, 834, 11650, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 1959, 3274, 96, 9, 291, 106, 56, 23, 265, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the game number for series 4-2?
CREATE TABLE table_name_56 ( game VARCHAR, series VARCHAR )
SELECT COUNT(game) FROM table_name_56 WHERE series = "4-2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 467, 584, 4280, 28027, 6, 939, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 467, 381, 21, 939, 314, 4949, 58, 1, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 7261, 61, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 939, 3274, 96, 591, 4949, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
provide the number of patients whose diagnoses long title is atherosclerosis of native arteries of the extremities with intermittent claudication and drug route is replace?
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 diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Atherosclerosis of native arteries of the extremities with intermittent claudication" AND prescriptions.route = "REPLACE"
[ 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...
What is the total number of discs where the run time was 4 hours 40 minutes?
CREATE TABLE table_1180228_1 ( num_of_discs VARCHAR, duration VARCHAR )
SELECT COUNT(num_of_discs) FROM table_1180228_1 WHERE duration = "4 hours 40 minutes"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20056, 4305, 2577, 834, 536, 41, 3, 5525, 834, 858, 834, 19315, 7, 584, 4280, 28027, 6, 8659, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 5525, 834, 858, 834, 19315, 7, 61, 21680, 953, 834, 20056, 4305, 2577, 834, 536, 549, 17444, 427, 8659, 3274, 96, 591, 716, 1283, 676, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
provide the number of patients whose admission type is emergency and lab test fluid is blood?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND lab.fluid = "Blood"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is Player, when Pick is greater than 24, and when NBA years [a ] is '9'?
CREATE TABLE table_8382 ( "Pick" real, "Player" text, "Pos." text, "Nationality" text, "Team" text, "Previous team" text, "NBA years [a ]" text, "Career with the franchise [b ]" text )
SELECT "Player" FROM table_8382 WHERE "Pick" > '24' AND "NBA years [a ]" = '9'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4591, 4613, 41, 96, 345, 3142, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 535, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 10572,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 4591, 4613, 549, 17444, 427, 96, 345, 3142, 121, 2490, 3, 31, 2266, 31, 3430, 96, 567, 4882, 203, 784, 9, 3, 908, 121, 3274, 3, 31, 1298, 31, 1, -100, -100, -100, -100, -100,...
What date has the Surfers Paradise International Raceway circuit?
CREATE TABLE table_name_52 (date VARCHAR, circuit VARCHAR)
SELECT date FROM table_name_52 WHERE circuit = "surfers paradise international raceway"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 5522, 584, 4280, 28027, 6, 4558, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 65, 8, 18761, 277, 4734, 26, 159, 15, 1331, 10949, 1343, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 4558, 3274, 96, 3042, 1010, 7, 21691, 1038, 1964, 1343, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What shows for W adys awowo, Poland when the world record was clean & jerk?
CREATE TABLE table_name_85 ( władysławowo_ VARCHAR, _poland VARCHAR, world_record VARCHAR )
SELECT władysławowo_, _poland FROM table_name_85 WHERE world_record = "clean & jerk"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 3, 210, 2, 9, 26, 63, 7, 2, 9, 210, 2381, 32, 834, 584, 4280, 28027, 6, 3, 834, 3233, 232, 584, 4280, 28027, 6, 296, 834, 60, 7621, 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, 3, 210, 2, 9, 26, 63, 7, 2, 9, 210, 2381, 32, 834, 6, 3, 834, 3233, 232, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 296, 834, 60, 7621, 3274, 96, 16480, 3, 184, 3, 12488, 157, 121, 1, -100, -100, -10...
Which Record has a Result of loss, and a Time of 3:54?
CREATE TABLE table_name_96 (record VARCHAR, res VARCHAR, time VARCHAR)
SELECT record FROM table_name_96 WHERE res = "loss" AND time = "3:54"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 60, 7621, 584, 4280, 28027, 6, 3, 60, 7, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 11392, 65, 3, 9, 3, 2011...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1368, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 3, 60, 7, 3274, 96, 2298, 7, 121, 3430, 97, 3274, 96, 519, 10, 5062, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who is the second member more recently than 1790 when John Williams is the first member?
CREATE TABLE table_60785 ( "Year" real, "First member" text, "First party" text, "Second member" text, "Second party" text )
SELECT "Second member" FROM table_60785 WHERE "Year" > '1790' AND "First member" = 'john williams'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 3940, 755, 41, 96, 476, 2741, 121, 490, 6, 96, 25171, 1144, 121, 1499, 6, 96, 25171, 1088, 121, 1499, 6, 96, 134, 15, 1018, 26, 1144, 121, 1499, 6, 96, 134, 15, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 15, 1018, 26, 1144, 121, 21680, 953, 834, 3328, 3940, 755, 549, 17444, 427, 96, 476, 2741, 121, 2490, 3, 31, 2517, 2394, 31, 3430, 96, 25171, 1144, 121, 3274, 3, 31, 27341, 56, 23, 265, 7, 31, 1, -100, ...
On what date did the match at Lake Oval take place?
CREATE TABLE table_name_63 ( date VARCHAR, venue VARCHAR )
SELECT date FROM table_name_63 WHERE venue = "lake oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 833, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 461, 125, 833, 410, 8, 1588, 44, 2154, 411, 2165, 240, 286, 58,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 5669, 3274, 96, 16948, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which event won by KCLMS in 2008 has KCLMS as the winner and less than 10 wins by KCL?
CREATE TABLE table_name_74 (events_won_by_kcl VARCHAR, year VARCHAR, winner VARCHAR, events_won_by_kclMS VARCHAR)
SELECT events_won_by_kcl FROM table_name_74 WHERE winner = "kclms" AND events_won_by_kclMS < 10 AND year = 2008
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 15, 2169, 7, 834, 210, 106, 834, 969, 834, 157, 75, 40, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 4668, 584, 4280, 28027, 6, 984, 834, 210, 106,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 984, 834, 210, 106, 834, 969, 834, 157, 75, 40, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 4668, 3274, 96, 157, 75, 40, 51, 7, 121, 3430, 984, 834, 210, 106, 834, 969, 834, 157, 75, 40, 4211, 3, 2, 335...
What is the lowest position with points 1 of 27 2 and fewer than 9 drawn?
CREATE TABLE table_60612 ( "Position" real, "Team" text, "Played" real, "Drawn" real, "Lost" real, "Goals For" real, "Goals Against" real, "Goal Difference" text, "Points 1" text )
SELECT MIN("Position") FROM table_60612 WHERE "Points 1" = '27 2' AND "Drawn" < '9'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 4241, 357, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 308, 10936, 29, 121, 490, 6, 96, 434, 3481, 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, 3, 17684, 599, 121, 345, 32, 7, 4749, 8512, 21680, 953, 834, 3328, 4241, 357, 549, 17444, 427, 96, 22512, 7, 209, 121, 3274, 3, 31, 2555, 204, 31, 3430, 96, 308, 10936, 29, 121, 3, 2, 3, 31, 1298, 31, 1, -100,...
What is every high score for a strike rate of 84.88?
CREATE TABLE table_2985664_8 (high_score VARCHAR, strike_rate VARCHAR)
SELECT high_score FROM table_2985664_8 WHERE strike_rate = "84.88"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3916, 4834, 4389, 834, 927, 41, 6739, 834, 7, 9022, 584, 4280, 28027, 6, 6585, 834, 2206, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 334, 306, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 306, 834, 7, 9022, 21680, 953, 834, 357, 3916, 4834, 4389, 834, 927, 549, 17444, 427, 6585, 834, 2206, 3274, 96, 4608, 5, 4060, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Tell me the ages of the oldest and youngest students studying major 600.
CREATE TABLE voting_record ( stuid number, registration_date text, election_cycle text, president_vote number, vice_president_vote number, secretary_vote number, treasurer_vote number, class_president_vote number, class_senator_vote number ) CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text )
SELECT MAX(age), MIN(age) FROM student WHERE major = 600
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10601, 834, 60, 7621, 41, 21341, 23, 26, 381, 6, 3816, 834, 5522, 1499, 6, 4356, 834, 10136, 1499, 6, 2753, 834, 1621, 17, 15, 381, 6, 6444, 834, 102, 15704, 834, 1621, 17, 15, 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, 4800, 4, 599, 545, 201, 3, 17684, 599, 545, 61, 21680, 1236, 549, 17444, 427, 779, 3274, 7366, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Longi- tude is on jun 6?
CREATE TABLE table_name_28 ( longi__tude VARCHAR, date_³ VARCHAR )
SELECT longi__tude FROM table_name_28 WHERE date_³ = "jun 6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 307, 23, 834, 834, 19835, 584, 4280, 28027, 6, 833, 834, 519, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 3230, 23, 18, 3, 19835, 19,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 307, 23, 834, 834, 19835, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 833, 834, 519, 3274, 96, 6959, 431, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many times was the candidates dick gephardt (d) 81.9% lee buchschacher (r) 18.1%?
CREATE TABLE table_18325 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text )
SELECT COUNT("Incumbent") FROM table_18325 WHERE "Candidates" = 'Dick Gephardt (D) 81.9% Lee Buchschacher (R) 18.1%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24361, 1828, 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, 490, 6, 96, 20119, 121, 1499,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 1570, 75, 5937, 295, 8512, 21680, 953, 834, 24361, 1828, 549, 17444, 427, 96, 14050, 12416, 6203, 121, 3274, 3, 31, 308, 3142, 961, 102, 5651, 17, 41, 308, 61, 3, 4959, 5, 7561, 5531, 4675, ...
Find name of the project that needs the least amount of time to finish and the name of scientists who worked on it.
CREATE TABLE scientists ( ssn number, name text ) CREATE TABLE projects ( code text, name text, hours number ) CREATE TABLE assignedto ( scientist number, project text )
SELECT T2.name, T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.ssn WHERE T2.hours = (SELECT MIN(hours) FROM projects)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7004, 41, 3, 7, 7, 29, 381, 6, 564, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1195, 41, 1081, 1499, 6, 564, 1499, 6, 716, 381, 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, 332, 4416, 4350, 6, 332, 5787, 4350, 21680, 7604, 235, 6157, 332, 536, 3, 15355, 3162, 1195, 6157, 332, 357, 9191, 332, 5411, 23574, 3274, 332, 4416, 4978, 3, 15355, 3162, 7004, 6157, 332, 519, 9191, 332, 5411, 17819,...
What MLB draft has Shaun Boyd?
CREATE TABLE table_name_80 (mlb_draft VARCHAR, player VARCHAR)
SELECT mlb_draft FROM table_name_80 WHERE player = "shaun boyd"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 51, 40, 115, 834, 26, 10913, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 26497, 6488, 65, 3926, 202, 7508, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 51, 40, 115, 834, 26, 10913, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 1959, 3274, 96, 7, 1024, 202, 4940, 26, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the outgoing manager who departed due to fc energie cottbus purchased rights?
CREATE TABLE table_47901 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text, "Position in table" text )
SELECT "Outgoing manager" FROM table_47901 WHERE "Manner of departure" = 'fc energie cottbus purchased rights'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4177, 2394, 536, 41, 96, 18699, 121, 1499, 6, 96, 15767, 9545, 2743, 121, 1499, 6, 96, 7296, 687, 13, 12028, 121, 1499, 6, 96, 308, 342, 13, 3, 29685, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15767, 9545, 2743, 121, 21680, 953, 834, 4177, 2394, 536, 549, 17444, 427, 96, 7296, 687, 13, 12028, 121, 3274, 3, 31, 89, 75, 7804, 3, 10405, 3465, 3907, 2166, 31, 1, -100, -100, -100, -100, -100, -100, -100, ...
What was the Away Team of Blackpool's Home game?
CREATE TABLE table_name_9 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_9 WHERE home_team = "blackpool"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 8006, 834, 11650, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 71, 1343, 2271, 13, 1589, 13194,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 550, 834, 11650, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 234, 834, 11650, 3274, 96, 19699, 13194, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest Pick, when Nationality is "United States", when College is "New Mexico State", and when Round is greater than 6?
CREATE TABLE table_name_35 (pick INTEGER, round VARCHAR, nationality VARCHAR, college VARCHAR)
SELECT MAX(pick) FROM table_name_35 WHERE nationality = "united states" AND college = "new mexico state" AND round > 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 17967, 3, 21342, 17966, 6, 1751, 584, 4280, 28027, 6, 1157, 485, 584, 4280, 28027, 6, 1900, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 17967, 61, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 1157, 485, 3274, 96, 15129, 15, 26, 2315, 121, 3430, 1900, 3274, 96, 5534, 140, 226, 5807, 538, 121, 3430, 1751, 2490, 431, 1, -100, -100, ...
Name the total number of director for oro diablo
CREATE TABLE table_18123274_1 ( director VARCHAR, original_title VARCHAR )
SELECT COUNT(director) FROM table_18123274_1 WHERE original_title = "Oro Diablo"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 14574, 2555, 591, 834, 536, 41, 2090, 584, 4280, 28027, 6, 926, 834, 21869, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 792, 381, 13, 2090, 21, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 25982, 61, 21680, 953, 834, 2606, 14574, 2555, 591, 834, 536, 549, 17444, 427, 926, 834, 21869, 3274, 96, 7395, 32, 5267, 4672, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...