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