answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT team FROM table_name_98 WHERE opposition = "tipperary" AND game = "munster final" | CREATE TABLE table_name_98 (team VARCHAR, opposition VARCHAR, game VARCHAR) | What team opposed Tipperary in the Munster Final game? |
SELECT date FROM table_name_38 WHERE opposition = "limerick" AND game = "all-ireland final" | CREATE TABLE table_name_38 (date VARCHAR, opposition VARCHAR, game VARCHAR) | On what date did Limerick play in the All-Ireland Final game? |
SELECT opposition FROM table_name_22 WHERE date = "july 29" | CREATE TABLE table_name_22 (opposition VARCHAR, date VARCHAR) | Who was the opposition in the game on July 29? |
SELECT date FROM table_name_87 WHERE week = 13 | CREATE TABLE table_name_87 (date VARCHAR, week VARCHAR) | What day did the team play week 13? |
SELECT attendance FROM table_name_85 WHERE opponent = "bye" | CREATE TABLE table_name_85 (attendance VARCHAR, opponent VARCHAR) | What was Bye's opponent's attendance? |
SELECT opponent FROM table_name_89 WHERE week < 10 AND attendance = "63,672" | CREATE TABLE table_name_89 (opponent VARCHAR, week VARCHAR, attendance VARCHAR) | Which opponent, before Week 10, had an attendance of 63,672? |
SELECT MIN(week) FROM table_name_27 WHERE attendance = "70,225" | CREATE TABLE table_name_27 (week INTEGER, attendance VARCHAR) | Which week had an attendance of 70,225 |
SELECT MAX(injured) FROM table_name_84 WHERE place = "rohtas, bihar" AND killed < 13 | CREATE TABLE table_name_84 (injured INTEGER, place VARCHAR, killed VARCHAR) | What was the highest number of people injured at incidents located at Rohtas, Bihar where fewer than 13 were killed? |
SELECT MAX(injured) FROM table_name_14 WHERE place = "vaishali, bihar" | CREATE TABLE table_name_14 (injured INTEGER, place VARCHAR) | What was the highest number of people injured in incidents in Vaishali, Bihar? |
SELECT COUNT(crowd) FROM table_name_97 WHERE venue = "victoria park" | CREATE TABLE table_name_97 (crowd VARCHAR, venue VARCHAR) | How many people were in the crowd at Victoria Park? |
SELECT away_team AS score FROM table_name_40 WHERE away_team = "melbourne" | CREATE TABLE table_name_40 (away_team VARCHAR) | How many points did the away team from Melbourne score? |
SELECT date FROM table_name_11 WHERE home_team = "carlton" | CREATE TABLE table_name_11 (date VARCHAR, home_team VARCHAR) | What date did the home team from Carlton play on? |
SELECT manager FROM table_name_53 WHERE club = "st. johnstone" | CREATE TABLE table_name_53 (manager VARCHAR, club VARCHAR) | Who is the manager of the St. Johnstone club? |
SELECT manager FROM table_name_16 WHERE club = "stenhousemuir" | CREATE TABLE table_name_16 (manager VARCHAR, club VARCHAR) | Who is the manager of the Stenhousemuir club? |
SELECT home_team FROM table_name_88 WHERE away_team = "south melbourne" | CREATE TABLE table_name_88 (home_team VARCHAR, away_team VARCHAR) | What team was home team when south Melbourne was the away team? |
SELECT away_team AS score FROM table_name_94 WHERE home_team = "carlton" | CREATE TABLE table_name_94 (away_team VARCHAR, home_team VARCHAR) | What was the away team score when the home team was Carlton? |
SELECT date FROM table_name_38 WHERE attendance = "bye" AND week = 11 | CREATE TABLE table_name_38 (date VARCHAR, attendance VARCHAR, week VARCHAR) | What was date of the bye week 11? |
SELECT venue FROM table_name_9 WHERE away_team = "essendon" | CREATE TABLE table_name_9 (venue VARCHAR, away_team VARCHAR) | Where did Essendon play as the away team? |
SELECT MAX(season) FROM table_name_22 WHERE engine = "ferrari" AND driver = "fernando alonso" AND podiums > 13 | CREATE TABLE table_name_22 (season INTEGER, podiums VARCHAR, engine VARCHAR, driver VARCHAR) | What is the most recent season when Fernando Alonso had more than 13 podiums in a car with a Ferrari engine? |
SELECT engine FROM table_name_3 WHERE team = "bettenhausen motorsports" | CREATE TABLE table_name_3 (engine VARCHAR, team VARCHAR) | What is the engine for the Bettenhausen Motorsports team? |
SELECT engine FROM table_name_49 WHERE chassis = "march" AND drivers = "steve chassey" | CREATE TABLE table_name_49 (engine VARCHAR, chassis VARCHAR, drivers VARCHAR) | What engine does Steve Chassey drive with a march chassis? |
SELECT engine FROM table_name_49 WHERE team = "arciero racing" | CREATE TABLE table_name_49 (engine VARCHAR, team VARCHAR) | What is the engine for the Arciero Racing team? |
SELECT chassis FROM table_name_82 WHERE engine = "cosworth" AND drivers = "scott pruett" AND team = "dick simon racing" | CREATE TABLE table_name_82 (chassis VARCHAR, team VARCHAR, engine VARCHAR, drivers VARCHAR) | What chassis belongs with the Cosworth Engine driven by Scott Pruett on the Dick Simon Racing team? |
SELECT engine FROM table_name_19 WHERE team = "alex morales motorsports" | CREATE TABLE table_name_19 (engine VARCHAR, team VARCHAR) | What is the engine for the team of Alex Morales Motorsports? |
SELECT engine FROM table_name_79 WHERE team = "machinists union racing" | CREATE TABLE table_name_79 (engine VARCHAR, team VARCHAR) | What is the engine for the Machinists Union Racing team? |
SELECT attendance FROM table_name_48 WHERE week = 1 | CREATE TABLE table_name_48 (attendance VARCHAR, week VARCHAR) | What was the attendance for Week 1? |
SELECT opponent FROM table_name_48 WHERE attendance = "73,369" | CREATE TABLE table_name_48 (opponent VARCHAR, attendance VARCHAR) | Which team did the Patriots play when there was a game attendance of 73,369? |
SELECT date FROM table_name_18 WHERE week = 3 | CREATE TABLE table_name_18 (date VARCHAR, week VARCHAR) | What date was the Week 3 game played? |
SELECT MAX(crowd) FROM table_name_38 WHERE venue = "windy hill" | CREATE TABLE table_name_38 (crowd INTEGER, venue VARCHAR) | What was the highest attendance of the matches that took place at Windy Hill? |
SELECT home_team FROM table_name_48 WHERE venue = "glenferrie oval" | CREATE TABLE table_name_48 (home_team VARCHAR, venue VARCHAR) | Which team has a home field at Glenferrie Oval? |
SELECT date FROM table_name_59 WHERE away_team = "footscray" | CREATE TABLE table_name_59 (date VARCHAR, away_team VARCHAR) | On what date is Footscray the away team? |
SELECT MAX(crowd) FROM table_name_64 WHERE away_team = "footscray" | CREATE TABLE table_name_64 (crowd INTEGER, away_team VARCHAR) | What was the crowd population for Footscray as an away team? |
SELECT SUM(_number_of_bids) FROM table_name_7 WHERE win__percentage = ".500" AND conference = "ohio valley" | CREATE TABLE table_name_7 (_number_of_bids INTEGER, win__percentage VARCHAR, conference VARCHAR) | How many bids were there for the .500 win percentage in the Ohio Valley conference? |
SELECT championship_game FROM table_name_29 WHERE final_four = "1" AND conference = "american south" | CREATE TABLE table_name_29 (championship_game VARCHAR, final_four VARCHAR, conference VARCHAR) | What is the Championship Game when the Final Four is 1 and the conference is American South? |
SELECT final_four FROM table_name_32 WHERE win__percentage = ".750" | CREATE TABLE table_name_32 (final_four VARCHAR, win__percentage VARCHAR) | What is the Final Four with a win percentage of .750? |
SELECT date FROM table_name_49 WHERE venue = "arden street oval" | CREATE TABLE table_name_49 (date VARCHAR, venue VARCHAR) | What is the date of the game at the Arden Street Oval? |
SELECT date FROM table_name_13 WHERE venue = "kardinia park" | CREATE TABLE table_name_13 (date VARCHAR, venue VARCHAR) | What is the date of the game when the venue is Kardinia Park? |
SELECT away_team FROM table_name_66 WHERE home_team = "st kilda" | CREATE TABLE table_name_66 (away_team VARCHAR, home_team VARCHAR) | Which away team played against the home team of St Kilda? |
SELECT home_team FROM table_name_56 WHERE away_team = "melbourne" | CREATE TABLE table_name_56 (home_team VARCHAR, away_team VARCHAR) | Which home team competed against the away team of Melbourne? |
SELECT result FROM table_name_31 WHERE week = "1" AND opponent = "bye" | CREATE TABLE table_name_31 (result VARCHAR, week VARCHAR, opponent VARCHAR) | What was the result of week 1 and the opponent was bye? |
SELECT game_site FROM table_name_35 WHERE record = "6-2" | CREATE TABLE table_name_35 (game_site VARCHAR, record VARCHAR) | What is the site of the game with a Record of 6-2? |
SELECT week FROM table_name_99 WHERE record = "12-2" | CREATE TABLE table_name_99 (week VARCHAR, record VARCHAR) | What week has a Record of 12-2? |
SELECT city FROM table_name_35 WHERE name = "sky tower" | CREATE TABLE table_name_35 (city VARCHAR, name VARCHAR) | What city has Sky Tower? |
SELECT name FROM table_name_96 WHERE year_built < 1973 AND city = "courbevoie" | CREATE TABLE table_name_96 (name VARCHAR, year_built VARCHAR, city VARCHAR) | What is the name of a building in Courbevoie built before 1973? |
SELECT away_team FROM table_name_36 WHERE venue = "lake oval" | CREATE TABLE table_name_36 (away_team VARCHAR, venue VARCHAR) | Who was the away team at Lake Oval? |
SELECT home_team AS score FROM table_name_83 WHERE home_team = "hawthorn" | CREATE TABLE table_name_83 (home_team VARCHAR) | What was the home team score for the game where Hawthorn is the home team? |
SELECT date FROM table_name_36 WHERE away_team = "essendon" | CREATE TABLE table_name_36 (date VARCHAR, away_team VARCHAR) | What is the date of the game where Essendon is the away team? |
SELECT home_team AS score FROM table_name_12 WHERE away_team = "south melbourne" | CREATE TABLE table_name_12 (home_team VARCHAR, away_team VARCHAR) | What is the home team's score when the away team is south melbourne? |
SELECT venue FROM table_name_67 WHERE home_team = "st kilda" | CREATE TABLE table_name_67 (venue VARCHAR, home_team VARCHAR) | What venue featured the home side of st kilda? |
SELECT metres FROM table_name_21 WHERE feet > 850 | CREATE TABLE table_name_21 (metres VARCHAR, feet INTEGER) | How many metres tall is the building that is larger than 850 feet tall? |
SELECT home_team AS score FROM table_name_9 WHERE home_team = "geelong" | CREATE TABLE table_name_9 (home_team VARCHAR) | What was Geelong's score when they were the home team? |
SELECT venue FROM table_name_19 WHERE away_team = "collingwood" | CREATE TABLE table_name_19 (venue VARCHAR, away_team VARCHAR) | Where was the game when Collingwood was the home team? |
SELECT SUM(total_rebounds) FROM table_name_59 WHERE player = "peter woolfolk" | CREATE TABLE table_name_59 (total_rebounds INTEGER, player VARCHAR) | What was Peter Woolfolk's Total Rebound average? |
SELECT result FROM table_name_79 WHERE week = 3 | CREATE TABLE table_name_79 (result VARCHAR, week VARCHAR) | What was week 3 score? |
SELECT result FROM table_name_41 WHERE stadium = "odsal stadium" | CREATE TABLE table_name_41 (result VARCHAR, stadium VARCHAR) | What is the result of the game at Odsal Stadium? |
SELECT championship FROM table_name_43 WHERE margin = "10 strokes" | CREATE TABLE table_name_43 (championship VARCHAR, margin VARCHAR) | Which championship had a margin of 10 strokes? |
SELECT runner_s__up FROM table_name_48 WHERE margin = "10 strokes" | CREATE TABLE table_name_48 (runner_s__up VARCHAR, margin VARCHAR) | Which runner-up player(s) had a margin of 10 strokes? |
SELECT MAX(year) FROM table_name_12 WHERE runner_s__up = "kathy ahern" | CREATE TABLE table_name_12 (year INTEGER, runner_s__up VARCHAR) | What was the most recent year that Kathy Ahern was a runner-up? |
SELECT rtm_build FROM table_name_74 WHERE name = "windows home server 2011" | CREATE TABLE table_name_74 (rtm_build VARCHAR, name VARCHAR) | What is the RTM build of the Windows Home Server 2011? |
SELECT current_version FROM table_name_14 WHERE rtm_build = "9200" AND name = "windows 8" | CREATE TABLE table_name_14 (current_version VARCHAR, rtm_build VARCHAR, name VARCHAR) | What is the current version of windows 8 with an RTM build of 9200? |
SELECT home_team AS score FROM table_name_44 WHERE away_team = "geelong" | CREATE TABLE table_name_44 (home_team VARCHAR, away_team VARCHAR) | What was the home team's score that played Geelong? |
SELECT COUNT(round) FROM table_name_54 WHERE opponent = "kevin roddy" | CREATE TABLE table_name_54 (round VARCHAR, opponent VARCHAR) | How many rounds were fought with opponent Kevin Roddy? |
SELECT record FROM table_name_2 WHERE attendance = "19,887" | CREATE TABLE table_name_2 (record VARCHAR, attendance VARCHAR) | What was the score when attendance was 19,887? |
SELECT week FROM table_name_20 WHERE attendance = "bye" | CREATE TABLE table_name_20 (week VARCHAR, attendance VARCHAR) | What week was the Bye attendance week? |
SELECT record FROM table_name_38 WHERE opponent = "denver broncos" | CREATE TABLE table_name_38 (record VARCHAR, opponent VARCHAR) | Who won when the Patriots played the Denver Broncos? |
SELECT record FROM table_name_52 WHERE attendance = "8,000" | CREATE TABLE table_name_52 (record VARCHAR, attendance VARCHAR) | Who won when the attendance was 8,000? |
SELECT programming FROM table_name_1 WHERE operator = "ivptc" | CREATE TABLE table_name_1 (programming VARCHAR, operator VARCHAR) | What channel has an operator of ivptc? |
SELECT home_team AS score FROM table_name_83 WHERE home_team = "richmond" | CREATE TABLE table_name_83 (home_team VARCHAR) | What was the score when Richmond payed as the home team? |
SELECT home_team FROM table_name_62 WHERE away_team = "carlton" | CREATE TABLE table_name_62 (home_team VARCHAR, away_team VARCHAR) | Who played against Carlton as the home team? |
SELECT SUM(crowd) FROM table_name_88 WHERE away_team = "south melbourne" | CREATE TABLE table_name_88 (crowd INTEGER, away_team VARCHAR) | What was the attendance when South Melbourne was the away team? |
SELECT home_team AS score FROM table_name_27 WHERE venue = "kardinia park" | CREATE TABLE table_name_27 (home_team VARCHAR, venue VARCHAR) | Who was the home team when the VFL played Kardinia Park? |
SELECT silver FROM table_name_61 WHERE bronze = 32 | CREATE TABLE table_name_61 (silver VARCHAR, bronze VARCHAR) | How many silver medals did the nation who received 32 bronze medals receive? |
SELECT MAX(grid) FROM table_name_91 WHERE time_retired = "52:52.1881" | CREATE TABLE table_name_91 (grid INTEGER, time_retired VARCHAR) | What is the highest numbered grid with a time or retired time of 52:52.1881? |
SELECT name FROM table_name_1 WHERE time_retired = "52:56.4653" | CREATE TABLE table_name_1 (name VARCHAR, time_retired VARCHAR) | Who recorded a time or retired time of 52:56.4653? |
SELECT AVG(grid) FROM table_name_40 WHERE team = "paul cruickshank racing" AND laps < 27 | CREATE TABLE table_name_40 (grid INTEGER, team VARCHAR, laps VARCHAR) | What is the average grid number for paul cruickshank racing with less than 27 laps? |
SELECT MIN(total) FROM table_name_77 WHERE silver > 6 AND bronze = 6 AND gold < 16 | CREATE TABLE table_name_77 (total INTEGER, gold VARCHAR, silver VARCHAR, bronze VARCHAR) | What is the lowest total metals of a team with more than 6 silver, 6 bronze, and fewer than 16 gold medals? |
SELECT SUM(crowd) FROM table_name_61 WHERE venue = "brunswick street oval" | CREATE TABLE table_name_61 (crowd INTEGER, venue VARCHAR) | What is the crowd size of the game at Brunswick Street Oval? |
SELECT home_team AS score FROM table_name_52 WHERE away_team = "footscray" | CREATE TABLE table_name_52 (home_team VARCHAR, away_team VARCHAR) | Who was the home team of the game where Footscray is the away team? |
SELECT AVG(week) FROM table_name_98 WHERE date = "september 3, 2000" | CREATE TABLE table_name_98 (week INTEGER, date VARCHAR) | What week has a date of September 3, 2000? |
SELECT home_team FROM table_name_61 WHERE away_team = "hawthorn" | CREATE TABLE table_name_61 (home_team VARCHAR, away_team VARCHAR) | Who was the home team when Hawthorn was the away team? |
SELECT away_team AS score FROM table_name_18 WHERE away_team = "fitzroy" | CREATE TABLE table_name_18 (away_team VARCHAR) | What was Fitzroy's score when they were the away team? |
SELECT speed FROM table_name_27 WHERE team = "bmw" AND rank = 7 | CREATE TABLE table_name_27 (speed VARCHAR, team VARCHAR, rank VARCHAR) | What was #7 BMW's speed? |
SELECT crowd FROM table_name_28 WHERE home_team = "south melbourne" | CREATE TABLE table_name_28 (crowd VARCHAR, home_team VARCHAR) | What was the crowd size in the match South Melbourne played at home? |
SELECT away_team AS score FROM table_name_75 WHERE venue = "western oval" | CREATE TABLE table_name_75 (away_team VARCHAR, venue VARCHAR) | What was the away team's score at Western Oval? |
SELECT COUNT(crowd) FROM table_name_79 WHERE away_team = "essendon" | CREATE TABLE table_name_79 (crowd VARCHAR, away_team VARCHAR) | What was the crowd size when Essendon was the away team? |
SELECT date FROM table_name_36 WHERE time = "16:24.12" | CREATE TABLE table_name_36 (date VARCHAR, time VARCHAR) | On what date was the time of 16:24.12 achieved? |
SELECT AVG(year) FROM table_name_54 WHERE team = "capital city giants" AND score = "8-0" | CREATE TABLE table_name_54 (year INTEGER, team VARCHAR, score VARCHAR) | What year did the Capital City Giants have a game with the final score of 8-0? |
SELECT runner_up FROM table_name_37 WHERE score = "6-0" | CREATE TABLE table_name_37 (runner_up VARCHAR, score VARCHAR) | What team lost a game by a score of 6-0? |
SELECT team FROM table_name_31 WHERE game = "capital bowl iv" | CREATE TABLE table_name_31 (team VARCHAR, game VARCHAR) | What teams played in Capital Bowl IV? |
SELECT team FROM table_name_11 WHERE runner_up = "capital city giants" | CREATE TABLE table_name_11 (team VARCHAR, runner_up VARCHAR) | What team defeated the Capital City Giants? |
SELECT total_tenure_rank FROM table_name_6 WHERE uninterrupted_time = "49 years, 349 days" | CREATE TABLE table_name_6 (total_tenure_rank VARCHAR, uninterrupted_time VARCHAR) | What is the total tenure rank of the person with an uninterrupted time of 49 years, 349 days? |
SELECT total_tenure_time FROM table_name_31 WHERE uninterrupted_rank > 4 AND total_tenure_rank > 9 AND name = "warren magnuson" | CREATE TABLE table_name_31 (total_tenure_time VARCHAR, name VARCHAR, uninterrupted_rank VARCHAR, total_tenure_rank VARCHAR) | What is the total tenure time of Warren Magnuson, who had an uninterrupted rank larger than 4 and a total tenure rank larger than 9? |
SELECT COUNT(round) FROM table_name_94 WHERE overall = 63 | CREATE TABLE table_name_94 (round VARCHAR, overall VARCHAR) | What round was the overall 63 drafted? |
SELECT in_swedish FROM table_name_77 WHERE in_english = "south karelia" | CREATE TABLE table_name_77 (in_swedish VARCHAR, in_english VARCHAR) | What is the Swedish name for South Karelia? |
SELECT home_team FROM table_name_72 WHERE venue = "arden street oval" | CREATE TABLE table_name_72 (home_team VARCHAR, venue VARCHAR) | What home team plays at Arden Street Oval? |
SELECT jump_3 FROM table_name_80 WHERE jump_2 = "7.06" | CREATE TABLE table_name_80 (jump_3 VARCHAR, jump_2 VARCHAR) | Who has a Jump 2 of 7.06, and what is this person's Jump 3? |
SELECT best_jump FROM table_name_48 WHERE jump_1 = "x" AND jump_2 = "7.28" | CREATE TABLE table_name_48 (best_jump VARCHAR, jump_1 VARCHAR, jump_2 VARCHAR) | Who has an x under Jump 1, a Jump 2 of 7.28, and what is this person's Best Jump? |
SELECT jump_2 FROM table_name_62 WHERE jump_3 = "7.77" | CREATE TABLE table_name_62 (jump_2 VARCHAR, jump_3 VARCHAR) | What is the Jump 2 of the person that has a Jump 3 of 7.77? |
SELECT jump_2 FROM table_name_58 WHERE jump_1 = "7.14" | CREATE TABLE table_name_58 (jump_2 VARCHAR, jump_1 VARCHAR) | What is the Jump 2 of the person that has a Jump 1 of 7.14 |
SELECT champion FROM table_name_58 WHERE city = "tucson, arizona" | CREATE TABLE table_name_58 (champion VARCHAR, city VARCHAR) | Which player from Tucson, Arizona won the Championship? |
Subsets and Splits