text
stringlengths
114
1.06k
### question: What venue features hawthorn as the away team? ### answer: SELECT venue FROM table_name_64 WHERE away_team = "hawthorn" ### context: CREATE TABLE table_name_64 (venue VARCHAR, away_team VARCHAR)
### question: How many cop apps in the season with fewer than 12 league apps? ### answer: SELECT SUM(cup_apps) FROM table_name_48 WHERE league_apps < 12 ### context: CREATE TABLE table_name_48 (cup_apps INTEGER, league_apps INTEGER)
### question: What season saw 6 cup apps and 5 cup goals? ### answer: SELECT season FROM table_name_87 WHERE cup_apps = 6 AND cup_goals = 5 ### context: CREATE TABLE table_name_87 (season VARCHAR, cup_apps VARCHAR, cup_goals VARCHAR)
### question: How many league apps in the season with more than 2 cup goals and more than 6 cup apps? ### answer: SELECT SUM(league_apps) FROM table_name_22 WHERE cup_goals > 2 AND cup_apps > 6 ### context: CREATE TABLE table_name_22 (league_apps INTEGER, cup_goals VARCHAR, cup_apps VARCHAR)
### question: How many cup goals for the season with more than 34 league apps? ### answer: SELECT AVG(cup_goals) FROM table_name_9 WHERE league_apps > 34 ### context: CREATE TABLE table_name_9 (cup_goals INTEGER, league_apps INTEGER)
### question: How many cup goals in the season with more than 5 league apps, 1 cup apps and fewer than 4 league goals? ### answer: SELECT SUM(cup_goals) FROM table_name_78 WHERE league_apps > 5 AND cup_apps = 1 AND league_goals < 4 ### context: CREATE TABLE table_name_78 (cup_goals INTEGER, league_goals VARCHAR, league...
### question: How many cup apps for the season where there are more than 10 league goals and 23 league apps? ### answer: SELECT cup_apps FROM table_name_17 WHERE league_goals > 10 AND league_apps = 23 ### context: CREATE TABLE table_name_17 (cup_apps VARCHAR, league_goals VARCHAR, league_apps VARCHAR)
### question: Which route has a Date of 2 july? ### answer: SELECT route FROM table_name_12 WHERE date = "2 july" ### context: CREATE TABLE table_name_12 (route VARCHAR, date VARCHAR)
### question: Which length has a Stage of 9? ### answer: SELECT length FROM table_name_37 WHERE stage = "9" ### context: CREATE TABLE table_name_37 (length VARCHAR, stage VARCHAR)
### question: Which date has a Terrain of plain stage, and a Stage of 4? ### answer: SELECT date FROM table_name_34 WHERE terrain = "plain stage" AND stage = "4" ### context: CREATE TABLE table_name_34 (date VARCHAR, terrain VARCHAR, stage VARCHAR)
### question: What is the score for Fitzroy when they are the home team? ### answer: SELECT home_team AS score FROM table_name_53 WHERE home_team = "fitzroy" ### context: CREATE TABLE table_name_53 (home_team VARCHAR)
### question: What is the smallest crowd for a game when Melbourne is the home team? ### answer: SELECT MIN(crowd) FROM table_name_38 WHERE home_team = "melbourne" ### context: CREATE TABLE table_name_38 (crowd INTEGER, home_team VARCHAR)
### question: Who drafted the player from Michigan after 2010? ### answer: SELECT drafting_team FROM table_name_44 WHERE graduated > 2010 AND college_prior = "michigan" ### context: CREATE TABLE table_name_44 (drafting_team VARCHAR, graduated VARCHAR, college_prior VARCHAR)
### question: Where was the player from who graduated from Michigan after 2010? ### answer: SELECT home_town FROM table_name_32 WHERE graduated > 2010 AND college_prior = "michigan" ### context: CREATE TABLE table_name_32 (home_town VARCHAR, graduated VARCHAR, college_prior VARCHAR)
### question: From what town was Steve Zakuani? ### answer: SELECT home_town FROM table_name_7 WHERE player = "steve zakuani" ### context: CREATE TABLE table_name_7 (home_town VARCHAR, player VARCHAR)
### question: What year did Omar Gonzalez graduate? ### answer: SELECT SUM(graduated) FROM table_name_94 WHERE player = "omar gonzalez" ### context: CREATE TABLE table_name_94 (graduated INTEGER, player VARCHAR)
### question: Which university hosted in Long Beach? ### answer: SELECT host FROM table_name_12 WHERE city = "long beach" ### context: CREATE TABLE table_name_12 (host VARCHAR, city VARCHAR)
### question: What is the venue that Saint Joseph's University hosted at? ### answer: SELECT venue FROM table_name_38 WHERE host = "saint joseph's university" ### context: CREATE TABLE table_name_38 (venue VARCHAR, host VARCHAR)
### question: In which city is Hayman Hall (Tom Gola Arena) located? ### answer: SELECT city FROM table_name_84 WHERE venue = "hayman hall (tom gola arena)" ### context: CREATE TABLE table_name_84 (city VARCHAR, venue VARCHAR)
### question: Which venue is in the city of Villanova? ### answer: SELECT venue FROM table_name_3 WHERE city = "villanova" ### context: CREATE TABLE table_name_3 (venue VARCHAR, city VARCHAR)
### question: On which date did Ger Loughnane from Team Clare have a match? ### answer: SELECT date FROM table_name_88 WHERE team = "clare" AND player = "ger loughnane" ### context: CREATE TABLE table_name_88 (date VARCHAR, team VARCHAR, player VARCHAR)
### question: What team opposed Tipperary in the Munster Final game? ### answer: SELECT team FROM table_name_98 WHERE opposition = "tipperary" AND game = "munster final" ### context: CREATE TABLE table_name_98 (team VARCHAR, opposition VARCHAR, game VARCHAR)
### question: On what date did Limerick play in the All-Ireland Final game? ### answer: SELECT date FROM table_name_38 WHERE opposition = "limerick" AND game = "all-ireland final" ### context: CREATE TABLE table_name_38 (date VARCHAR, opposition VARCHAR, game VARCHAR)
### question: Who was the opposition in the game on July 29? ### answer: SELECT opposition FROM table_name_22 WHERE date = "july 29" ### context: CREATE TABLE table_name_22 (opposition VARCHAR, date VARCHAR)
### question: What day did the team play week 13? ### answer: SELECT date FROM table_name_87 WHERE week = 13 ### context: CREATE TABLE table_name_87 (date VARCHAR, week VARCHAR)
### question: What was Bye's opponent's attendance? ### answer: SELECT attendance FROM table_name_85 WHERE opponent = "bye" ### context: CREATE TABLE table_name_85 (attendance VARCHAR, opponent VARCHAR)
### question: Which opponent, before Week 10, had an attendance of 63,672? ### answer: SELECT opponent FROM table_name_89 WHERE week < 10 AND attendance = "63,672" ### context: CREATE TABLE table_name_89 (opponent VARCHAR, week VARCHAR, attendance VARCHAR)
### question: Which week had an attendance of 70,225 ### answer: SELECT MIN(week) FROM table_name_27 WHERE attendance = "70,225" ### context: CREATE TABLE table_name_27 (week INTEGER, attendance VARCHAR)
### question: What was the highest number of people injured at incidents located at Rohtas, Bihar where fewer than 13 were killed? ### answer: SELECT MAX(injured) FROM table_name_84 WHERE place = "rohtas, bihar" AND killed < 13 ### context: CREATE TABLE table_name_84 (injured INTEGER, place VARCHAR, killed VARCHAR)
### question: What was the highest number of people injured in incidents in Vaishali, Bihar? ### answer: SELECT MAX(injured) FROM table_name_14 WHERE place = "vaishali, bihar" ### context: CREATE TABLE table_name_14 (injured INTEGER, place VARCHAR)
### question: How many people were in the crowd at Victoria Park? ### answer: SELECT COUNT(crowd) FROM table_name_97 WHERE venue = "victoria park" ### context: CREATE TABLE table_name_97 (crowd VARCHAR, venue VARCHAR)
### question: How many points did the away team from Melbourne score? ### answer: SELECT away_team AS score FROM table_name_40 WHERE away_team = "melbourne" ### context: CREATE TABLE table_name_40 (away_team VARCHAR)
### question: What date did the home team from Carlton play on? ### answer: SELECT date FROM table_name_11 WHERE home_team = "carlton" ### context: CREATE TABLE table_name_11 (date VARCHAR, home_team VARCHAR)
### question: Who is the manager of the St. Johnstone club? ### answer: SELECT manager FROM table_name_53 WHERE club = "st. johnstone" ### context: CREATE TABLE table_name_53 (manager VARCHAR, club VARCHAR)
### question: Who is the manager of the Stenhousemuir club? ### answer: SELECT manager FROM table_name_16 WHERE club = "stenhousemuir" ### context: CREATE TABLE table_name_16 (manager VARCHAR, club VARCHAR)
### question: What team was home team when south Melbourne was the away team? ### answer: SELECT home_team FROM table_name_88 WHERE away_team = "south melbourne" ### context: CREATE TABLE table_name_88 (home_team VARCHAR, away_team VARCHAR)
### question: What was the away team score when the home team was Carlton? ### answer: SELECT away_team AS score FROM table_name_94 WHERE home_team = "carlton" ### context: CREATE TABLE table_name_94 (away_team VARCHAR, home_team VARCHAR)
### question: What was date of the bye week 11? ### answer: SELECT date FROM table_name_38 WHERE attendance = "bye" AND week = 11 ### context: CREATE TABLE table_name_38 (date VARCHAR, attendance VARCHAR, week VARCHAR)
### question: Where did Essendon play as the away team? ### answer: SELECT venue FROM table_name_9 WHERE away_team = "essendon" ### context: CREATE TABLE table_name_9 (venue VARCHAR, away_team VARCHAR)
### question: What is the most recent season when Fernando Alonso had more than 13 podiums in a car with a Ferrari engine? ### answer: SELECT MAX(season) FROM table_name_22 WHERE engine = "ferrari" AND driver = "fernando alonso" AND podiums > 13 ### context: CREATE TABLE table_name_22 (season INTEGER, podiums VARCHAR, ...
### question: What is the engine for the Bettenhausen Motorsports team? ### answer: SELECT engine FROM table_name_3 WHERE team = "bettenhausen motorsports" ### context: CREATE TABLE table_name_3 (engine VARCHAR, team VARCHAR)
### question: What engine does Steve Chassey drive with a march chassis? ### answer: SELECT engine FROM table_name_49 WHERE chassis = "march" AND drivers = "steve chassey" ### context: CREATE TABLE table_name_49 (engine VARCHAR, chassis VARCHAR, drivers VARCHAR)
### question: What is the engine for the Arciero Racing team? ### answer: SELECT engine FROM table_name_49 WHERE team = "arciero racing" ### context: CREATE TABLE table_name_49 (engine VARCHAR, team VARCHAR)
### question: What chassis belongs with the Cosworth Engine driven by Scott Pruett on the Dick Simon Racing team? ### answer: SELECT chassis FROM table_name_82 WHERE engine = "cosworth" AND drivers = "scott pruett" AND team = "dick simon racing" ### context: CREATE TABLE table_name_82 (chassis VARCHAR, team VARCHAR, en...
### question: What is the engine for the team of Alex Morales Motorsports? ### answer: SELECT engine FROM table_name_19 WHERE team = "alex morales motorsports" ### context: CREATE TABLE table_name_19 (engine VARCHAR, team VARCHAR)
### question: What is the engine for the Machinists Union Racing team? ### answer: SELECT engine FROM table_name_79 WHERE team = "machinists union racing" ### context: CREATE TABLE table_name_79 (engine VARCHAR, team VARCHAR)
### question: What was the attendance for Week 1? ### answer: SELECT attendance FROM table_name_48 WHERE week = 1 ### context: CREATE TABLE table_name_48 (attendance VARCHAR, week VARCHAR)
### question: Which team did the Patriots play when there was a game attendance of 73,369? ### answer: SELECT opponent FROM table_name_48 WHERE attendance = "73,369" ### context: CREATE TABLE table_name_48 (opponent VARCHAR, attendance VARCHAR)
### question: What date was the Week 3 game played? ### answer: SELECT date FROM table_name_18 WHERE week = 3 ### context: CREATE TABLE table_name_18 (date VARCHAR, week VARCHAR)
### question: What was the highest attendance of the matches that took place at Windy Hill? ### answer: SELECT MAX(crowd) FROM table_name_38 WHERE venue = "windy hill" ### context: CREATE TABLE table_name_38 (crowd INTEGER, venue VARCHAR)
### question: Which team has a home field at Glenferrie Oval? ### answer: SELECT home_team FROM table_name_48 WHERE venue = "glenferrie oval" ### context: CREATE TABLE table_name_48 (home_team VARCHAR, venue VARCHAR)
### question: On what date is Footscray the away team? ### answer: SELECT date FROM table_name_59 WHERE away_team = "footscray" ### context: CREATE TABLE table_name_59 (date VARCHAR, away_team VARCHAR)
### question: What was the crowd population for Footscray as an away team? ### answer: SELECT MAX(crowd) FROM table_name_64 WHERE away_team = "footscray" ### context: CREATE TABLE table_name_64 (crowd INTEGER, away_team VARCHAR)
### question: How many bids were there for the .500 win percentage in the Ohio Valley conference? ### answer: SELECT SUM(_number_of_bids) FROM table_name_7 WHERE win__percentage = ".500" AND conference = "ohio valley" ### context: CREATE TABLE table_name_7 (_number_of_bids INTEGER, win__percentage VARCHAR, conference V...
### question: What is the Championship Game when the Final Four is 1 and the conference is American South? ### answer: SELECT championship_game FROM table_name_29 WHERE final_four = "1" AND conference = "american south" ### context: CREATE TABLE table_name_29 (championship_game VARCHAR, final_four VARCHAR, conference V...
### question: What is the Final Four with a win percentage of .750? ### answer: SELECT final_four FROM table_name_32 WHERE win__percentage = ".750" ### context: CREATE TABLE table_name_32 (final_four VARCHAR, win__percentage VARCHAR)
### question: What is the date of the game at the Arden Street Oval? ### answer: SELECT date FROM table_name_49 WHERE venue = "arden street oval" ### context: CREATE TABLE table_name_49 (date VARCHAR, venue VARCHAR)
### question: What is the date of the game when the venue is Kardinia Park? ### answer: SELECT date FROM table_name_13 WHERE venue = "kardinia park" ### context: CREATE TABLE table_name_13 (date VARCHAR, venue VARCHAR)
### question: Which away team played against the home team of St Kilda? ### answer: SELECT away_team FROM table_name_66 WHERE home_team = "st kilda" ### context: CREATE TABLE table_name_66 (away_team VARCHAR, home_team VARCHAR)
### question: Which home team competed against the away team of Melbourne? ### answer: SELECT home_team FROM table_name_56 WHERE away_team = "melbourne" ### context: CREATE TABLE table_name_56 (home_team VARCHAR, away_team VARCHAR)
### question: What was the result of week 1 and the opponent was bye? ### answer: SELECT result FROM table_name_31 WHERE week = "1" AND opponent = "bye" ### context: CREATE TABLE table_name_31 (result VARCHAR, week VARCHAR, opponent VARCHAR)
### question: What is the site of the game with a Record of 6-2? ### answer: SELECT game_site FROM table_name_35 WHERE record = "6-2" ### context: CREATE TABLE table_name_35 (game_site VARCHAR, record VARCHAR)
### question: What week has a Record of 12-2? ### answer: SELECT week FROM table_name_99 WHERE record = "12-2" ### context: CREATE TABLE table_name_99 (week VARCHAR, record VARCHAR)
### question: What city has Sky Tower? ### answer: SELECT city FROM table_name_35 WHERE name = "sky tower" ### context: CREATE TABLE table_name_35 (city VARCHAR, name VARCHAR)
### question: What is the name of a building in Courbevoie built before 1973? ### answer: SELECT name FROM table_name_96 WHERE year_built < 1973 AND city = "courbevoie" ### context: CREATE TABLE table_name_96 (name VARCHAR, year_built VARCHAR, city VARCHAR)
### question: Who was the away team at Lake Oval? ### answer: SELECT away_team FROM table_name_36 WHERE venue = "lake oval" ### context: CREATE TABLE table_name_36 (away_team VARCHAR, venue VARCHAR)
### question: What was the home team score for the game where Hawthorn is the home team? ### answer: SELECT home_team AS score FROM table_name_83 WHERE home_team = "hawthorn" ### context: CREATE TABLE table_name_83 (home_team VARCHAR)
### question: What is the date of the game where Essendon is the away team? ### answer: SELECT date FROM table_name_36 WHERE away_team = "essendon" ### context: CREATE TABLE table_name_36 (date VARCHAR, away_team VARCHAR)
### question: What is the home team's score when the away team is south melbourne? ### answer: SELECT home_team AS score FROM table_name_12 WHERE away_team = "south melbourne" ### context: CREATE TABLE table_name_12 (home_team VARCHAR, away_team VARCHAR)
### question: What venue featured the home side of st kilda? ### answer: SELECT venue FROM table_name_67 WHERE home_team = "st kilda" ### context: CREATE TABLE table_name_67 (venue VARCHAR, home_team VARCHAR)
### question: How many metres tall is the building that is larger than 850 feet tall? ### answer: SELECT metres FROM table_name_21 WHERE feet > 850 ### context: CREATE TABLE table_name_21 (metres VARCHAR, feet INTEGER)
### question: What was Geelong's score when they were the home team? ### answer: SELECT home_team AS score FROM table_name_9 WHERE home_team = "geelong" ### context: CREATE TABLE table_name_9 (home_team VARCHAR)
### question: Where was the game when Collingwood was the home team? ### answer: SELECT venue FROM table_name_19 WHERE away_team = "collingwood" ### context: CREATE TABLE table_name_19 (venue VARCHAR, away_team VARCHAR)
### question: What was Peter Woolfolk's Total Rebound average? ### answer: SELECT SUM(total_rebounds) FROM table_name_59 WHERE player = "peter woolfolk" ### context: CREATE TABLE table_name_59 (total_rebounds INTEGER, player VARCHAR)
### question: What was week 3 score? ### answer: SELECT result FROM table_name_79 WHERE week = 3 ### context: CREATE TABLE table_name_79 (result VARCHAR, week VARCHAR)
### question: What is the result of the game at Odsal Stadium? ### answer: SELECT result FROM table_name_41 WHERE stadium = "odsal stadium" ### context: CREATE TABLE table_name_41 (result VARCHAR, stadium VARCHAR)
### question: Which championship had a margin of 10 strokes? ### answer: SELECT championship FROM table_name_43 WHERE margin = "10 strokes" ### context: CREATE TABLE table_name_43 (championship VARCHAR, margin VARCHAR)
### question: Which runner-up player(s) had a margin of 10 strokes? ### answer: SELECT runner_s__up FROM table_name_48 WHERE margin = "10 strokes" ### context: CREATE TABLE table_name_48 (runner_s__up VARCHAR, margin VARCHAR)
### question: What was the most recent year that Kathy Ahern was a runner-up? ### answer: SELECT MAX(year) FROM table_name_12 WHERE runner_s__up = "kathy ahern" ### context: CREATE TABLE table_name_12 (year INTEGER, runner_s__up VARCHAR)
### question: What is the RTM build of the Windows Home Server 2011? ### answer: SELECT rtm_build FROM table_name_74 WHERE name = "windows home server 2011" ### context: CREATE TABLE table_name_74 (rtm_build VARCHAR, name VARCHAR)
### question: What is the current version of windows 8 with an RTM build of 9200? ### answer: SELECT current_version FROM table_name_14 WHERE rtm_build = "9200" AND name = "windows 8" ### context: CREATE TABLE table_name_14 (current_version VARCHAR, rtm_build VARCHAR, name VARCHAR)
### question: What was the home team's score that played Geelong? ### answer: SELECT home_team AS score FROM table_name_44 WHERE away_team = "geelong" ### context: CREATE TABLE table_name_44 (home_team VARCHAR, away_team VARCHAR)
### question: How many rounds were fought with opponent Kevin Roddy? ### answer: SELECT COUNT(round) FROM table_name_54 WHERE opponent = "kevin roddy" ### context: CREATE TABLE table_name_54 (round VARCHAR, opponent VARCHAR)
### question: What was the score when attendance was 19,887? ### answer: SELECT record FROM table_name_2 WHERE attendance = "19,887" ### context: CREATE TABLE table_name_2 (record VARCHAR, attendance VARCHAR)
### question: What week was the Bye attendance week? ### answer: SELECT week FROM table_name_20 WHERE attendance = "bye" ### context: CREATE TABLE table_name_20 (week VARCHAR, attendance VARCHAR)
### question: Who won when the Patriots played the Denver Broncos? ### answer: SELECT record FROM table_name_38 WHERE opponent = "denver broncos" ### context: CREATE TABLE table_name_38 (record VARCHAR, opponent VARCHAR)
### question: Who won when the attendance was 8,000? ### answer: SELECT record FROM table_name_52 WHERE attendance = "8,000" ### context: CREATE TABLE table_name_52 (record VARCHAR, attendance VARCHAR)
### question: What channel has an operator of ivptc? ### answer: SELECT programming FROM table_name_1 WHERE operator = "ivptc" ### context: CREATE TABLE table_name_1 (programming VARCHAR, operator VARCHAR)
### question: What was the score when Richmond payed as the home team? ### answer: SELECT home_team AS score FROM table_name_83 WHERE home_team = "richmond" ### context: CREATE TABLE table_name_83 (home_team VARCHAR)
### question: Who played against Carlton as the home team? ### answer: SELECT home_team FROM table_name_62 WHERE away_team = "carlton" ### context: CREATE TABLE table_name_62 (home_team VARCHAR, away_team VARCHAR)
### question: What was the attendance when South Melbourne was the away team? ### answer: SELECT SUM(crowd) FROM table_name_88 WHERE away_team = "south melbourne" ### context: CREATE TABLE table_name_88 (crowd INTEGER, away_team VARCHAR)
### question: Who was the home team when the VFL played Kardinia Park? ### answer: SELECT home_team AS score FROM table_name_27 WHERE venue = "kardinia park" ### context: CREATE TABLE table_name_27 (home_team VARCHAR, venue VARCHAR)
### question: How many silver medals did the nation who received 32 bronze medals receive? ### answer: SELECT silver FROM table_name_61 WHERE bronze = 32 ### context: CREATE TABLE table_name_61 (silver VARCHAR, bronze VARCHAR)
### question: What is the highest numbered grid with a time or retired time of 52:52.1881? ### answer: SELECT MAX(grid) FROM table_name_91 WHERE time_retired = "52:52.1881" ### context: CREATE TABLE table_name_91 (grid INTEGER, time_retired VARCHAR)
### question: Who recorded a time or retired time of 52:56.4653? ### answer: SELECT name FROM table_name_1 WHERE time_retired = "52:56.4653" ### context: CREATE TABLE table_name_1 (name VARCHAR, time_retired VARCHAR)
### question: What is the average grid number for paul cruickshank racing with less than 27 laps? ### answer: SELECT AVG(grid) FROM table_name_40 WHERE team = "paul cruickshank racing" AND laps < 27 ### context: CREATE TABLE table_name_40 (grid INTEGER, team VARCHAR, laps VARCHAR)
### question: What is the lowest total metals of a team with more than 6 silver, 6 bronze, and fewer than 16 gold medals? ### answer: SELECT MIN(total) FROM table_name_77 WHERE silver > 6 AND bronze = 6 AND gold < 16 ### context: CREATE TABLE table_name_77 (total INTEGER, gold VARCHAR, silver VARCHAR, bronze VARCHAR)
### question: What is the crowd size of the game at Brunswick Street Oval? ### answer: SELECT SUM(crowd) FROM table_name_61 WHERE venue = "brunswick street oval" ### context: CREATE TABLE table_name_61 (crowd INTEGER, venue VARCHAR)
### question: Who was the home team of the game where Footscray is the away team? ### answer: SELECT home_team AS score FROM table_name_52 WHERE away_team = "footscray" ### context: CREATE TABLE table_name_52 (home_team VARCHAR, away_team VARCHAR)
### question: What week has a date of September 3, 2000? ### answer: SELECT AVG(week) FROM table_name_98 WHERE date = "september 3, 2000" ### context: CREATE TABLE table_name_98 (week INTEGER, date VARCHAR)