answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT winning_team FROM table_name_46 WHERE winning_pitcher = "chris young" AND location = "arlington"
CREATE TABLE table_name_46 (winning_team VARCHAR, winning_pitcher VARCHAR, location VARCHAR)
Which winning team has a winning pitcher of Chris Young and was played in Arlington?
SELECT winning_team FROM table_name_31 WHERE losing_pitcher = "juan dominguez"
CREATE TABLE table_name_31 (winning_team VARCHAR, losing_pitcher VARCHAR)
What winning team has a losing pitcher of Juan Dominguez?
SELECT opponent FROM table_name_91 WHERE date = "august 14"
CREATE TABLE table_name_91 (opponent VARCHAR, date VARCHAR)
Who was the opponent on August 14?
SELECT loss FROM table_name_7 WHERE record = "79-49"
CREATE TABLE table_name_7 (loss VARCHAR, record VARCHAR)
Which loss had a record of 79-49?
SELECT semi_final_dual_television_commentator FROM table_name_96 WHERE grand_final_television_commentator = "pierre tchernia" AND spokesperson = "unknown"
CREATE TABLE table_name_96 (semi_final_dual_television_commentator VARCHAR, grand_final_television_commentator VARCHAR, spokesperson VARCHAR)
What is the semi-final dual television commentator status of the year with Pierre Tchernia as the grand final television commentator and an unknown spokesperson?
SELECT semi_final_television_commentator FROM table_name_54 WHERE spokesperson = "unknown" AND year_s_ = 1962
CREATE TABLE table_name_54 (semi_final_television_commentator VARCHAR, spokesperson VARCHAR, year_s_ VARCHAR)
What is the semi-final television commentator status in 1962 with an unknown spokesperson?
SELECT grand_final_television_commentator FROM table_name_20 WHERE year_s_ > 1959 AND grand_final_dual_television_commentator = "dave" AND spokesperson = "marie myriam"
CREATE TABLE table_name_20 (grand_final_television_commentator VARCHAR, spokesperson VARCHAR, year_s_ VARCHAR, grand_final_dual_television_commentator VARCHAR)
What is the grand final television commentator status after 1959 when Dave was the grand final dual television commentator and Marie Myriam was the spokesperson?
SELECT grand_final_dual_television_commentator FROM table_name_52 WHERE spokesperson = "amaury vassili"
CREATE TABLE table_name_52 (grand_final_dual_television_commentator VARCHAR, spokesperson VARCHAR)
What is the grand final dual television commentator status of the year when Amaury Vassili was the spokesperson?
SELECT state FROM table_name_73 WHERE hometown = "lincoln, de"
CREATE TABLE table_name_73 (state VARCHAR, hometown VARCHAR)
What state has lincoln, de as the hometown?
SELECT ship FROM table_name_89 WHERE hull_no = "aor-6"
CREATE TABLE table_name_89 (ship VARCHAR, hull_no VARCHAR)
Name the ship with hull number of aor-6
SELECT hull_no FROM table_name_29 WHERE commissioned__decommissioned = "1973–1996"
CREATE TABLE table_name_29 (hull_no VARCHAR, commissioned__decommissioned VARCHAR)
Name the hull number of Commissioned– Decommissioned of 1973–1996
SELECT commissioned__decommissioned FROM table_name_62 WHERE home_port = "oakland" AND nvr_page = "aor-1"
CREATE TABLE table_name_62 (commissioned__decommissioned VARCHAR, home_port VARCHAR, nvr_page VARCHAR)
Name the commissioned-decommissioned for oakland and NVR page of aor-1
SELECT home_port FROM table_name_15 WHERE ship = "kansas city"
CREATE TABLE table_name_15 (home_port VARCHAR, ship VARCHAR)
Name the home port for kansas city
SELECT commissioned__decommissioned FROM table_name_17 WHERE nvr_page = "aor-7"
CREATE TABLE table_name_17 (commissioned__decommissioned VARCHAR, nvr_page VARCHAR)
Name the commissioned-decommissioned for NVR page of aor-7
SELECT ship FROM table_name_28 WHERE home_port = "oakland" AND nvr_page = "aor-3"
CREATE TABLE table_name_28 (ship VARCHAR, home_port VARCHAR, nvr_page VARCHAR)
Name the ship for oakland home port and NVR page of aor-3
SELECT name FROM table_name_43 WHERE location = "gulf of mexico" AND type = "ship" AND entered_service = "1999"
CREATE TABLE table_name_43 (name VARCHAR, entered_service VARCHAR, location VARCHAR, type VARCHAR)
What is the name of the location and ship type in the Gulf of Mexico that entered service in 1999?
SELECT water_depth FROM table_name_11 WHERE entered_service = "2001" AND name = "cajun express"
CREATE TABLE table_name_11 (water_depth VARCHAR, entered_service VARCHAR, name VARCHAR)
What was the water depth that entered service in 2001 named Cajun Express?
SELECT water_depth FROM table_name_87 WHERE location = "gulf of mexico" AND name = "discoverer clear leader"
CREATE TABLE table_name_87 (water_depth VARCHAR, location VARCHAR, name VARCHAR)
What was the water depth in the Gulf of Mexico named Discoverer Clear Leader?
SELECT name FROM table_name_28 WHERE location = "nigeria"
CREATE TABLE table_name_28 (name VARCHAR, location VARCHAR)
What is the name of a location in Nigeria?
SELECT location FROM table_name_5 WHERE entered_service = "1999" AND customer = "anadarko"
CREATE TABLE table_name_5 (location VARCHAR, entered_service VARCHAR, customer VARCHAR)
What location entered service in 1999 and had a customer of Anadarko?
SELECT score FROM table_name_93 WHERE date = "january 30"
CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR)
What was the Score on January 30?
SELECT visitor FROM table_name_11 WHERE home = "toronto maple leafs" AND date = "december 22"
CREATE TABLE table_name_11 (visitor VARCHAR, home VARCHAR, date VARCHAR)
Who were the Visitor of the Toronto Maple Leafs Home game on December 22?
SELECT date FROM table_name_62 WHERE record = "9–6–4"
CREATE TABLE table_name_62 (date VARCHAR, record VARCHAR)
On what Date was the Record 9–6–4?
SELECT score FROM table_name_18 WHERE date = "march 1"
CREATE TABLE table_name_18 (score VARCHAR, date VARCHAR)
What was the Score on March 1?
SELECT primary_conference FROM table_name_58 WHERE founded < 1866 AND affiliation = "private/catholic"
CREATE TABLE table_name_58 (primary_conference VARCHAR, founded VARCHAR, affiliation VARCHAR)
What is the primary conference that was founded before 1866 and has an affiliation of private/catholic?
SELECT COUNT(enrollment) FROM table_name_43 WHERE affiliation = "public" AND founded < 1866
CREATE TABLE table_name_43 (enrollment VARCHAR, affiliation VARCHAR, founded VARCHAR)
What is the total enrollment for an affiliation of public, and was founded before 1866?
SELECT affiliation FROM table_name_37 WHERE location = "towson, md"
CREATE TABLE table_name_37 (affiliation VARCHAR, location VARCHAR)
What is the affiliation for towson, md?
SELECT COUNT(enrollment) FROM table_name_1 WHERE affiliation = "private/catholic" AND founded > 1842
CREATE TABLE table_name_1 (enrollment VARCHAR, affiliation VARCHAR, founded VARCHAR)
What is the total enrollment for a private/catholic affiliation and founded after 1842?
SELECT COUNT(founded) FROM table_name_68 WHERE nickname = "mountain hawks"
CREATE TABLE table_name_68 (founded VARCHAR, nickname VARCHAR)
What is the number founded for the nickname mountain hawks?
SELECT score FROM table_name_59 WHERE host_city = "kėdainiai"
CREATE TABLE table_name_59 (score VARCHAR, host_city VARCHAR)
What is the score of the season in the host city kėdainiai?
SELECT winner FROM table_name_39 WHERE finalist = "lietuvos rytas" AND season < 2010
CREATE TABLE table_name_39 (winner VARCHAR, finalist VARCHAR, season VARCHAR)
Who was the winner of the season before 2010 with Lietuvos Rytas as a finalist?
SELECT finalist FROM table_name_57 WHERE host_city = "tartu" AND season = 2010
CREATE TABLE table_name_57 (finalist VARCHAR, host_city VARCHAR, season VARCHAR)
Who was the finalist in the 2010 season in the host city tartu?
SELECT winner FROM table_name_42 WHERE season = 2009
CREATE TABLE table_name_42 (winner VARCHAR, season VARCHAR)
Who was the winner during the 2009 season?
SELECT host_city FROM table_name_47 WHERE season = 2012
CREATE TABLE table_name_47 (host_city VARCHAR, season VARCHAR)
What is the host city during the 2012 season?
SELECT tournament FROM table_name_54 WHERE score = "4–6, 6–3, 7–6(10)"
CREATE TABLE table_name_54 (tournament VARCHAR, score VARCHAR)
what game had a score of 4–6, 6–3, 7–6(10)?
SELECT became_duchess FROM table_name_77 WHERE name = "eleonor magdalene of the palatinate-neuburg"
CREATE TABLE table_name_77 (became_duchess VARCHAR, name VARCHAR)
When did eleonor magdalene of the palatinate-neuburg become duchess?
SELECT marriage FROM table_name_68 WHERE became_duchess = "12 december 1666"
CREATE TABLE table_name_68 (marriage VARCHAR, became_duchess VARCHAR)
Which Marriage has a Became Duchess of 12 december 1666?
SELECT death FROM table_name_3 WHERE birth = "18 november 1630"
CREATE TABLE table_name_3 (death VARCHAR, birth VARCHAR)
When did the person die who was born on 18 november 1630?
SELECT birth FROM table_name_65 WHERE became_duchess = "17 april 1711 husband's ascension"
CREATE TABLE table_name_65 (birth VARCHAR, became_duchess VARCHAR)
Which Birth has a Became Duchess of 17 april 1711 husband's ascension?
SELECT spouse FROM table_name_38 WHERE birth = "30 may 1653"
CREATE TABLE table_name_38 (spouse VARCHAR, birth VARCHAR)
Which Spouse has a Birth of 30 may 1653?
SELECT death FROM table_name_34 WHERE birth = "6 january 1655"
CREATE TABLE table_name_34 (death VARCHAR, birth VARCHAR)
When did the person born on 6 january 1655 die?
SELECT club_province FROM table_name_88 WHERE caps > 15 AND player = "chris cusiter"
CREATE TABLE table_name_88 (club_province VARCHAR, caps VARCHAR, player VARCHAR)
Which Club or province has a caps larger than 15 and has Chris Cusiter playing for them?
SELECT date_of_birth__age_ FROM table_name_26 WHERE club_province = "ulster" AND position = "centre"
CREATE TABLE table_name_26 (date_of_birth__age_ VARCHAR, club_province VARCHAR, position VARCHAR)
What is the date of birth for the player from Ulster and plays at Centre position?
SELECT type FROM table_name_62 WHERE location = "nova scotia" AND disaster = "rms atlantic"
CREATE TABLE table_name_62 (type VARCHAR, location VARCHAR, disaster VARCHAR)
What type of disaster is rms atlantic categorized in that was located in Nova Scotia?
SELECT type FROM table_name_55 WHERE disaster = "arrow air flight 1285"
CREATE TABLE table_name_55 (type VARCHAR, disaster VARCHAR)
What is the type of disaster that the Arrow Air Flight 1285 categorized in?
SELECT disaster FROM table_name_39 WHERE location = "ontario" AND deaths = "223"
CREATE TABLE table_name_39 (disaster VARCHAR, location VARCHAR, deaths VARCHAR)
What is the disaster that was located in Ontario with 223 deaths?
SELECT deaths FROM table_name_56 WHERE type = "shipwreck" AND date = "1873"
CREATE TABLE table_name_56 (deaths VARCHAR, type VARCHAR, date VARCHAR)
How many deaths were there during the shipwreck in 1873?
SELECT location FROM table_name_49 WHERE date = "1916"
CREATE TABLE table_name_49 (location VARCHAR, date VARCHAR)
Where was the disaster located that took place on 1916?
SELECT MAX(laps) FROM table_name_52 WHERE time_retired = "+3.370 secs"
CREATE TABLE table_name_52 (laps INTEGER, time_retired VARCHAR)
Which Laps is the highest one that has a Time/Retired of +3.370 secs?
SELECT SUM(grid) FROM table_name_62 WHERE team = "rusport" AND laps > 221
CREATE TABLE table_name_62 (grid INTEGER, team VARCHAR, laps VARCHAR)
Which Grid has a Team of rusport, and Laps larger than 221?
SELECT title FROM table_name_18 WHERE producer = "maq" AND role = "anna"
CREATE TABLE table_name_18 (title VARCHAR, producer VARCHAR, role VARCHAR)
What title has a producer of MAQ and Anna as a role?
SELECT COUNT(year) FROM table_name_94 WHERE producer = "star cinema" AND director = "rory quintos" AND title = "kay tagal kang hinintay"
CREATE TABLE table_name_94 (year VARCHAR, title VARCHAR, producer VARCHAR, director VARCHAR)
How many years was Kay Tagal Kang Hinintay directed by Rory Quintos and produced by Star Cinema?
SELECT title FROM table_name_76 WHERE director = "joyce bernal"
CREATE TABLE table_name_76 (title VARCHAR, director VARCHAR)
Which title was directed by Joyce Bernal?
SELECT song FROM table_name_46 WHERE points > 38 AND artist = "morena camilleri"
CREATE TABLE table_name_46 (song VARCHAR, points VARCHAR, artist VARCHAR)
What song is it that artist morena camilleri does and has more than 38 points
SELECT SUM(points) FROM table_name_15 WHERE lyricist = "ray agius"
CREATE TABLE table_name_15 (points INTEGER, lyricist VARCHAR)
What is the total number of points for ray agius
SELECT COUNT(place) FROM table_name_99 WHERE name = "henry s. uber / betty uber (eng)"
CREATE TABLE table_name_99 (place VARCHAR, name VARCHAR)
What play did henry s. uber / betty uber (eng) finish in?
SELECT MAX(first_elected) FROM table_name_37 WHERE counties_represented = "baltimore county, howard" AND committee = "environmental matters (vice-chair)"
CREATE TABLE table_name_37 (first_elected INTEGER, counties_represented VARCHAR, committee VARCHAR)
When Baltimore County, Howard are represented, what's the first elected when the committee is environmental matters (vice-chair)?
SELECT party FROM table_name_50 WHERE counties_represented = "howard" AND delegate = "turner, frank s. frank s. turner"
CREATE TABLE table_name_50 (party VARCHAR, counties_represented VARCHAR, delegate VARCHAR)
What party is the delegate of Turner, Frank S. Frank S. Turner of Howard County?
SELECT damage__millions_usd__ FROM table_name_58 WHERE storm_name = "three"
CREATE TABLE table_name_58 (damage__millions_usd__ VARCHAR, storm_name VARCHAR)
What is the damage of storm three?
SELECT MIN(round) FROM table_name_18 WHERE circuit = "donington"
CREATE TABLE table_name_18 (round INTEGER, circuit VARCHAR)
Which Round is the lowest one that has a Circuit of donington?
SELECT 250 AS cc_winner FROM table_name_5 WHERE round > 6 AND date = "26 july"
CREATE TABLE table_name_5 (round VARCHAR, date VARCHAR)
Which 250cc winner has a Round larger than 6, and a Date of 26 july?
SELECT MAX(week) FROM table_name_30 WHERE attendance = 48 OFFSET 510
CREATE TABLE table_name_30 (week INTEGER, attendance VARCHAR)
Attendance of 48,510 had what highest week?
SELECT MIN(week) FROM table_name_43 WHERE opponent = "at san francisco 49ers"
CREATE TABLE table_name_43 (week INTEGER, opponent VARCHAR)
Opponent of at san francisco 49ers had what lowest week?
SELECT date FROM table_name_71 WHERE opponent = "minnesota vikings"
CREATE TABLE table_name_71 (date VARCHAR, opponent VARCHAR)
On what Date is the Minnesota Vikings the Opponent?
SELECT date FROM table_name_3 WHERE week = 5
CREATE TABLE table_name_3 (date VARCHAR, week VARCHAR)
What is the Date of Week 5?
SELECT date FROM table_name_47 WHERE week = 2
CREATE TABLE table_name_47 (date VARCHAR, week VARCHAR)
What is the Date of Week 2?
SELECT score FROM table_name_18 WHERE loss = "lary (10-12)"
CREATE TABLE table_name_18 (score VARCHAR, loss VARCHAR)
What was the score when the game has a loss of Lary (10-12)?
SELECT result FROM table_name_37 WHERE competition = "friendly"
CREATE TABLE table_name_37 (result VARCHAR, competition VARCHAR)
What is the result of the friendly match?
SELECT score FROM table_name_76 WHERE date = "june 4, 2008"
CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR)
What is the score of the match on June 4, 2008?
SELECT MIN(year) FROM table_name_17 WHERE length = "3:50"
CREATE TABLE table_name_17 (year INTEGER, length VARCHAR)
Which Year is the lowest one that has a Length of 3:50?
SELECT length FROM table_name_13 WHERE year = 2000
CREATE TABLE table_name_13 (length VARCHAR, year VARCHAR)
Which Length has a Year of 2000?
SELECT place FROM table_name_7 WHERE draw > 2 AND points < 139 AND artist = "midnight band"
CREATE TABLE table_name_7 (place VARCHAR, artist VARCHAR, draw VARCHAR, points VARCHAR)
In what place is the artist Midnight Band with a draw larger than 2 and less than 139 points.
SELECT player FROM table_name_78 WHERE matches = "9"
CREATE TABLE table_name_78 (player VARCHAR, matches VARCHAR)
what player matched up with 9
SELECT 2 AS nd_leg FROM table_name_48 WHERE team_1 = "internacional"
CREATE TABLE table_name_48 (team_1 VARCHAR)
What is the 2nd leg of the Internacional Team 1?
SELECT city FROM table_name_57 WHERE country = "spain" AND stadium = "palacio de deportes de santander"
CREATE TABLE table_name_57 (city VARCHAR, country VARCHAR, stadium VARCHAR)
Which City has a Country of spain, and a Stadium of palacio de deportes de santander?
SELECT MIN(capacity) FROM table_name_76 WHERE rank < 15 AND city = "belgrade"
CREATE TABLE table_name_76 (capacity INTEGER, rank VARCHAR, city VARCHAR)
Which Capacity is the lowest one that has a Rank smaller than 15, and a City of belgrade?
SELECT MIN(capacity) FROM table_name_96 WHERE city = "brisbane" AND rank < 1
CREATE TABLE table_name_96 (capacity INTEGER, city VARCHAR, rank VARCHAR)
Which Capacity is the lowest one that has a City of brisbane, and a Rank smaller than 1?
SELECT total_points FROM table_name_29 WHERE games = "30" AND bonus_points = "9" AND match_points = "68"
CREATE TABLE table_name_29 (total_points VARCHAR, match_points VARCHAR, games VARCHAR, bonus_points VARCHAR)
What are the total points that had 68 match points, 9 bonus points and 30 games?
SELECT MIN(length__km_) FROM table_name_38 WHERE name = "north klondike highway" AND length__mi_ < 326
CREATE TABLE table_name_38 (length__km_ INTEGER, name VARCHAR, length__mi_ VARCHAR)
What's the shortest length from north klondike highway that has a length less than 326?
SELECT opponent FROM table_name_92 WHERE score = "2-1"
CREATE TABLE table_name_92 (opponent VARCHAR, score VARCHAR)
what team had a score of 2-1
SELECT opponent FROM table_name_1 WHERE date = "may 11"
CREATE TABLE table_name_1 (opponent VARCHAR, date VARCHAR)
what team played on may 11
SELECT away FROM table_name_76 WHERE club = "sevilla"
CREATE TABLE table_name_76 (away VARCHAR, club VARCHAR)
what place has the club of sevilla
SELECT new_conference FROM table_name_64 WHERE location = "greentown"
CREATE TABLE table_name_64 (new_conference VARCHAR, location VARCHAR)
Which new conference is located in Greentown?
SELECT MAX(year_joined) FROM table_name_35 WHERE previous_conference = "mid-indiana" AND location = "converse"
CREATE TABLE table_name_35 (year_joined INTEGER, previous_conference VARCHAR, location VARCHAR)
What is the most current year with a previous conference of Mid-Indiana in Converse?
SELECT SUM(year_left) FROM table_name_71 WHERE location = "culver"
CREATE TABLE table_name_71 (year_left INTEGER, location VARCHAR)
What year did Culver leave?
SELECT mascot FROM table_name_41 WHERE _number___county = "34 howard"
CREATE TABLE table_name_41 (mascot VARCHAR, _number___county VARCHAR)
What is the mascot with a #/County of 34 Howard?
SELECT date FROM table_name_87 WHERE type_of_game = "friendly" AND results¹ = "2:3"
CREATE TABLE table_name_87 (date VARCHAR, type_of_game VARCHAR, results¹ VARCHAR)
What day was a friendly game held that had a score of 2:3?
SELECT type_of_game FROM table_name_57 WHERE date = "december 22"
CREATE TABLE table_name_57 (type_of_game VARCHAR, date VARCHAR)
What type of game was held on December 22?
SELECT mixed_doubles FROM table_name_92 WHERE year = 1979
CREATE TABLE table_name_92 (mixed_doubles VARCHAR, year VARCHAR)
what game had a doubles round in 1979
SELECT venue FROM table_name_74 WHERE goals < 72 AND assists > 40
CREATE TABLE table_name_74 (venue VARCHAR, goals VARCHAR, assists VARCHAR)
Where were less than 72 goals made and more than 40 assists made?
SELECT name FROM table_name_58 WHERE opponent = "pohang steelers"
CREATE TABLE table_name_58 (name VARCHAR, opponent VARCHAR)
Which opponent plays against the Pohang Steelers?
SELECT competition FROM table_name_19 WHERE assists > 40
CREATE TABLE table_name_19 (competition VARCHAR, assists INTEGER)
What competition had more than 40 assists?
SELECT nation FROM table_name_22 WHERE places = 122.5
CREATE TABLE table_name_22 (nation VARCHAR, places VARCHAR)
What Nation Placed 122.5?
SELECT AVG(places) FROM table_name_71 WHERE nation = "united states" AND rank = 8
CREATE TABLE table_name_71 (places INTEGER, nation VARCHAR, rank VARCHAR)
What is the Places amount of the United States Ranking 8?
SELECT AVG(episode) FROM table_name_35 WHERE performer_4 = "jimmy mulville"
CREATE TABLE table_name_35 (episode INTEGER, performer_4 VARCHAR)
What is the average episode number where jimmy mulville was the 4th performer?
SELECT COUNT(episode) FROM table_name_70 WHERE performer_3 = "hugh laurie"
CREATE TABLE table_name_70 (episode VARCHAR, performer_3 VARCHAR)
What is the total number of episodes where hugh laurie was the 3rd performer?
SELECT MIN(episode) FROM table_name_48 WHERE performer_4 = "john bird"
CREATE TABLE table_name_48 (episode INTEGER, performer_4 VARCHAR)
What is the lowest episode number where john bird was the 4th performer?
SELECT performer_3 FROM table_name_11 WHERE performer_4 = "rory bremner"
CREATE TABLE table_name_11 (performer_3 VARCHAR, performer_4 VARCHAR)
Who was the 3rd performer when Rory Bremner was the 4th performer?
SELECT time___et__ FROM table_name_38 WHERE location = "three rivers stadium" AND opponent = "detroit lions"
CREATE TABLE table_name_38 (time___et__ VARCHAR, location VARCHAR, opponent VARCHAR)
What time did the game featuring the Detroit Lions at Three Rivers Stadium occur?
SELECT MAX(successes) FROM table_name_36 WHERE launches > 1 AND failures < 0
CREATE TABLE table_name_36 (successes INTEGER, launches VARCHAR, failures VARCHAR)
What is the highest number of successful launches associated with over 1 launch and under 0 fails?