instruction
stringlengths 5
766
| input
stringlengths 38
5.51k
| response
stringlengths 4
3.91k
|
---|---|---|
Name the scores for david baddiel and maureen lipman | CREATE TABLE table_23575917_2 (
scores VARCHAR,
davids_team VARCHAR
) | SELECT COUNT(scores) FROM table_23575917_2 WHERE davids_team = "David Baddiel and Maureen Lipman" |
Which socket goes with the item with release price of $378 and turbo of 6/6/8/9? | CREATE TABLE table_64272 (
"Model number" text,
"sSpec number" text,
"Cores" text,
"Frequency" text,
"Turbo" text,
"L2 cache" text,
"L3 cache" text,
"GPU model" text,
"GPU frequency" text,
"Socket" text,
"I/O bus" text,
"Release date" text,
"Part number(s)" text,
"Release price ( USD )" text
) | SELECT "Socket" FROM table_64272 WHERE "Release price ( USD )" = '$378' AND "Turbo" = '6/6/8/9' |
Name the least game for score of l 93 109 (ot) | CREATE TABLE table_23186738_9 (
game INTEGER,
score VARCHAR
) | SELECT MIN(game) FROM table_23186738_9 WHERE score = "L 93–109 (OT)" |
What year was incumbent jim mcdermott first elected? | CREATE TABLE table_72369 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Status" text,
"Opponent" text
) | SELECT MIN("First elected") FROM table_72369 WHERE "Incumbent" = 'Jim McDermott' |
Where was the location where justin robbins fought against billy kidd? | CREATE TABLE table_name_1 (
location VARCHAR,
opponent VARCHAR
) | SELECT location FROM table_name_1 WHERE opponent = "billy kidd" |
Name the lead for institute of election results and social democratic of 31.7% 8 seats | CREATE TABLE table_name_95 (
lead VARCHAR,
institute VARCHAR,
social_democratic VARCHAR
) | SELECT lead FROM table_name_95 WHERE institute = "election results" AND social_democratic = "31.7% 8 seats" |
What rnds were there for the phoenix international raceway? | CREATE TABLE table_72114 (
"Rnd" text,
"Race Name" text,
"Circuit" text,
"City/Location" text,
"Date" text,
"Pole position" text,
"Winning driver" text,
"Winning team" text,
"Report" text
) | SELECT "Rnd" FROM table_72114 WHERE "Circuit" = 'Phoenix International Raceway' |
What is the total of the game that the team was @ new york? | CREATE TABLE table_44155 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT COUNT("Game") FROM table_44155 WHERE "Team" = '@ new york' |
What is the total number of captains with different classes?, sort by the bars in desc. | CREATE TABLE captain (
Captain_ID int,
Name text,
Ship_ID int,
age text,
Class text,
Rank text
)
CREATE TABLE Ship (
Ship_ID int,
Name text,
Type text,
Built_Year real,
Class text,
Flag text
) | SELECT Class, COUNT(Class) FROM captain GROUP BY Class ORDER BY Class DESC |
What are the total number of podiums for more than 4 laps, and less than 149 races? | CREATE TABLE table_47056 (
"Season" text,
"Races" real,
"Wins" real,
"Podiums" real,
"Poles" real,
"Fastest Laps" real
) | SELECT COUNT("Podiums") FROM table_47056 WHERE "Fastest Laps" > '4' AND "Races" < '149' |
What was the visiting team on october 23? | CREATE TABLE table_name_10 (
visiting_team VARCHAR,
date VARCHAR
) | SELECT visiting_team FROM table_name_10 WHERE date = "october 23" |
What year was USF founded? | CREATE TABLE table_1160660_1 (
date_founded VARCHAR,
acronym VARCHAR
) | SELECT date_founded FROM table_1160660_1 WHERE acronym = "USF" |
What is Method, when Time is '3:20'? | CREATE TABLE table_58771 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Round" real,
"Time" text,
"Location" text
) | SELECT "Method" FROM table_58771 WHERE "Time" = '3:20' |
What is the English title of the film directed by Fernando Meirelles? | CREATE TABLE table_name_53 (
english_title VARCHAR,
director_s_ VARCHAR
) | SELECT english_title FROM table_name_53 WHERE director_s_ = "fernando meirelles" |
What is the number of silver where the rank is higher than 4 and bronze is smaller than 1? | CREATE TABLE table_40902 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) | SELECT COUNT("Silver") FROM table_40902 WHERE "Rank" > '4' AND "Bronze" < '1' |
What is the Papal name of the Pope announced as Ioannis Pauli Primi? | CREATE TABLE table_22083 (
"Birth Name" text,
"Birth Name As Announced in Latin (Accusative case Forename Undeclined Surname)" text,
"Papal Name" text,
"Papal Name As Announced in Latin" text,
"Latin declension of Papal Name" text,
"Numeral in Papal Name" text
) | SELECT "Papal Name" FROM table_22083 WHERE "Papal Name As Announced in Latin" = 'Ioannis Pauli primi' |
what is the space where the next one was mike turnesa | CREATE TABLE table_28456 (
"Year" real,
"Championship" text,
"54 holes" text,
"Winning score" text,
"Margin" text,
"Runner(s)-up" text
) | SELECT "Margin" FROM table_28456 WHERE "Runner(s)-up" = 'Mike Turnesa' |
How many FA cups for the player with under 5 champs, 0 league cups, and over 3 total? | CREATE TABLE table_69698 (
"Name" text,
"Championship" real,
"League Cup" real,
"FA Cup" real,
"Total" real
) | SELECT SUM("FA Cup") FROM table_69698 WHERE "Championship" < '5' AND "League Cup" = '0' AND "Total" > '3' |
For those products with a price between 60 and 120, return a scatter chart about the correlation between price and manufacturer . | 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 Price, Manufacturer FROM Products WHERE Price BETWEEN 60 AND 120 |
Which week did the Baltimore Ravens play at home ? | CREATE TABLE table_name_79 (
week VARCHAR,
host_team VARCHAR
) | SELECT week FROM table_name_79 WHERE host_team = "baltimore ravens" |
What is the intelligence os the one that has s , 'thought'? | CREATE TABLE table_2150 (
"Shekhina:" text,
"Reason" text,
"Mind" text,
"Intelligence" text,
"Thought" text,
"Understanding" text
) | SELECT "Intelligence" FROM table_2150 WHERE "Thought" = '思 sī, "thought' |
What is the to par for t10 and Colin Montgomerie? | CREATE TABLE table_60495 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
) | SELECT "To par" FROM table_60495 WHERE "Place" = 't10' AND "Player" = 'colin montgomerie' |
What is the Date of the 1999 fifa confederations cup? | CREATE TABLE table_name_45 (
date VARCHAR,
competition VARCHAR
) | SELECT date FROM table_name_45 WHERE competition = "1999 fifa confederations cup" |
How many laps did BRM have with a grid of 11? | CREATE TABLE table_name_33 (
laps VARCHAR,
constructor VARCHAR,
grid VARCHAR
) | SELECT COUNT(laps) FROM table_name_33 WHERE constructor = "brm" AND grid = 11 |
Show the name and number of employees for the departments managed by heads whose temporary acting value is 'Yes'? | CREATE TABLE department (
name VARCHAR,
num_employees VARCHAR,
department_id VARCHAR
)
CREATE TABLE management (
department_id VARCHAR,
temporary_acting VARCHAR
) | SELECT T1.name, T1.num_employees FROM department AS T1 JOIN management AS T2 ON T1.department_id = T2.department_id WHERE T2.temporary_acting = 'Yes' |
For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and the average of price , and group by attribute name, and could you sort in asc by the Y-axis? | 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 T2.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T1.Price |
How many different riders are there that won riding Omr Tsunami? | CREATE TABLE table_30027 (
"Year" real,
"Location" text,
"Distance (miles)" real,
"Rider Names" text,
"Horse Name" text,
"Best-Conditioned Horse" text
) | SELECT COUNT("Rider Names") FROM table_30027 WHERE "Horse Name" = 'OMR Tsunami' |
what team played on august 25 | CREATE TABLE table_name_14 (
opponent VARCHAR,
date VARCHAR
) | SELECT opponent FROM table_name_14 WHERE date = "august 25" |
What did the away team score when playing North Melbourne? | CREATE TABLE table_77739 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Away team score" FROM table_77739 WHERE "Home team" = 'north melbourne' |
what is -kah (atau tidak when basikal is basikal and language dialect is malay language (informal)? | CREATE TABLE table_name_98 (
_kah__atau_tidak_ VARCHAR,
language_dialect VARCHAR
) | SELECT _kah__atau_tidak_ FROM table_name_98 WHERE "basikal" = "basikal" AND language_dialect = "malay language (informal)" |
What is the highest numbered pick from round 7? | CREATE TABLE table_37107 (
"Round" real,
"Pick" real,
"Player" text,
"Nationality" text,
"School/Club Team" text
) | SELECT MAX("Pick") FROM table_37107 WHERE "Round" = '7' |
What is the change number with fewer than 4.7% votes and more than 0 seats? | CREATE TABLE table_59446 (
"Party" text,
"% votes" real,
"% change" real,
"Seats" real,
"Change" real
) | SELECT SUM("Change") FROM table_59446 WHERE "% votes" < '4.7' AND "Seats" > '0' |
If Thursday 3 June is 20' 27.93 110.615mph, what are the names of the riders? | CREATE TABLE table_25220821_3 (
rider VARCHAR,
thurs_3_june VARCHAR
) | SELECT rider FROM table_25220821_3 WHERE thurs_3_june = "20' 27.93 110.615mph" |
Find the name and credit score of the customers who have some loans. | CREATE TABLE loan (
cust_id VARCHAR
)
CREATE TABLE customer (
cust_name VARCHAR,
credit_score VARCHAR,
cust_id VARCHAR
) | SELECT DISTINCT T1.cust_name, T1.credit_score FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id |
What player has 14 wins? | CREATE TABLE table_name_83 (
player VARCHAR,
wins VARCHAR
) | SELECT player FROM table_name_83 WHERE wins = 14 |
what's the points against with won being 11 | CREATE TABLE table_14058433_4 (
points_against VARCHAR,
won VARCHAR
) | SELECT points_against FROM table_14058433_4 WHERE won = "11" |
Which group nominated Kim in years before 2010 for Thirst? | CREATE TABLE table_6034 (
"Year" real,
"Group" text,
"Award" text,
"Film/Series" text,
"Result" text
) | SELECT "Group" FROM table_6034 WHERE "Year" < '2010' AND "Film/Series" = 'thirst' |
Name the replaced by for august 9 | CREATE TABLE table_27597 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Position in table" text,
"Replaced by" text,
"Date of appointment" text
) | SELECT "Replaced by" FROM table_27597 WHERE "Date of vacancy" = 'August 9' AND "Date of appointment" = 'August 9' |
What are all the instruments used? | CREATE TABLE Instruments (
instrument VARCHAR
) | SELECT DISTINCT instrument FROM Instruments |
How many Total matches happened in 2003? | CREATE TABLE table_name_20 (
total_matches VARCHAR,
year VARCHAR
) | SELECT total_matches FROM table_name_20 WHERE year = "2003" |
What is the latest date with Cores per die / Dies per module of 2 / 1, and a Clock of 1.4-1.6ghz? | CREATE TABLE table_name_64 (
date INTEGER,
cores_per_die___dies_per_module VARCHAR,
clock VARCHAR
) | SELECT MAX(date) FROM table_name_64 WHERE cores_per_die___dies_per_module = "2 / 1" AND clock = "1.4-1.6ghz" |
Name the attendance on april 17 | CREATE TABLE table_name_15 (
attendance VARCHAR,
date VARCHAR
) | SELECT attendance FROM table_name_15 WHERE date = "april 17" |
the total number of helipads at hama military airport ? | CREATE TABLE table_204_102 (
id number,
"name" text,
"location served" text,
"governorate" text,
"utilization" text,
"helipads" number,
"runways" number,
"shelters" number,
"squadrons" text,
"coordinates" text
) | SELECT "helipads" FROM table_204_102 WHERE "name" = 'hama military airport' |
What is the nationality of the swimmer with a rank over 2 with a time of 55.77? | CREATE TABLE table_name_47 (
nationality VARCHAR,
rank VARCHAR,
time VARCHAR
) | SELECT nationality FROM table_name_47 WHERE rank > 2 AND time = "55.77" |
What is the current series where the new series began in June 2011? | CREATE TABLE table_1000181_1 (
current_series VARCHAR,
notes VARCHAR
) | SELECT current_series FROM table_1000181_1 WHERE notes = "New series began in June 2011" |
Which club lost exactly 7 matches? | CREATE TABLE table_74082 (
"Club" text,
"Played" text,
"Won" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries for" text,
"Points" text
) | SELECT "Club" FROM table_74082 WHERE "Lost" = '7' |
What is the winning span for the name of bernard gallacher? | CREATE TABLE table_23078 (
"Rank" text,
"Name" text,
"Lifespan" text,
"Country" text,
"Wins" real,
"Majors" real,
"Winning span" text,
"Span (years)" real
) | SELECT "Winning span" FROM table_23078 WHERE "Name" = 'Bernard Gallacher' |
What is the sum of District, when Took Office is greater than 1981, and when Senator is Cyndi Taylor Krier? | CREATE TABLE table_47117 (
"Senator" text,
"Party" text,
"District" real,
"Home Town" text,
"Took Office" real
) | SELECT SUM("District") FROM table_47117 WHERE "Took Office" > '1981' AND "Senator" = 'cyndi taylor krier' |
Where was the Rally HQ for Round 1? | CREATE TABLE table_64379 (
"Round" real,
"Dates" text,
"Rally Name" text,
"Rally HQ" text,
"Support Category" text,
"Surface" text
) | SELECT "Rally HQ" FROM table_64379 WHERE "Round" = '1' |
What is the Pashto word for the Somali word talaado? | CREATE TABLE table_name_24 (
pashto VARCHAR,
somali VARCHAR
) | SELECT pashto FROM table_name_24 WHERE somali = "talaado" |
What is the least for Scottish Cup with a Challenge Cup greater than 0, Player Paul Keegan, and League Cup greater than 0? | CREATE TABLE table_15753 (
"Player" text,
"League" real,
"Scottish Cup" real,
"League Cup" real,
"Challenge Cup" real,
"Total" real
) | SELECT MIN("Scottish Cup") FROM table_15753 WHERE "Challenge Cup" > '0' AND "Player" = 'paul keegan' AND "League Cup" > '0' |
what is the first athlete in teh 100m event ? | CREATE TABLE table_204_550 (
id number,
"event" text,
"record" text,
"athlete" text,
"date" text,
"meet" text,
"place" text
) | SELECT "athlete" FROM table_204_550 WHERE "event" = '100 m' ORDER BY "date" LIMIT 1 |
Who is the guest 2 in the episode where guest 4 is Iyare Igiehon and guest 3 is John Oliver? | CREATE TABLE table_23725 (
"Date" text,
"Presenter" text,
"Guest 1" text,
"Guest 2" text,
"Guest 3" text,
"Guest 4" text
) | SELECT "Guest 2" FROM table_23725 WHERE "Guest 4" = 'Iyare Igiehon' AND "Guest 3" = 'John Oliver' |
count of unique roles | CREATE TABLE table_203_756 (
id number,
"year" number,
"title" text,
"role" text,
"network" text,
"notes" text
) | SELECT COUNT("role") FROM table_203_756 |
What was the result of the game on week 11? | CREATE TABLE table_name_55 (
result VARCHAR,
week VARCHAR
) | SELECT result FROM table_name_55 WHERE week = 11 |
Who is the candidate that had 10 fired in week 2 (1-27-2005)? | CREATE TABLE table_name_45 (
candidate VARCHAR,
result VARCHAR
) | SELECT candidate FROM table_name_45 WHERE result = "10 fired in week 2 (1-27-2005)" |
Who has a To par of 2, and a Country of united states? | CREATE TABLE table_name_98 (
player VARCHAR,
to_par VARCHAR,
country VARCHAR
) | SELECT player FROM table_name_98 WHERE to_par = "–2" AND country = "united states" |
What is the rank of Lee Trevino, who had less than 27 wins? | CREATE TABLE table_name_89 (
rank INTEGER,
player VARCHAR,
wins VARCHAR
) | SELECT SUM(rank) FROM table_name_89 WHERE player = "lee trevino" AND wins < 27 |
What is the series number of the episode that aired March 25, 2010? | CREATE TABLE table_2891 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"U.S. viewers (million)" text,
"Original air date" text,
"Production code" real
) | SELECT MIN("No. in series") FROM table_2891 WHERE "Original air date" = 'March 25, 2010' |
how many people live in the bold civil parish ? | CREATE TABLE table_204_600 (
id number,
"name" text,
"status" text,
"population" number,
"district" text,
"former local authority" text
) | SELECT "population" FROM table_204_600 WHERE "name" = 'bold' |
Name the 10:30 for 8:00 of charmed | CREATE TABLE table_5084 (
"7:00" text,
"7:30" text,
"8:00" text,
"8:30" text,
"9:00" text,
"10:00" text,
"10:30" text
) | SELECT "10:30" FROM table_5084 WHERE "8:00" = 'charmed' |
What is the name of the institution with the mascot of blue devils? | CREATE TABLE table_12434380_1 (
institution VARCHAR,
mascot VARCHAR
) | SELECT institution FROM table_12434380_1 WHERE mascot = "Blue Devils" |
WHAT IS THE RECORD FOR DATE NOVEMBER 14? | CREATE TABLE table_name_44 (
record VARCHAR,
date VARCHAR
) | SELECT record FROM table_name_44 WHERE date = "november 14" |
On what day was the record set at the 2002 Salt Lake City games with a time of 3:57.70? | CREATE TABLE table_name_49 (
date VARCHAR,
games VARCHAR,
time VARCHAR
) | SELECT date FROM table_name_49 WHERE games = "2002 salt lake city" AND time = "3:57.70" |
How many episodes were written by Gregg Mettler? | CREATE TABLE table_31145 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real
) | SELECT COUNT("No. in series") FROM table_31145 WHERE "Written by" = 'Gregg Mettler' |
What was the payout in US dollars at the Insight Bowl? | CREATE TABLE table_41012 (
"Bowl Game" text,
"Date" text,
"Stadium" text,
"City" text,
"Television" text,
"Conference Matchups" text,
"Payout ( US$ )" text
) | SELECT "Payout ( US$ )" FROM table_41012 WHERE "Bowl Game" = 'insight bowl' |
How many o-19% are where the quartier is in saint-loup? | CREATE TABLE table_4223 (
"Quartier" text,
"% 0-19 years" text,
"% 20-39 years" text,
"% 40-59 years" text,
"% 60-74 years" text,
"% 75 years and +" text
) | SELECT "% 0-19 years" FROM table_4223 WHERE "Quartier" = 'Saint-Loup' |
How many byes were then when there were less than 737 against? | CREATE TABLE table_58899 (
"Glenelg FL" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
) | SELECT SUM("Byes") FROM table_58899 WHERE "Against" < '737' |
Who was the producer for the film 'Strange Little Girls'? | CREATE TABLE table_name_20 (
producer_s_ VARCHAR,
film VARCHAR
) | SELECT producer_s_ FROM table_name_20 WHERE film = "strange little girls" |
What is the Region of Catalog 885 973-4? | CREATE TABLE table_34056 (
"Date" text,
"Label" text,
"Region" text,
"Format" text,
"Catalog" text
) | SELECT "Region" FROM table_34056 WHERE "Catalog" = '885 973-4' |
Name the season for position 4th | CREATE TABLE table_25375093_1 (
season VARCHAR,
position VARCHAR
) | SELECT COUNT(season) FROM table_25375093_1 WHERE position = "4th" |
neutrophil count >= 1500 / mm3 | CREATE TABLE table_dev_35 (
"id" int,
"white_blood_cell_count_wbc" int,
"platelets" int,
"neutrophil_count" int,
"serum_creatinine" float,
"albumin" float,
"NOUSE" float
) | SELECT * FROM table_dev_35 WHERE neutrophil_count >= 1500 |
What is the average overall of John Ayres, who had a pick # greater than 4? | CREATE TABLE table_name_38 (
overall INTEGER,
name VARCHAR,
pick__number VARCHAR
) | SELECT AVG(overall) FROM table_name_38 WHERE name = "john ayres" AND pick__number > 4 |
What tournament was Laura Davies the runner-up? | CREATE TABLE table_9533 (
"Date" text,
"Tournament" text,
"Winning score" text,
"Margin of victory" text,
"Runner(s)-up" text
) | SELECT "Tournament" FROM table_9533 WHERE "Runner(s)-up" = 'laura davies' |
When 1927 is the founded year how many measurements of enrollment in 2012 are there? | CREATE TABLE table_2076516_1 (
enrollment__2012_ VARCHAR,
founded VARCHAR
) | SELECT COUNT(enrollment__2012_) FROM table_2076516_1 WHERE founded = 1927 |
history of hemorrhagic stroke. | CREATE TABLE table_test_29 (
"id" int,
"bleeding" int,
"left_ventricular_ejection_fraction_lvef" int,
"systolic_blood_pressure_sbp" int,
"hemoglobin_a1c_hba1c" float,
"heart_disease" bool,
"trauma" bool,
"renal_disease" bool,
"creatinine_clearance_cl" float,
"hemorrhagic_stroke" bool,
"platelet_count" float,
"surgery" bool,
"thrombocytopenia" float,
"liver_disease" bool,
"oral_anticoagulant_therapy" bool,
"heart_rate" int,
"kidney_disease" bool,
"inr" float,
"hypertension" bool,
"NOUSE" float
) | SELECT * FROM table_test_29 WHERE hemorrhagic_stroke = 1 |
For the match with a home team score of 11.14 (80), what was the venue? | CREATE TABLE table_33317 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Venue" FROM table_33317 WHERE "Home team score" = '11.14 (80)' |
What is the RAtt when the long is 73? | CREATE TABLE table_40270 (
"Year" text,
"Team" text,
"Comp" text,
"Long" text,
"Rate" text,
"RAtt" text,
"RYds" text,
"RAvg" text,
"Lost" text
) | SELECT "RAtt" FROM table_40270 WHERE "Long" = '73' |
What are the results of those matches where the championship is French Open? | CREATE TABLE table_30991 (
"Outcome" text,
"Year" real,
"Championship" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
) | SELECT "Score" FROM table_30991 WHERE "Championship" = 'French Open' |
In what Round was a Defensive Tackle Pick # less than 19? | CREATE TABLE table_36614 (
"Round" real,
"Pick #" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
) | SELECT COUNT("Round") FROM table_36614 WHERE "Position" = 'defensive tackle' AND "Pick #" < '19' |
What 2002 tournament has 2008 career statistics? | CREATE TABLE table_43253 (
"Tournament" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
) | SELECT "2002" FROM table_43253 WHERE "2008" = 'career statistics' |
Which year's crew is varsity 8+ when the record is 7-3? | CREATE TABLE table_38331 (
"Year" text,
"Coach" text,
"Crew" text,
"Record" text,
"Win %" real
) | SELECT "Year" FROM table_38331 WHERE "Crew" = 'varsity 8+' AND "Record" = '7-3' |
what is the difference of population in easton and reno ? | CREATE TABLE table_204_616 (
id number,
"township" text,
"fips" number,
"population\ncenter" text,
"population" number,
"population\ndensity\n/km2 (/sq mi)" text,
"land area\nkm2 (sq mi)" text,
"water area\nkm2 (sq mi)" text,
"water %" text,
"geographic coordinates" text
) | SELECT ABS((SELECT "population" FROM table_204_616 WHERE "township" = 'easton') - (SELECT "population" FROM table_204_616 WHERE "township" = 'reno')) |
what is the total number of locations in the city of algonac ? | CREATE TABLE table_204_558 (
id number,
"name" text,
"location" text,
"city" text,
"listing date" text
) | SELECT COUNT("location") FROM table_204_558 WHERE "city" = 'algonac' |
How many margins have a winner of S. Singaravadivel? | CREATE TABLE table_22753439_1 (
margin VARCHAR,
winner VARCHAR
) | SELECT COUNT(margin) FROM table_22753439_1 WHERE winner = "S. Singaravadivel" |
In what place is the player with a score of 72-66-75=213? | CREATE TABLE table_name_13 (
place VARCHAR,
score VARCHAR
) | SELECT place FROM table_name_13 WHERE score = 72 - 66 - 75 = 213 |
What is the name of the institution that 'Matthias Blume' belongs to? | CREATE TABLE authorship (
authid number,
instid number,
paperid number,
authorder number
)
CREATE TABLE papers (
paperid number,
title text
)
CREATE TABLE inst (
instid number,
name text,
country text
)
CREATE TABLE authors (
authid number,
lname text,
fname text
) | SELECT DISTINCT t3.name FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN inst AS t3 ON t2.instid = t3.instid WHERE t1.fname = "Matthias" AND t1.lname = "Blume" |
Which player has $450 and a score of 76-74-74-72=296? | CREATE TABLE table_name_67 (
player VARCHAR,
money___$__ VARCHAR,
score VARCHAR
) | SELECT player FROM table_name_67 WHERE money___$__ = "450" AND score = 76 - 74 - 74 - 72 = 296 |
What was E.J. 'Dutch' Harrison's lowest To Par? | CREATE TABLE table_70516 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" real,
"Money ( $ )" text
) | SELECT MIN("To par") FROM table_70516 WHERE "Player" = 'e.j. "dutch" harrison' |
How many matches were there in the round with 1,000,000 in prize money? | CREATE TABLE table_55269 (
"Round" text,
"Date" text,
"Matches" real,
"Clubs" text,
"New entries this round" text,
"Prize money" text
) | SELECT COUNT("Matches") FROM table_55269 WHERE "Prize money" = '£1,000,000' |
What tournament was played on May 29, 2010? | CREATE TABLE table_name_8 (
tournament VARCHAR,
date VARCHAR
) | SELECT tournament FROM table_name_8 WHERE date = "may 29, 2010" |
Where is the club 'Hopkins Student Enterprises' located? | CREATE TABLE club (
clublocation VARCHAR,
clubname VARCHAR
) | SELECT clublocation FROM club WHERE clubname = "Hopkins Student Enterprises" |
Name the date for adelaide for westpac stadium | CREATE TABLE table_16388439_3 (
date VARCHAR,
home_team VARCHAR,
ground VARCHAR
) | SELECT date FROM table_16388439_3 WHERE home_team = "Adelaide" AND ground = "Westpac Stadium" |
Which home team had a score of 85-101? | CREATE TABLE table_49867 (
"Date" text,
"Home team" text,
"Score" text,
"Away team" text,
"Venue" text,
"Box Score" text,
"Report" text
) | SELECT "Home team" FROM table_49867 WHERE "Score" = '85-101' |
Which year had playoffs of champion? | CREATE TABLE table_name_27 (
year INTEGER,
playoffs VARCHAR
) | SELECT AVG(year) FROM table_name_27 WHERE playoffs = "champion" |
What is the name of the bowl game that was played in Tempe, Arizona? | CREATE TABLE table_16046689_29 (
bowl_game VARCHAR,
city VARCHAR
) | SELECT bowl_game FROM table_16046689_29 WHERE city = "Tempe, Arizona" |
What is the highest number of dave viewers of an episode with 119000 dave ja vu viewers? | CREATE TABLE table_28053 (
"Episode no." real,
"Airdate" text,
"Dave Viewers" real,
"Dave Rank" real,
"Rank (cable)" real,
"Dave ja vu Viewers" real,
"Total viewers" real
) | SELECT MAX("Dave Viewers") FROM table_28053 WHERE "Dave ja vu Viewers" = '119000' |
What was the percentage for T. Papadopoulos when I. Kasoulidis was 27.1%? | CREATE TABLE table_69604 (
"Polling Firm" text,
"Date Published" text,
"T. Papadopoulos" text,
"D. Christofias" text,
"I. Kasoulidis" text,
"K. Themistokleous" text
) | SELECT "T. Papadopoulos" FROM table_69604 WHERE "I. Kasoulidis" = '27.1%' |
What is the number of people in attendance when the time is 3:00? | CREATE TABLE table_77393 (
"Game" real,
"Date" text,
"Score" text,
"Location" text,
"Time" text,
"Attendance" real
) | SELECT "Attendance" FROM table_77393 WHERE "Time" = '3:00' |
Name the money for p draig harrington | CREATE TABLE table_68355 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( \u00a3 )" text
) | SELECT "Money ( \u00a3 )" FROM table_68355 WHERE "Player" = 'pádraig harrington' |
Subsets and Splits