answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT date FROM table_name_72 WHERE visiting_team = "denver broncos" | CREATE TABLE table_name_72 (date VARCHAR, visiting_team VARCHAR) | Name the date for visiting team of denver broncos |
SELECT stadium FROM table_name_46 WHERE host_team = "san diego chargers" AND final_score = "23-45" | CREATE TABLE table_name_46 (stadium VARCHAR, host_team VARCHAR, final_score VARCHAR) | Name the stadium with host team of san diego chargers and final score of 23-45 |
SELECT stadium FROM table_name_35 WHERE final_score = "20-10" | CREATE TABLE table_name_35 (stadium VARCHAR, final_score VARCHAR) | Name the stadium with final score of 20-10 |
SELECT date FROM table_name_47 WHERE visiting_team = "philadelphia eagles" | CREATE TABLE table_name_47 (date VARCHAR, visiting_team VARCHAR) | Name the date with visiting team of philadelphia eagles |
SELECT host_team FROM table_name_93 WHERE date = "january 1 (2006)" | CREATE TABLE table_name_93 (host_team VARCHAR, date VARCHAR) | Name the host team for january 1 (2006) |
SELECT team FROM table_name_36 WHERE school = "delmar" | CREATE TABLE table_name_36 (team VARCHAR, school VARCHAR) | What team belongs to Delmar? |
SELECT division_record FROM table_name_63 WHERE school = "laurel" | CREATE TABLE table_name_63 (division_record VARCHAR, school VARCHAR) | What was Laurel's division record? |
SELECT MIN(rank) FROM table_name_90 WHERE code__iata_icao_ = "bcm/lrbc" AND 2010 > 240 OFFSET 735 | CREATE TABLE table_name_90 (rank INTEGER, code__iata_icao_ VARCHAR) | What is the rank of airport with a (IATA/ICAO) of bcm/lrbc code and an amount of 240,735 in 2010? |
SELECT 2010 FROM table_name_20 WHERE code__iata_icao_ = "cra/lrcv" | CREATE TABLE table_name_20 (code__iata_icao_ VARCHAR) | What is the average in 2010 of the team with a code of (IATA/ICAO) or cra/lrcv? |
SELECT state_ranked_in_partisan_order FROM table_name_28 WHERE percentage_republicans = "67%" AND republican__democratic = "24/12" | CREATE TABLE table_name_28 (state_ranked_in_partisan_order VARCHAR, percentage_republicans VARCHAR, republican__democratic VARCHAR) | Which state has 67% Republicans and a ratio of 24/12 of Republicans to Democrats? |
SELECT state_ranked_in_partisan_order FROM table_name_66 WHERE percentage_democrats = "25%" AND republican__democratic = "6/2" | CREATE TABLE table_name_66 (state_ranked_in_partisan_order VARCHAR, percentage_democrats VARCHAR, republican__democratic VARCHAR) | What state is 25% Democrats has a ratio of 6/2 of Republicans to Democrats? |
SELECT republican__democratic FROM table_name_91 WHERE state_ranked_in_partisan_order = "south carolina" | CREATE TABLE table_name_91 (republican__democratic VARCHAR, state_ranked_in_partisan_order VARCHAR) | What is the ratio of Republicans to Democrats in South Carolina? |
SELECT republican_seat_plurality FROM table_name_30 WHERE republican__democratic = "12/4" | CREATE TABLE table_name_30 (republican_seat_plurality VARCHAR, republican__democratic VARCHAR) | What is the Republican seat plurality of the state with a ratio of 12/4 Republicans to Democrats? |
SELECT republican_seat_plurality FROM table_name_18 WHERE state_ranked_in_partisan_order = "north carolina" | CREATE TABLE table_name_18 (republican_seat_plurality VARCHAR, state_ranked_in_partisan_order VARCHAR) | What is the Republican seat plurality of North Carolina? |
SELECT MAX(round_4) FROM table_name_56 WHERE score = 284 AND year > 1998 | CREATE TABLE table_name_56 (round_4 INTEGER, score VARCHAR, year VARCHAR) | What is the highest score in round 4 and total of 284 in a year more recent than 1998? |
SELECT MAX(money__) AS ¥_ FROM table_name_65 WHERE round_2 = 65 AND round_4 < 67 | CREATE TABLE table_name_65 (money__ INTEGER, round_2 VARCHAR, round_4 VARCHAR) | What is the maximum ¥ for a round 2 score of 65 and a round 4 score smaller than 67? |
SELECT MIN(year) FROM table_name_23 WHERE tournament = "dunlop phoenix tournament" AND round_4 > 72 | CREATE TABLE table_name_23 (year INTEGER, tournament VARCHAR, round_4 VARCHAR) | What is the earliest year when the Dunlop Phoenix Tournament was played with a round 4 score larger than 72? |
SELECT MIN(round_1) FROM table_name_15 WHERE place = "t15" AND year < 1998 | CREATE TABLE table_name_15 (round_1 INTEGER, place VARCHAR, year VARCHAR) | What is the lowest round with a place of t15 in a year earlier than 1998? |
SELECT venue FROM table_name_61 WHERE driver = "emerson fittipaldi" AND event = "brdc international trophy" | CREATE TABLE table_name_61 (venue VARCHAR, driver VARCHAR, event VARCHAR) | Where was the BRDC International Trophy with driver Emerson Fittipaldi held? |
SELECT MAX(year) FROM table_name_41 WHERE venue = "kyalami" AND driver = "keke rosberg" | CREATE TABLE table_name_41 (year INTEGER, venue VARCHAR, driver VARCHAR) | What was the most recent race at Kyalami with Keke Rosberg competing? |
SELECT year FROM table_name_30 WHERE event = "spanish grand prix" AND driver = "emerson fittipaldi" | CREATE TABLE table_name_30 (year VARCHAR, event VARCHAR, driver VARCHAR) | What year was the Spanish Grand Prix where Emerson Fittipaldi drove? |
SELECT result FROM table_name_51 WHERE venue = "jarama" AND driver = "emerson fittipaldi" | CREATE TABLE table_name_51 (result VARCHAR, venue VARCHAR, driver VARCHAR) | What was the outcome for Emerson Fittipaldi in the race held at Jarama? |
SELECT COUNT(year) FROM table_name_97 WHERE driver = "wilson fittipaldi" | CREATE TABLE table_name_97 (year VARCHAR, driver VARCHAR) | How many years did Wilson Fittipaldi race? |
SELECT score FROM table_name_44 WHERE loss = "cox (6–2)" | CREATE TABLE table_name_44 (score VARCHAR, loss VARCHAR) | What was the score of the game that had a loss of Cox (6–2)? |
SELECT date FROM table_name_74 WHERE loss = "rojas (9–8)" | CREATE TABLE table_name_74 (date VARCHAR, loss VARCHAR) | What was the date of the game that had a loss of Rojas (9–8)? |
SELECT score FROM table_name_25 WHERE loss = "coates (0–2)" | CREATE TABLE table_name_25 (score VARCHAR, loss VARCHAR) | What was the score of the game that had a loss of Coates (0–2)? |
SELECT score FROM table_name_12 WHERE record = "58–47" | CREATE TABLE table_name_12 (score VARCHAR, record VARCHAR) | What was the score of the game when the record was 58–47? |
SELECT english_spelling FROM table_name_24 WHERE hebrew_word = "יְהוֹשָפָט" | CREATE TABLE table_name_24 (english_spelling VARCHAR, hebrew_word VARCHAR) | How do you spell the Hebrew word יְהוֹשָפָט in English? |
SELECT start FROM table_name_96 WHERE year = "1956" | CREATE TABLE table_name_96 (start VARCHAR, year VARCHAR) | Which start has 1956 as the year? |
SELECT start FROM table_name_11 WHERE finish = "32" AND laps > 6 | CREATE TABLE table_name_11 (start VARCHAR, finish VARCHAR, laps VARCHAR) | Which start has 32 as the finish and laps more than 6? |
SELECT start FROM table_name_55 WHERE rank = "4" | CREATE TABLE table_name_55 (start VARCHAR, rank VARCHAR) | Which start has 4 as a rank? |
SELECT COUNT(laps) FROM table_name_25 WHERE start = "1" | CREATE TABLE table_name_25 (laps VARCHAR, start VARCHAR) | How many laps have 1 as the start? |
SELECT finish FROM table_name_24 WHERE rank = "33" AND laps = 200 | CREATE TABLE table_name_24 (finish VARCHAR, rank VARCHAR, laps VARCHAR) | Which finish has 33 as a rank and 200 for laps? |
SELECT finish FROM table_name_95 WHERE rank = "1" | CREATE TABLE table_name_95 (finish VARCHAR, rank VARCHAR) | Which finish has 1 as the rank? |
SELECT special_notes FROM table_name_91 WHERE issue_price < 24.95 AND theme = "edmonton oilers" | CREATE TABLE table_name_91 (special_notes VARCHAR, issue_price VARCHAR, theme VARCHAR) | What are the special notes for an issue price under 24.95 with an edmonton oilers theme? |
SELECT theme FROM table_name_24 WHERE special_notes = "from calgary flames gift set" | CREATE TABLE table_name_24 (theme VARCHAR, special_notes VARCHAR) | What theme has special notes from calgary flames gift set? |
SELECT COUNT(year) FROM table_name_10 WHERE issue_price > 15.95 AND special_notes = "from edmonton oilers gift set" | CREATE TABLE table_name_10 (year VARCHAR, issue_price VARCHAR, special_notes VARCHAR) | What year has an issue price over 15.95, and a special notes from edmonton oilers gift set? |
SELECT site FROM table_name_28 WHERE superintendent = "john barry" | CREATE TABLE table_name_28 (site VARCHAR, superintendent VARCHAR) | What is the site when the superintendent was John Barry? |
SELECT guns FROM table_name_36 WHERE superintendent = "silas talbot" | CREATE TABLE table_name_36 (guns VARCHAR, superintendent VARCHAR) | What is the number of guns when the superintendent was Silas Talbot? |
SELECT site FROM table_name_93 WHERE superintendent = "james sever" | CREATE TABLE table_name_93 (site VARCHAR, superintendent VARCHAR) | What is the site when the superintendent was James Sever? |
SELECT loss FROM table_name_25 WHERE record = "65-53" | CREATE TABLE table_name_25 (loss VARCHAR, record VARCHAR) | Who was the loss in the game with the record of 65-53? |
SELECT record FROM table_name_75 WHERE opponent = "rangers" AND date = "august 29" | CREATE TABLE table_name_75 (record VARCHAR, opponent VARCHAR, date VARCHAR) | On August 29, What was the record playing against the Rangers? |
SELECT attendance FROM table_name_39 WHERE date = "august 22" | CREATE TABLE table_name_39 (attendance VARCHAR, date VARCHAR) | On August 22, how many people came to the game? |
SELECT MIN(west_indies) FROM table_name_92 WHERE holder_at_the_end_of_the_series = "west indies" AND england > 1 AND season = "1991" | CREATE TABLE table_name_92 (west_indies INTEGER, season VARCHAR, holder_at_the_end_of_the_series VARCHAR, england VARCHAR) | When west indes was a holder at the end of the series for the 1991 season with an england greater than 1, what is the smallest west indies? |
SELECT date FROM table_name_43 WHERE record = "27-31" | CREATE TABLE table_name_43 (date VARCHAR, record VARCHAR) | When were the Brewers 27-31? |
SELECT loss FROM table_name_63 WHERE score = "2-8" | CREATE TABLE table_name_63 (loss VARCHAR, score VARCHAR) | When did the Brewers lose 2-8? |
SELECT MIN(attendance) FROM table_name_13 WHERE score = "5-7" | CREATE TABLE table_name_13 (attendance INTEGER, score VARCHAR) | When the Brewers score was 5-7, what was the lowest attendance? |
SELECT host_team FROM table_name_24 WHERE visiting_team = "baltimore ravens" | CREATE TABLE table_name_24 (host_team VARCHAR, visiting_team VARCHAR) | Who hosted the visiting team Baltimore Ravens? |
SELECT final_score FROM table_name_25 WHERE stadium = "heinz field" | CREATE TABLE table_name_25 (final_score VARCHAR, stadium VARCHAR) | What was the final score at Heinz Field? |
SELECT stadium FROM table_name_11 WHERE host_team = "atlanta falcons" | CREATE TABLE table_name_11 (stadium VARCHAR, host_team VARCHAR) | What is the home stadium of the Atlanta Falcons? |
SELECT date FROM table_name_34 WHERE visiting_team = "new york giants" | CREATE TABLE table_name_34 (date VARCHAR, visiting_team VARCHAR) | What date did the New York Giants play as a visiting team? |
SELECT score FROM table_name_60 WHERE place = "t1" AND player = "tim herron" | CREATE TABLE table_name_60 (score VARCHAR, place VARCHAR, player VARCHAR) | What is the score of Tim Herron, who placed t1? |
SELECT place FROM table_name_71 WHERE score = 69 - 69 = 138 AND player = "fred funk" | CREATE TABLE table_name_71 (place VARCHAR, player VARCHAR, score VARCHAR) | What place does Fred Funk, who has a score of 69-69=138, have? |
SELECT score FROM table_name_1 WHERE player = "tiger woods" | CREATE TABLE table_name_1 (score VARCHAR, player VARCHAR) | What is Tiger Woods's score? |
SELECT score FROM table_name_55 WHERE country = "australia" | CREATE TABLE table_name_55 (score VARCHAR, country VARCHAR) | What is the score of Australia? |
SELECT constructor FROM table_name_76 WHERE rider = "marco melandri" | CREATE TABLE table_name_76 (constructor VARCHAR, rider VARCHAR) | Who was Constructor for rider Marco Melandri? |
SELECT motorcycle FROM table_name_23 WHERE rider = "anthony west" | CREATE TABLE table_name_23 (motorcycle VARCHAR, rider VARCHAR) | Anthony West ride which Motorcyle? |
SELECT nhl_team FROM table_name_59 WHERE nationality = "canada" AND position = "right wing" AND pick__number = "43" | CREATE TABLE table_name_59 (nhl_team VARCHAR, pick__number VARCHAR, nationality VARCHAR, position VARCHAR) | What team draft a player from Canada that was picked #43 and plays right wing? |
SELECT nationality FROM table_name_34 WHERE player = "gerry methe" | CREATE TABLE table_name_34 (nationality VARCHAR, player VARCHAR) | What nationality is Gerry Methe? |
SELECT player FROM table_name_18 WHERE nationality = "canada" AND position = "left wing" AND pick__number = "49" | CREATE TABLE table_name_18 (player VARCHAR, pick__number VARCHAR, nationality VARCHAR, position VARCHAR) | What which player from Canada was picked #49 and plays left wing? |
SELECT nationality FROM table_name_74 WHERE player = "dave hynes" | CREATE TABLE table_name_74 (nationality VARCHAR, player VARCHAR) | What Nationality is Dave Hynes? |
SELECT nhl_team FROM table_name_51 WHERE college_junior_club_team = "estevan bruins (wchl)" | CREATE TABLE table_name_51 (nhl_team VARCHAR, college_junior_club_team VARCHAR) | The Estevan Bruins (WCHL) are affiliated with what NHL team? |
SELECT MAX(games) FROM table_name_27 WHERE goals_against < 14 AND wins > 1 AND draws < 2 AND goals_for = 3 | CREATE TABLE table_name_27 (games INTEGER, goals_for VARCHAR, draws VARCHAR, goals_against VARCHAR, wins VARCHAR) | what's the number of games with a Goals Against smaller than 14, and a Wins larger than 1, and a Draws smaller than 2, and a Goals For of 3? |
SELECT COUNT(wins) FROM table_name_85 WHERE games < 7 AND goals_for > 2 AND goals_against < 6 AND draws = 1 | CREATE TABLE table_name_85 (wins VARCHAR, draws VARCHAR, goals_against VARCHAR, games VARCHAR, goals_for VARCHAR) | what's the total win count for Games smaller than 7, and a Goals For larger than 2, and a Goals Against smaller than 6, and Draws of 1 |
SELECT SUM(goals_for) FROM table_name_81 WHERE goals_against < 9 AND goal_differential = "0" AND draws < 2 AND wins = 1 | CREATE TABLE table_name_81 (goals_for INTEGER, wins VARCHAR, draws VARCHAR, goals_against VARCHAR, goal_differential VARCHAR) | for a Goals Against smaller than 9, and a Goal Differential of 0, and a Draws smaller than 2, and a Wins of 1, what's the goal total? |
SELECT tournament FROM table_name_88 WHERE date = "12 november 2006" | CREATE TABLE table_name_88 (tournament VARCHAR, date VARCHAR) | What tournament happened on 12 november 2006? |
SELECT score FROM table_name_82 WHERE date = "6 june 2010" | CREATE TABLE table_name_82 (score VARCHAR, date VARCHAR) | what was the score on 6 june 2010? |
SELECT date_made FROM table_name_26 WHERE type = "railmotor" | CREATE TABLE table_name_26 (date_made VARCHAR, type VARCHAR) | When was the railmotor made? |
SELECT fleet_numbers FROM table_name_19 WHERE type = "4-6-4t" | CREATE TABLE table_name_19 (fleet_numbers VARCHAR, type VARCHAR) | What are the fleet number for the 4-6-4t locomotive? |
SELECT fast_laps FROM table_name_54 WHERE points = "0" AND series = "world series by nissan" | CREATE TABLE table_name_54 (fast_laps VARCHAR, points VARCHAR, series VARCHAR) | How many fast laps have 0 points in the World Series by Nissan? |
SELECT fast_laps FROM table_name_28 WHERE series = "world series by nissan" AND races = "6" AND points = "30" | CREATE TABLE table_name_28 (fast_laps VARCHAR, points VARCHAR, series VARCHAR, races VARCHAR) | How many fast laps are in 6 races with 30 points in the World Series by Nissan? |
SELECT team FROM table_name_74 WHERE points = "test driver" | CREATE TABLE table_name_74 (team VARCHAR, points VARCHAR) | Which team has the points category of test driver? |
SELECT pos FROM table_name_37 WHERE points = "0" AND season = "2007–08" | CREATE TABLE table_name_37 (pos VARCHAR, points VARCHAR, season VARCHAR) | What is the position with 0 points in Season of 2007–08? |
SELECT MIN(wins) FROM table_name_69 WHERE points = 6 | CREATE TABLE table_name_69 (wins INTEGER, points VARCHAR) | Name the least wins for 6 points |
SELECT wins FROM table_name_15 WHERE year = 1963 AND team = "bultaco" | CREATE TABLE table_name_15 (wins VARCHAR, year VARCHAR, team VARCHAR) | Name the wins for 1963 bultaco |
SELECT director FROM table_name_49 WHERE year > 2008 AND nationality_of_director = "lebanon" | CREATE TABLE table_name_49 (director VARCHAR, year VARCHAR, nationality_of_director VARCHAR) | Year larger than 2008, and a Nationality of director of lebanon is what director? |
SELECT COUNT(year) FROM table_name_52 WHERE film = "taukukauppiaat" | CREATE TABLE table_name_52 (year VARCHAR, film VARCHAR) | ilm of taukukauppiaat has how many total number of years? |
SELECT film FROM table_name_10 WHERE award = "troisième prix" AND year < 2010 AND director = "jan komasa" | CREATE TABLE table_name_10 (film VARCHAR, director VARCHAR, award VARCHAR, year VARCHAR) | Award of troisième prix, and a Year smaller than 2010, and a Director of jan komasa is what film? |
SELECT nationality_of_director FROM table_name_65 WHERE film = "um sol alaranjado" | CREATE TABLE table_name_65 (nationality_of_director VARCHAR, film VARCHAR) | Film of um sol alaranjado director is what nationality? |
SELECT position FROM table_name_39 WHERE round = 5 AND college = "alabama state" | CREATE TABLE table_name_39 (position VARCHAR, round VARCHAR, college VARCHAR) | What is the position for round 5 from alabama state? |
SELECT COUNT(pick__number) FROM table_name_37 WHERE overall > 131 AND position = "wide receiver" AND round < 5 | CREATE TABLE table_name_37 (pick__number VARCHAR, round VARCHAR, overall VARCHAR, position VARCHAR) | what is the pick # when overall is more than 131, position is wide receiver and the round is less than 5? |
SELECT MAX(round) FROM table_name_53 WHERE name = "anthony gonzalez" | CREATE TABLE table_name_53 (round INTEGER, name VARCHAR) | what is the highest round for anthony gonzalez? |
SELECT COUNT(round) FROM table_name_56 WHERE name = "brannon condren" AND overall > 131 | CREATE TABLE table_name_56 (round VARCHAR, name VARCHAR, overall VARCHAR) | How many times is brannon condren with and overall more than 131 drafted? |
SELECT rider FROM table_name_10 WHERE time_retired = "+31.426" | CREATE TABLE table_name_10 (rider VARCHAR, time_retired VARCHAR) | Which rider has the time of +31.426? |
SELECT MAX(grid) FROM table_name_9 WHERE manufacturer = "suzuki" AND time_retired = "+1:01.894" | CREATE TABLE table_name_9 (grid INTEGER, manufacturer VARCHAR, time_retired VARCHAR) | What is the grid for the rider who rides a Suzuki and has the time of +1:01.894? |
SELECT score FROM table_name_87 WHERE country = "australia" AND place = "4" | CREATE TABLE table_name_87 (score VARCHAR, country VARCHAR, place VARCHAR) | What is the score for Australia with a place of 4? |
SELECT place FROM table_name_66 WHERE to_par = "e" AND player = "arron oberholser" | CREATE TABLE table_name_66 (place VARCHAR, to_par VARCHAR, player VARCHAR) | What is the place of To par of e when Arron Oberholser was the player ? |
SELECT score FROM table_name_83 WHERE place = "t6" AND player = "k.j. choi" | CREATE TABLE table_name_83 (score VARCHAR, place VARCHAR, player VARCHAR) | What is the score with a place of t6 for the player k.j. choi? |
SELECT country FROM table_name_3 WHERE player = "tiger woods" | CREATE TABLE table_name_3 (country VARCHAR, player VARCHAR) | What is the country for the player Tiger Woods? |
SELECT player FROM table_name_30 WHERE score = 72 - 68 - 70 = 210 | CREATE TABLE table_name_30 (player VARCHAR, score VARCHAR) | What is the name of the player with a score of 72-68-70=210? |
SELECT player FROM table_name_85 WHERE place = "t6" AND country = "united states" | CREATE TABLE table_name_85 (player VARCHAR, place VARCHAR, country VARCHAR) | What is the name of the player with t6 as his place and a country of United states? |
SELECT fineness FROM table_name_11 WHERE year = 2008 AND reverse = "chinese cuju sport" | CREATE TABLE table_name_11 (fineness VARCHAR, year VARCHAR, reverse VARCHAR) | What is the fineness of the 2008 chinese cuju sport Reverse? |
SELECT diameter FROM table_name_49 WHERE year = 2006 AND reverse = "equestrian" | CREATE TABLE table_name_49 (diameter VARCHAR, year VARCHAR, reverse VARCHAR) | What's the diameter of the 2006 equestrian Reverse? |
SELECT denomination FROM table_name_80 WHERE year = 2006 | CREATE TABLE table_name_80 (denomination VARCHAR, year VARCHAR) | What denomination was produced in 2006? |
SELECT fineness FROM table_name_28 WHERE year < 2007 | CREATE TABLE table_name_28 (fineness VARCHAR, year INTEGER) | What was the fineness prior to 2007? |
SELECT weight FROM table_name_73 WHERE series = "ii series" | CREATE TABLE table_name_73 (weight VARCHAR, series VARCHAR) | What does the ii Series weigh? |
SELECT loss FROM table_name_83 WHERE record = "10-16" | CREATE TABLE table_name_83 (loss VARCHAR, record VARCHAR) | What loss has 10-16 as the record? |
SELECT MIN(attendance) FROM table_name_25 WHERE record = "3-5" | CREATE TABLE table_name_25 (attendance INTEGER, record VARCHAR) | What is the least attendance that has 3-5 as a record? |
SELECT AVG(attendance) FROM table_name_23 WHERE date = "april 4" | CREATE TABLE table_name_23 (attendance INTEGER, date VARCHAR) | What is the average attendance for the date of april 4? |
SELECT opponent FROM table_name_93 WHERE date = "april 2" | CREATE TABLE table_name_93 (opponent VARCHAR, date VARCHAR) | Which opponent has april 2 as the date? |
Subsets and Splits