instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: what country has tiger woods
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_47 WHERE player = "tiger woods"
Write a SQL query that answers the following question: what country has a score of 69-70-72=211?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_63 WHERE score = 69 - 70 - 72 = 211
Write a SQL query that answers the following question: what player scored 69-72-68=209?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_66 WHERE score = 69 - 72 - 68 = 209
Write a SQL query that answers the following question: What is the largest number for earnings for tom watson when ranked more than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (earnings___ INTEGER, player VARCHAR, rank VARCHAR)
SELECT MAX(earnings___) AS $__ FROM table_name_59 WHERE player = "tom watson" AND rank > 2
Write a SQL query that answers the following question: Which 1st (m) is the lowest one that has a Nationality of aut, and Points larger than 273.5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (nationality VARCHAR, points VARCHAR)
SELECT MIN(1 AS st__m_) FROM table_name_28 WHERE nationality = "aut" AND points > 273.5
Write a SQL query that answers the following question: What is the highest number of wins associated with under 0 poles?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (wins INTEGER, poles INTEGER)
SELECT MAX(wins) FROM table_name_36 WHERE poles < 0
Write a SQL query that answers the following question: How many poles did he have in 2006 with under 2 wins?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (poles VARCHAR, season VARCHAR, wins VARCHAR)
SELECT poles FROM table_name_57 WHERE season = "2006" AND wins < 2
Write a SQL query that answers the following question: What is the fewest number of wins when he has 3 poles in 2010?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (wins INTEGER, poles VARCHAR, season VARCHAR)
SELECT MIN(wins) FROM table_name_51 WHERE poles = 3 AND season = "2010"
Write a SQL query that answers the following question: What's listed for the 2012 that has a 2011 of 7.7% with a 2008 of 7.9%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (Id VARCHAR)
SELECT 2012 FROM table_name_88 WHERE 2011 = "7.7%" AND 2008 = "7.9%"
Write a SQL query that answers the following question: What is listed for the 2011 that has a 2005 of 4.2%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (Id VARCHAR)
SELECT 2011 FROM table_name_8 WHERE 2005 = "4.2%"
Write a SQL query that answers the following question: What is listed for the 2012 that has a 2011 of 28.9%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (Id VARCHAR)
SELECT 2012 FROM table_name_86 WHERE 2011 = "28.9%"
Write a SQL query that answers the following question: What is listed for the 2005 that has a 2012 of 4.2%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (Id VARCHAR)
SELECT 2005 FROM table_name_35 WHERE 2012 = "4.2%"
Write a SQL query that answers the following question: What is listed the Favorite Professional Sport that's got a 2005 of 17.1%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (favorite_professional_sport VARCHAR)
SELECT favorite_professional_sport FROM table_name_91 WHERE 2005 = "17.1%"
Write a SQL query that answers the following question: What is listed as the Favorite Professional Sport that has a 2008 of 8.9%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (favorite_professional_sport VARCHAR)
SELECT favorite_professional_sport FROM table_name_87 WHERE 2008 = "8.9%"
Write a SQL query that answers the following question: What was the score of the game that led to a 79-77 record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_64 WHERE record = "79-77"
Write a SQL query that answers the following question: What was the record after the game in which Rosales (1-1) took the loss?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (record VARCHAR, loss VARCHAR)
SELECT record FROM table_name_95 WHERE loss = "rosales (1-1)"
Write a SQL query that answers the following question: Which supercentenarians were born in Manitoba?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (name VARCHAR, province_or_country_of_birth VARCHAR)
SELECT name FROM table_name_52 WHERE province_or_country_of_birth = "manitoba"
Write a SQL query that answers the following question: What is the average age as of February 1, 2014 for the supercentenarians born in the United States?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (age_as_of_1_february_2014 VARCHAR, province_or_country_of_birth VARCHAR)
SELECT age_as_of_1_february_2014 FROM table_name_23 WHERE province_or_country_of_birth = "united states"
Write a SQL query that answers the following question: Which 2010 Tournament has a 2001 of grand slam tournaments?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (Id VARCHAR)
SELECT 2010 FROM table_name_36 WHERE 2001 = "grand slam tournaments"
Write a SQL query that answers the following question: Which 2006 Tournament has a 2004, and a 2002 of not tier i?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (Id VARCHAR)
SELECT 2006 FROM table_name_15 WHERE 2004 = "a" AND 2002 = "not tier i"
Write a SQL query that answers the following question: Which 2008 Tournament has a 2007 of a and a 2010 of qf?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (Id VARCHAR)
SELECT 2008 FROM table_name_46 WHERE 2007 = "a" AND 2010 = "qf"
Write a SQL query that answers the following question: Which Tournament has a 2002 of grand slam tournaments?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (tournament VARCHAR)
SELECT tournament FROM table_name_82 WHERE 2002 = "grand slam tournaments"
Write a SQL query that answers the following question: Which 2000 Tournament has a 2002 of not tier i, and a 2006 of 2r?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (Id VARCHAR)
SELECT 2000 FROM table_name_57 WHERE 2002 = "not tier i" AND 2006 = "2r"
Write a SQL query that answers the following question: Which language's launch was in 2006 when then hanzi was 青海电视台藏语综合频道?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (language VARCHAR, launch VARCHAR, hanzi VARCHAR)
SELECT language FROM table_name_7 WHERE launch = 2006 AND hanzi = "青海电视台藏语综合频道"
Write a SQL query that answers the following question: Which hanzi's name is nmtv mongolian satellite television?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (hanzi VARCHAR, name VARCHAR)
SELECT hanzi FROM table_name_84 WHERE name = "nmtv mongolian satellite television"
Write a SQL query that answers the following question: Which hanzi's launch is before 2009, when the language was tibetan, and the name was qinghai tibetian general channel?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (hanzi VARCHAR, name VARCHAR, launch VARCHAR, language VARCHAR)
SELECT hanzi FROM table_name_71 WHERE launch < 2009 AND language = "tibetan" AND name = "qinghai tibetian general channel"
Write a SQL query that answers the following question: What Team had a 1:24.365 Qual 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (team VARCHAR, qual_2 VARCHAR)
SELECT team FROM table_name_60 WHERE qual_2 = "1:24.365"
Write a SQL query that answers the following question: What Team had a 1:24.152 Best?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (team VARCHAR, best VARCHAR)
SELECT team FROM table_name_51 WHERE best = "1:24.152"
Write a SQL query that answers the following question: What was Robert Doornbos' Best?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (best VARCHAR, name VARCHAR)
SELECT best FROM table_name_47 WHERE name = "robert doornbos"
Write a SQL query that answers the following question: What was Alex Figge's Best?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (best VARCHAR, name VARCHAR)
SELECT best FROM table_name_47 WHERE name = "alex figge"
Write a SQL query that answers the following question: What Team had a 1:25.602 Best?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (team VARCHAR, best VARCHAR)
SELECT team FROM table_name_41 WHERE best = "1:25.602"
Write a SQL query that answers the following question: What was the Name of the person with a Qual 1 of 1:26.056?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (name VARCHAR, qual_1 VARCHAR)
SELECT name FROM table_name_59 WHERE qual_1 = "1:26.056"
Write a SQL query that answers the following question: How many picks were there for the Bentley team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (pick VARCHAR, school_club_team VARCHAR)
SELECT COUNT(pick) FROM table_name_31 WHERE school_club_team = "bentley"
Write a SQL query that answers the following question: What is the largest round number for Dan Connor, the player?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (round INTEGER, player VARCHAR)
SELECT MAX(round) FROM table_name_87 WHERE player = "dan connor"
Write a SQL query that answers the following question: What is the largest round number for the dt position when the pick number is bigger than 181?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (round INTEGER, position VARCHAR, pick VARCHAR)
SELECT MAX(round) FROM table_name_54 WHERE position = "dt" AND pick > 181
Write a SQL query that answers the following question: what circuit is in italy
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (circuit VARCHAR, round VARCHAR)
SELECT circuit FROM table_name_25 WHERE round = "italy"
Write a SQL query that answers the following question: What is the average pick for clarence mason?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (pick INTEGER, player VARCHAR)
SELECT AVG(pick) FROM table_name_59 WHERE player = "clarence mason"
Write a SQL query that answers the following question: What is the frequency for the city of Lamar, Colorado?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (frequency_mhz INTEGER, city_of_license VARCHAR)
SELECT AVG(frequency_mhz) FROM table_name_37 WHERE city_of_license = "lamar, colorado"
Write a SQL query that answers the following question: What is the average ERP W for callsign K207BK?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (erp_w INTEGER, call_sign VARCHAR)
SELECT AVG(erp_w) FROM table_name_97 WHERE call_sign = "k207bk"
Write a SQL query that answers the following question: Which callsign has ERP W of 99 and a frequency of greater than 88.7MHz?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
SELECT call_sign FROM table_name_15 WHERE frequency_mhz > 88.7 AND erp_w = 99
Write a SQL query that answers the following question: Which city has ERP W under 14 and a frequency over 93.7MHz?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (city_of_license VARCHAR, erp_w VARCHAR, frequency_mhz VARCHAR)
SELECT city_of_license FROM table_name_20 WHERE erp_w < 14 AND frequency_mhz > 93.7
Write a SQL query that answers the following question: What were the total number of field goals when there were 0 touchdowns and 2 extra points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (field_goals VARCHAR, touchdowns VARCHAR, extra_points VARCHAR)
SELECT COUNT(field_goals) FROM table_name_80 WHERE touchdowns = 0 AND extra_points = 2
Write a SQL query that answers the following question: How many field goals did Carter get when he had 0 extra points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (field_goals INTEGER, player VARCHAR, extra_points VARCHAR)
SELECT SUM(field_goals) FROM table_name_14 WHERE player = "carter" AND extra_points < 0
Write a SQL query that answers the following question: What is the highest amount of extra points someone got when they scored 28 points but had 0 field goals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (extra_points INTEGER, points VARCHAR, field_goals VARCHAR)
SELECT MAX(extra_points) FROM table_name_20 WHERE points = 28 AND field_goals < 0
Write a SQL query that answers the following question: What is the average field goal someone has when they have 0 extra points but more than 5 touch downs?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (field_goals INTEGER, extra_points VARCHAR, touchdowns VARCHAR)
SELECT AVG(field_goals) FROM table_name_80 WHERE extra_points > 0 AND touchdowns > 5
Write a SQL query that answers the following question: What is the lowest number of wins with more than 113 points in 4th rank?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (wins INTEGER, points VARCHAR, rank VARCHAR)
SELECT MIN(wins) FROM table_name_80 WHERE points > 113 AND rank = "4th"
Write a SQL query that answers the following question: How many wins had less than 91 points in 25th rank?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (wins VARCHAR, points VARCHAR, rank VARCHAR)
SELECT wins FROM table_name_44 WHERE points < 91 AND rank = "25th"
Write a SQL query that answers the following question: How many wins in 1992?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (wins VARCHAR, year VARCHAR)
SELECT wins FROM table_name_52 WHERE year = 1992
Write a SQL query that answers the following question: How many wins occurred for 6th rank?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (wins VARCHAR, rank VARCHAR)
SELECT COUNT(wins) FROM table_name_31 WHERE rank = "6th"
Write a SQL query that answers the following question: Who was the constructor of the car driven by Heikki Kovalainen?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (constructor VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_39 WHERE driver = "heikki kovalainen"
Write a SQL query that answers the following question: Which Reg Season has a Division of 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (reg_season VARCHAR, division VARCHAR)
SELECT reg_season FROM table_name_31 WHERE division = 2
Write a SQL query that answers the following question: Which Year is the highest one that has a Reg Season of 3rd, western, and a Division larger than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (year INTEGER, reg_season VARCHAR, division VARCHAR)
SELECT MAX(year) FROM table_name_30 WHERE reg_season = "3rd, western" AND division > 2
Write a SQL query that answers the following question: Which year is the lowest one when the playoffs did not qualify?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (year INTEGER, playoffs VARCHAR)
SELECT MIN(year) FROM table_name_93 WHERE playoffs = "did not qualify"
Write a SQL query that answers the following question: Which Year has a Reg Season of 3rd, western?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (year INTEGER, reg_season VARCHAR)
SELECT AVG(year) FROM table_name_9 WHERE reg_season = "3rd, western"
Write a SQL query that answers the following question: Which Division that has a Reg Season of 1st, western, and Playoffs of champions, and a Year smaller than 2013?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (division INTEGER, year VARCHAR, reg_season VARCHAR, playoffs VARCHAR)
SELECT AVG(division) FROM table_name_36 WHERE reg_season = "1st, western" AND playoffs = "champions" AND year < 2013
Write a SQL query that answers the following question: Who was the opponent during the game that had more than 31,891 people in attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (opponent VARCHAR, attendance INTEGER)
SELECT opponent FROM table_name_80 WHERE attendance > 31 OFFSET 891
Write a SQL query that answers the following question: What is the average attendance for the game before week 4 that was on october 16, 1955?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (attendance INTEGER, date VARCHAR, week VARCHAR)
SELECT AVG(attendance) FROM table_name_97 WHERE date = "october 16, 1955" AND week < 4
Write a SQL query that answers the following question: Who was the opponent for the game on November 20, 1955?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_35 WHERE date = "november 20, 1955"
Write a SQL query that answers the following question: What is the highest number of successful defenses in brandon, florida and a reign less than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (successful_defenses INTEGER, location VARCHAR, reign VARCHAR)
SELECT MAX(successful_defenses) FROM table_name_13 WHERE location = "brandon, florida" AND reign < 1
Write a SQL query that answers the following question: What was the date of the game against Norway with a 1:1 result?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (date VARCHAR, opponent VARCHAR, results¹ VARCHAR)
SELECT date FROM table_name_31 WHERE opponent = "norway" AND results¹ = "1:1"
Write a SQL query that answers the following question: What type of game had a 0:0 result?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (type_of_game VARCHAR, results¹ VARCHAR)
SELECT type_of_game FROM table_name_17 WHERE results¹ = "0:0"
Write a SQL query that answers the following question: What city held that game with a 5:2 result?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (city VARCHAR, results¹ VARCHAR)
SELECT city FROM table_name_5 WHERE results¹ = "5:2"
Write a SQL query that answers the following question: What is the score of the game that has a record of 1-2-1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_29 WHERE record = "1-2-1"
Write a SQL query that answers the following question: What is the team's record in games against the Hartford Whalers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_52 WHERE opponent = "hartford whalers"
Write a SQL query that answers the following question: What was the Record on Week 13 at the Hoosier Dome?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (record VARCHAR, game_site VARCHAR, week VARCHAR)
SELECT record FROM table_name_97 WHERE game_site = "hoosier dome" AND week = 13
Write a SQL query that answers the following question: What was the Week on October 18, 1992?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (week INTEGER, date VARCHAR)
SELECT SUM(week) FROM table_name_3 WHERE date = "october 18, 1992"
Write a SQL query that answers the following question: What loss has 16-6 as the record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_25 WHERE record = "16-6"
Write a SQL query that answers the following question: What loss has 4-2 as the record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_73 WHERE record = "4-2"
Write a SQL query that answers the following question: What attendance has astros as the opponent, and april 29 as the date?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (attendance INTEGER, opponent VARCHAR, date VARCHAR)
SELECT SUM(attendance) FROM table_name_69 WHERE opponent = "astros" AND date = "april 29"
Write a SQL query that answers the following question: Which Operator has a Width of 2.65 m, and a Type designation of m5000?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (operator VARCHAR, width VARCHAR, type_designation VARCHAR)
SELECT operator FROM table_name_13 WHERE width = "2.65 m" AND type_designation = "m5000"
Write a SQL query that answers the following question: Which Width has a Number of vehicles larger than 15, and a Type designation of k5000?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (width VARCHAR, number_of_vehicles VARCHAR, type_designation VARCHAR)
SELECT width FROM table_name_88 WHERE number_of_vehicles > 15 AND type_designation = "k5000"
Write a SQL query that answers the following question: Which Number of vehicles has a Type designation of u5-25 (bi-directional)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (number_of_vehicles VARCHAR, type_designation VARCHAR)
SELECT number_of_vehicles FROM table_name_76 WHERE type_designation = "u5-25 (bi-directional)"
Write a SQL query that answers the following question: Province of leinster, and a County of fingal has which irish name?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (irish_name VARCHAR, province VARCHAR, county VARCHAR)
SELECT irish_name FROM table_name_65 WHERE province = "leinster" AND county = "fingal"
Write a SQL query that answers the following question: Irish name of an dún (contae an dúin) has what county town?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (county VARCHAR, irish_name VARCHAR)
SELECT county AS town FROM table_name_34 WHERE irish_name = "an dún (contae an dúin)"
Write a SQL query that answers the following question: Most populous city/town of clonmel, and a Irish name of tiobraid árann (contae thiobraid árann) is which region?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (region VARCHAR, most_populous_city_town VARCHAR, irish_name VARCHAR)
SELECT region FROM table_name_8 WHERE most_populous_city_town = "clonmel" AND irish_name = "tiobraid árann (contae thiobraid árann)"
Write a SQL query that answers the following question: Irish name of dún na ngall (contae dhún na ngall) has the most populous city/town?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (most_populous_city_town VARCHAR, irish_name VARCHAR)
SELECT most_populous_city_town FROM table_name_46 WHERE irish_name = "dún na ngall (contae dhún na ngall)"
Write a SQL query that answers the following question: Name the games for rubén limardo
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (games VARCHAR, name VARCHAR)
SELECT games FROM table_name_66 WHERE name = "rubén limardo"
Write a SQL query that answers the following question: Name the sport for men's light flyweight with medal of gold
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (sport VARCHAR, medal VARCHAR, event VARCHAR)
SELECT sport FROM table_name_75 WHERE medal = "gold" AND event = "men's light flyweight"
Write a SQL query that answers the following question: Tell me the name for men's featherweight and sport of weightlifting
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (name VARCHAR, event VARCHAR, sport VARCHAR)
SELECT name FROM table_name_71 WHERE event = "men's featherweight" AND sport = "weightlifting"
Write a SQL query that answers the following question: Which details of journey had simon hoggart as a narrator?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (details_of_journey VARCHAR, narrator VARCHAR)
SELECT details_of_journey FROM table_name_48 WHERE narrator = "simon hoggart"
Write a SQL query that answers the following question: Which countries visited had an episode number of less than 7 when Ray Gosling was the writer?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (countries_visited VARCHAR, episode_no VARCHAR, writer VARCHAR)
SELECT countries_visited FROM table_name_26 WHERE episode_no < 7 AND writer = "ray gosling"
Write a SQL query that answers the following question: How tall is Zipp Duncan?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (height VARCHAR, name VARCHAR)
SELECT height FROM table_name_30 WHERE name = "zipp duncan"
Write a SQL query that answers the following question: What is the average games of Tony Dixon?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (games INTEGER, name VARCHAR)
SELECT AVG(games) AS ↑ FROM table_name_51 WHERE name = "tony dixon"
Write a SQL query that answers the following question: What is the total of wins where the top 25 is 6, top 10 is more than 2, and the event number is less than 19?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (wins INTEGER, events VARCHAR, top_25 VARCHAR, top_10 VARCHAR)
SELECT SUM(wins) FROM table_name_55 WHERE top_25 = 6 AND top_10 > 2 AND events < 19
Write a SQL query that answers the following question: What is the total of cuts made where the top 25 is less than 6 and the top-5 is more than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (cuts_made INTEGER, top_25 VARCHAR, top_5 VARCHAR)
SELECT SUM(cuts_made) FROM table_name_90 WHERE top_25 < 6 AND top_5 > 0
Write a SQL query that answers the following question: How many top-10 numbers had a top 25 of more than 6 with less than 2 wins?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (top_10 VARCHAR, top_25 VARCHAR, wins VARCHAR)
SELECT COUNT(top_10) FROM table_name_61 WHERE top_25 > 6 AND wins < 2
Write a SQL query that answers the following question: Name the 2011 with 2010 of 1r and 2012 of sf
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (Id VARCHAR)
SELECT 2011 FROM table_name_35 WHERE 2010 = "1r" AND 2012 = "sf"
Write a SQL query that answers the following question: Name the 2008 with 2012 of 2r and 2006 of 2r
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (Id VARCHAR)
SELECT 2008 FROM table_name_39 WHERE 2012 = "2r" AND 2006 = "2r"
Write a SQL query that answers the following question: Name the 2008 for 2012 of sf
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (Id VARCHAR)
SELECT 2008 FROM table_name_41 WHERE 2012 = "sf"
Write a SQL query that answers the following question: Name the 2013 for 2011 of 1r
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (Id VARCHAR)
SELECT 2013 FROM table_name_9 WHERE 2011 = "1r"
Write a SQL query that answers the following question: Name the 2011 with 2006 of 2r and 2008 of 2r
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (Id VARCHAR)
SELECT 2011 FROM table_name_22 WHERE 2006 = "2r" AND 2008 = "2r"
Write a SQL query that answers the following question: Name the 2012 with 2013 of 2r and 2009 of 3r
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (Id VARCHAR)
SELECT 2012 FROM table_name_69 WHERE 2013 = "2r" AND 2009 = "3r"
Write a SQL query that answers the following question: How many Field goals have Points larger than 5, and Touchdowns larger than 2, and an Extra points smaller than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (field_goals VARCHAR, extra_points VARCHAR, points VARCHAR, touchdowns VARCHAR)
SELECT COUNT(field_goals) FROM table_name_33 WHERE points > 5 AND touchdowns > 2 AND extra_points < 0
Write a SQL query that answers the following question: How many Touchdowns have Extra points larger than 0, and Points of 48?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (touchdowns VARCHAR, extra_points VARCHAR, points VARCHAR)
SELECT COUNT(touchdowns) FROM table_name_84 WHERE extra_points > 0 AND points = 48
Write a SQL query that answers the following question: Which Touchdowns have an Extra points smaller than 5, and a Player of clark, and Field goals larger than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (touchdowns INTEGER, field_goals VARCHAR, extra_points VARCHAR, player VARCHAR)
SELECT AVG(touchdowns) FROM table_name_8 WHERE extra_points < 5 AND player = "clark" AND field_goals > 0
Write a SQL query that answers the following question: Which Points have Touchdowns larger than 0, and an Extra points smaller than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (points INTEGER, touchdowns VARCHAR, extra_points VARCHAR)
SELECT SUM(points) FROM table_name_70 WHERE touchdowns > 0 AND extra_points < 0
Write a SQL query that answers the following question: Which Semifinalists has a Champions of michael chang 6-0 6-4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (semifinalists VARCHAR, champions VARCHAR)
SELECT semifinalists FROM table_name_86 WHERE champions = "michael chang 6-0 6-4"
Write a SQL query that answers the following question: Whose Runner-up has a Semifinalist of guillermo pérez-roldán andrea gaudenzi?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (runners_up VARCHAR, semifinalists VARCHAR)
SELECT runners_up FROM table_name_68 WHERE semifinalists = "guillermo pérez-roldán andrea gaudenzi"
Write a SQL query that answers the following question: Tell me the least season with level less than 1
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (season INTEGER, level INTEGER)
SELECT MIN(season) FROM table_name_5 WHERE level < 1
Write a SQL query that answers the following question: What was the Attendance on September 11, 1983?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_49 WHERE date = "september 11, 1983"