instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Who was the winner when the score was 281 (-6)?
SELECT Winner FROM table WHERE Score = 281 (-6)
Translate the following into a SQL query
How many scores were at the Northville Long Island Classic?
SELECT COUNT Score FROM table WHERE Tournament = Northville Long Island Classic
Translate the following into a SQL query
what's the tournament where winner is raymond floyd (1)
SELECT Tournament FROM table WHERE Winner = Raymond Floyd (1)
Translate the following into a SQL query
what is the total number of purse( $ ) where winner is jimmy powell (2)
SELECT COUNT Purse( $ ) FROM table WHERE Winner = Jimmy Powell (2)
Translate the following into a SQL query
what's the date where location is illinois
SELECT Date FROM table WHERE Location = Illinois
Translate the following into a SQL query
what is the minimum purse( $ ) where tournament is ko olina senior invitational
SELECT MIN Purse( $ ) FROM table WHERE Tournament = Ko Olina Senior Invitational
Translate the following into a SQL query
what's the location where tournament is raley's senior gold rush
SELECT Location FROM table WHERE Tournament = Raley's Senior Gold Rush
Translate the following into a SQL query
what is the maximum 1st prize( $ ) where score is 193 (-17)
SELECT MAX 1st Prize( $ ) FROM table WHERE Score = 193 (-17)
Translate the following into a SQL query
How much was the prize money for the 275000 purse?
SELECT 1st Prize( $ ) FROM table WHERE Purse( $ ) = 275000
Translate the following into a SQL query
What is the prize money for Virginia?
SELECT 1st Prize( $ ) FROM table WHERE Location = Virginia
Translate the following into a SQL query
How many tournaments ended with a score of 204 (-12)?
SELECT COUNT Tournament FROM table WHERE Score = 204 (-12)
Translate the following into a SQL query
What's the winner of the Painewebber Invitational tournament?
SELECT Winner FROM table WHERE Tournament = PaineWebber Invitational
Translate the following into a SQL query
Where was the GTE Suncoast Classic tournament held?
SELECT Location FROM table WHERE Tournament = GTE Suncoast Classic
Translate the following into a SQL query
What was the minimal amount ($) of the 1st prize in the tournaments in New Mexico?
SELECT MIN 1st Prize( $ ) FROM table WHERE Location = New Mexico
Translate the following into a SQL query
What are all the dates with a score of 203 (-13)?
SELECT Date FROM table WHERE Score = 203 (-13)
Translate the following into a SQL query
For which tournaments was the score 135 (-7)?
SELECT Tournament FROM table WHERE Score = 135 (-7)
Translate the following into a SQL query
Which tournaments have a first prize of $40000
SELECT Tournament FROM table WHERE 1st Prize( $ ) = 40000
Translate the following into a SQL query
How many locations logged a score of 206 (-7)?
SELECT COUNT Location FROM table WHERE Score = 206 (-7)
Translate the following into a SQL query
How many tournaments recorded a score of 206 (-7)?
SELECT COUNT Tournament FROM table WHERE Score = 206 (-7)
Translate the following into a SQL query
Name all the tournaments that took place in Rhode Island.
SELECT Tournament FROM table WHERE Location = Rhode Island
Translate the following into a SQL query
What is the state that hosted a tournament with the score of 208 (-8)?
SELECT Location FROM table WHERE Score = 208 (-8)
Translate the following into a SQL query
Where was the Fairfield Barnett classic tournament held?
SELECT Location FROM table WHERE Tournament = Fairfield Barnett Classic
Translate the following into a SQL query
How many purses were there for the mar 16?
SELECT COUNT Purse( $ ) FROM table WHERE Date = Mar 16
Translate the following into a SQL query
When did the series number 23 air?
SELECT Original air date FROM table WHERE Series no. = 23
Translate the following into a SQL query
What is the production code of "surprise, surprise"?
SELECT MAX Production Code FROM table WHERE Title = "Surprise, Surprise"
Translate the following into a SQL query
What was the airdate of 21 series number?
SELECT Original air date FROM table WHERE Series no. = 21
Translate the following into a SQL query
Which located featured the first prize of 33500?
SELECT Location FROM table WHERE 1st Prize( $ ) = 33500
Translate the following into a SQL query
Who won the Suntree Seniors Classic?
SELECT Winner FROM table WHERE Tournament = Suntree Seniors Classic
Translate the following into a SQL query
How much was the prize in the tournament where the winning score was 289 (9)?
SELECT Purse( $ ) FROM table WHERE Score = 289 (9)
Translate the following into a SQL query
When was the tournament that was won with a score of 204 (-6) played?
SELECT Date FROM table WHERE Score = 204 (-6)
Translate the following into a SQL query
Who wrote "Stop Being all Funky"?
SELECT Written by FROM table WHERE Title = "Stop Being All Funky"
Translate the following into a SQL query
What was the season number for the episode with the series number 61?
SELECT MAX Season # FROM table WHERE Series # = 61
Translate the following into a SQL query
What was the title of the episode with the production code 311?
SELECT Title FROM table WHERE Production code = 311
Translate the following into a SQL query
Who directed the episode written by Lamont Ferrell?
SELECT Directed by FROM table WHERE Written by = Lamont Ferrell
Translate the following into a SQL query
What date was the result 6–2, 4–6, 6–4?
SELECT Date FROM table WHERE Result = 6–2, 4–6, 6–4
Translate the following into a SQL query
How many matches had the result of 6–3, 6–2?
SELECT COUNT Partnering FROM table WHERE Result = 6–3, 6–2
Translate the following into a SQL query
If the Original Air Date is 10January2008, what directors released on that date?
SELECT Director FROM table WHERE Original air date = 10January2008
Translate the following into a SQL query
The original air date of 29November2007 has what total no.?
SELECT Total No. FROM table WHERE Original air date = 29November2007
Translate the following into a SQL query
Margot Kidder had what director?
SELECT Director FROM table WHERE Celebrity = Margot Kidder
Translate the following into a SQL query
How many celebrities had an 18October2007 Original air Date?
SELECT COUNT Celebrity FROM table WHERE Original air date = 18October2007
Translate the following into a SQL query
Which viewers had Matt Gallagher as the director?
SELECT Viewers FROM table WHERE Director = Matt Gallagher
Translate the following into a SQL query
What is the number of series of the title of "your wife's a payne"?
SELECT MAX Series # FROM table WHERE Title = "Your Wife's a Payne"
Translate the following into a SQL query
Who write "a grand payne"?
SELECT Written by FROM table WHERE Title = "A Grand Payne"
Translate the following into a SQL query
What is the number of series with a title of "with friends like these"?
SELECT COUNT Series # FROM table WHERE Title = "With Friends Like These"
Translate the following into a SQL query
What is the number of series with production code 503?
SELECT COUNT Series # FROM table WHERE Production code = 503
Translate the following into a SQL query
What is the title of production code 514?
SELECT Title FROM table WHERE Production code = 514
Translate the following into a SQL query
What is the location of the institution barton college
SELECT Location FROM table WHERE Institution = Barton College
Translate the following into a SQL query
Which institutions joined in 1993
SELECT Institution FROM table WHERE Joined = 1993
Translate the following into a SQL query
what are the locations that joined in 2008
SELECT Location FROM table WHERE Joined = 2008
Translate the following into a SQL query
What is the minimum enrollment at barton college
SELECT MIN Enrollment FROM table WHERE Institution = Barton College
Translate the following into a SQL query
When was erskine college founded
SELECT Founded FROM table WHERE Institution = Erskine College
Translate the following into a SQL query
What is ithe range for married filing separately where head of household is $117,451–$190,200?
SELECT Married Filing Separately FROM table WHERE Head of Household = $117,451–$190,200
Translate the following into a SQL query
What is the amount of marginal ordinary income tax rate for single in which the range is $8,351– $33,950?
SELECT COUNT Marginal Ordinary Income Tax Rate FROM table WHERE Single = $8,351– $33,950
Translate the following into a SQL query
What is the range for married filing separately in which the head of household is $117,451–$190,200?
SELECT Married Filing Separately FROM table WHERE Head of Household = $117,451–$190,200
Translate the following into a SQL query
What is the range of married filing jointly or qualified widower in which married filing separately is $33,951–$68,525?
SELECT Married Filing Jointly or Qualified Widow(er) FROM table WHERE Married Filing Separately = $33,951–$68,525
Translate the following into a SQL query
What is the range of the head of household whereas single is $171,551–$372,950?
SELECT Head of Household FROM table WHERE Single = $171,551–$372,950
Translate the following into a SQL query
What is the amoun of marginal ordinary income tax rate where married filing jointly or qualified widow is $208,851–$372,950?
SELECT COUNT Marginal Ordinary Income Tax Rate FROM table WHERE Married Filing Jointly or Qualified Widow(er) = $208,851–$372,950
Translate the following into a SQL query
who is the coach where dudley tuckey medal is ben howlett
SELECT Coach FROM table WHERE Dudley Tuckey Medal = Ben Howlett
Translate the following into a SQL query
what is the total number of coach where captain is grant welsh and win/loss is 5-15
SELECT COUNT Coach FROM table WHERE Captain = Grant Welsh AND Win/Loss = 5-15
Translate the following into a SQL query
who is the dudley tuckey medal where leading goalkicker is scott simister (46)
SELECT Dudley Tuckey Medal FROM table WHERE Leading goalkicker = Scott Simister (46)
Translate the following into a SQL query
what is the maximum season where leading goalkicker is scott simister (54)
SELECT MAX Season FROM table WHERE Leading goalkicker = Scott Simister (54)
Translate the following into a SQL query
what are all the win/loss where season is 2009
SELECT Win/Loss FROM table WHERE Season = 2009
Translate the following into a SQL query
who is the captain where coach is geoff miles
SELECT Captain FROM table WHERE Coach = Geoff Miles
Translate the following into a SQL query
In 2005-06 what was the disaster?
SELECT Disaster FROM table WHERE Year = 2005-06
Translate the following into a SQL query
What was the scale of disaster in Peru?
SELECT Scale of Disaster FROM table WHERE Countries Affected = Peru
Translate the following into a SQL query
What's the area of the voivodenship with 51 communes?
SELECT Area km² (1998) FROM table WHERE No. of communes = 51
Translate the following into a SQL query
How big (in km2) is the voivodenship also known by the abbreviation KN?
SELECT Area km² (1998) FROM table WHERE Abbreviation = kn
Translate the following into a SQL query
How many people lived in the voivodenship whose capital is Siedlce in the year of 1980?
SELECT Population (1980) FROM table WHERE Capital = Siedlce
Translate the following into a SQL query
How many different voivodenship have 747 900 citizes?
SELECT COUNT Voivodeship FROM table WHERE Population (1980) = 747 900
Translate the following into a SQL query
What year did longwood university leave the conference?
SELECT MIN Left FROM table WHERE Institution = Longwood University
Translate the following into a SQL query
What year did a school leave that was founded in 1880?
SELECT Left FROM table WHERE Founded = 1880
Translate the following into a SQL query
What is the nickname of the school with an enrollment of 2386?
SELECT Nickname FROM table WHERE Enrollment = 2386
Translate the following into a SQL query
What year did the school from mars hill, north carolina join?
SELECT Joined FROM table WHERE Location = Mars Hill, North Carolina
Translate the following into a SQL query
How many times did anderson university leave?
SELECT COUNT Left FROM table WHERE Institution = Anderson University
Translate the following into a SQL query
What is the nickname of the newberry college?
SELECT Nickname FROM table WHERE Institution = Newberry College
Translate the following into a SQL query
What was the gross tonnage of the ship that ended service in 1866?
SELECT Gross Tonnage FROM table WHERE Ended service = 1866
Translate the following into a SQL query
What is the minimum gross tonnage of the Munich?
SELECT MIN Gross Tonnage FROM table WHERE Ships name = Munich
Translate the following into a SQL query
What is the air date for the episode written by Wendy Battles and directed by Oz Scott
SELECT Original air date FROM table WHERE Written by = Wendy Battles AND Directed by = Oz Scott
Translate the following into a SQL query
How many US viewers (millions) were there for "cold reveal"
SELECT U.S. viewers (millions) FROM table WHERE Title = "Cold Reveal"
Translate the following into a SQL query
Which episode was written by anthony e. zuiker & ken solarz
SELECT Title FROM table WHERE Written by = Anthony E. Zuiker & Ken Solarz
Translate the following into a SQL query
Which episode was directed by steven depaul
SELECT Title FROM table WHERE Directed by = Steven DePaul
Translate the following into a SQL query
What where the tms numbers built in 1923
SELECT TMS Number FROM table WHERE Year built = 1923
Translate the following into a SQL query
What year was the carriage type is 47' 6" 'birdcage' gallery coach built
SELECT Year built FROM table WHERE Carriage type = 47' 6" 'Birdcage' gallery coach
Translate the following into a SQL query
What tms were built nzr addington in the year 1913
SELECT TMS Number FROM table WHERE Builder = NZR Addington AND Year built = 1913
Translate the following into a SQL query
what's the date entered service with ships name koningin wilhelmina
SELECT Date entered service FROM table WHERE Ships name = Koningin Wilhelmina
Translate the following into a SQL query
what's the date where ships name is zeeland entered service
SELECT Date entered service FROM table WHERE Ships name = Zeeland
Translate the following into a SQL query
what is the maximum tonnage where date entered service is 25 march 1986
SELECT MAX Tonnage FROM table WHERE Date entered service = 25 March 1986
Translate the following into a SQL query
what are all the date withdrawn for service entered on 21 november 1945
SELECT Date withdrawn FROM table WHERE Date entered service = 21 November 1945
Translate the following into a SQL query
what are all the date withdrawn for twin screw ro-ro motorship
SELECT Date withdrawn FROM table WHERE Type of Ship = Twin Screw Ro-Ro Motorship
Translate the following into a SQL query
what are all the date withdrawn for koningin beatrix
SELECT Date withdrawn FROM table WHERE Ships name = Koningin Beatrix
Translate the following into a SQL query
Where is the first season that Anthony Hemingway appears?
SELECT MIN No. in season FROM table WHERE Directed by = Anthony Hemingway
Translate the following into a SQL query
What is the original air date of season 18?
SELECT Original air date FROM table WHERE No. in season = 18
Translate the following into a SQL query
When is the first season there were 14.57 million U.S viewers?
SELECT MIN No. in season FROM table WHERE U.S. viewers (millions) = 14.57
Translate the following into a SQL query
How many champions were there in 2009?
SELECT COUNT Champion FROM table WHERE Season = 2009
Translate the following into a SQL query
Who won third place with the runner up being dynamo moscow?
SELECT Third place FROM table WHERE Runner-up = Dynamo Moscow
Translate the following into a SQL query
What position does Matt Hobgood play?
SELECT Position FROM table WHERE Player = Matt Hobgood
Translate the following into a SQL query
How many players were from high point, nc?
SELECT COUNT MLB Draft FROM table WHERE Hometown = High Point, NC
Translate the following into a SQL query
What high school did Jeff Malm attend?
SELECT School FROM table WHERE Player = Jeff Malm
Translate the following into a SQL query
How many hometowns does the catcher have?
SELECT COUNT Hometown FROM table WHERE Position = Catcher
Translate the following into a SQL query
Who was drafted from the school Mountain Pointe High School?
SELECT MLB Draft FROM table WHERE School = Mountain Pointe High School