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