question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
text
stringlengths
114
1.06k
Who did the team play on april 19?
CREATE TABLE table_name_2 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_2 WHERE date = "april 19"
### Context: CREATE TABLE table_name_2 (opponent VARCHAR, date VARCHAR) ### Question: Who did the team play on april 19? ### Answer: SELECT opponent FROM table_name_2 WHERE date = "april 19"
What is the Aspect of Channel 26.5?
CREATE TABLE table_name_23 (aspect VARCHAR, channel VARCHAR)
SELECT aspect FROM table_name_23 WHERE channel = 26.5
### Context: CREATE TABLE table_name_23 (aspect VARCHAR, channel VARCHAR) ### Question: What is the Aspect of Channel 26.5? ### Answer: SELECT aspect FROM table_name_23 WHERE channel = 26.5
Which Programming is on Channel 26.5?
CREATE TABLE table_name_98 (programming VARCHAR, channel VARCHAR)
SELECT programming FROM table_name_98 WHERE channel = 26.5
### Context: CREATE TABLE table_name_98 (programming VARCHAR, channel VARCHAR) ### Question: Which Programming is on Channel 26.5? ### Answer: SELECT programming FROM table_name_98 WHERE channel = 26.5
Which Programming is on a channel less than 26.5, has a Video of 480i and a PSIP Short Name of jtv?
CREATE TABLE table_name_89 (programming VARCHAR, psip_short_name VARCHAR, channel VARCHAR, video VARCHAR)
SELECT programming FROM table_name_89 WHERE channel < 26.5 AND video = "480i" AND psip_short_name = "jtv"
### Context: CREATE TABLE table_name_89 (programming VARCHAR, psip_short_name VARCHAR, channel VARCHAR, video VARCHAR) ### Question: Which Programming is on a channel less than 26.5, has a Video of 480i and a PSIP Short Name of jtv? ### Answer: SELECT programming FROM table_name_89 WHERE channel < 26.5 AND video = "480i" AND psip_short_name = "jtv"
What number of laps were done by driver Ronnie Peterson?
CREATE TABLE table_name_56 (laps VARCHAR, driver VARCHAR)
SELECT laps FROM table_name_56 WHERE driver = "ronnie peterson"
### Context: CREATE TABLE table_name_56 (laps VARCHAR, driver VARCHAR) ### Question: What number of laps were done by driver Ronnie Peterson? ### Answer: SELECT laps FROM table_name_56 WHERE driver = "ronnie peterson"
Which driver had a time/retired of fuel system?
CREATE TABLE table_name_2 (driver VARCHAR, time_retired VARCHAR)
SELECT driver FROM table_name_2 WHERE time_retired = "fuel system"
### Context: CREATE TABLE table_name_2 (driver VARCHAR, time_retired VARCHAR) ### Question: Which driver had a time/retired of fuel system? ### Answer: SELECT driver FROM table_name_2 WHERE time_retired = "fuel system"
What is the sum of grids with an engine in Time/Retired with less than 45 laps for Giancarlo Baghetti?
CREATE TABLE table_name_27 (grid INTEGER, driver VARCHAR, time_retired VARCHAR, laps VARCHAR)
SELECT SUM(grid) FROM table_name_27 WHERE time_retired = "engine" AND laps < 45 AND driver = "giancarlo baghetti"
### Context: CREATE TABLE table_name_27 (grid INTEGER, driver VARCHAR, time_retired VARCHAR, laps VARCHAR) ### Question: What is the sum of grids with an engine in Time/Retired with less than 45 laps for Giancarlo Baghetti? ### Answer: SELECT SUM(grid) FROM table_name_27 WHERE time_retired = "engine" AND laps < 45 AND driver = "giancarlo baghetti"
I want the Grid for Laps of 35
CREATE TABLE table_name_97 (grid VARCHAR, laps VARCHAR)
SELECT grid FROM table_name_97 WHERE laps = 35
### Context: CREATE TABLE table_name_97 (grid VARCHAR, laps VARCHAR) ### Question: I want the Grid for Laps of 35 ### Answer: SELECT grid FROM table_name_97 WHERE laps = 35
What is Jonty Rhodes's batting style?
CREATE TABLE table_name_95 (batting_style VARCHAR, player VARCHAR)
SELECT batting_style FROM table_name_95 WHERE player = "jonty rhodes"
### Context: CREATE TABLE table_name_95 (batting_style VARCHAR, player VARCHAR) ### Question: What is Jonty Rhodes's batting style? ### Answer: SELECT batting_style FROM table_name_95 WHERE player = "jonty rhodes"
What bowling style does First Class Team, Griqualand West have?
CREATE TABLE table_name_52 (bowling_style VARCHAR, first_class_team VARCHAR)
SELECT bowling_style FROM table_name_52 WHERE first_class_team = "griqualand west"
### Context: CREATE TABLE table_name_52 (bowling_style VARCHAR, first_class_team VARCHAR) ### Question: What bowling style does First Class Team, Griqualand West have? ### Answer: SELECT bowling_style FROM table_name_52 WHERE first_class_team = "griqualand west"
What is the batting style of Makhaya Ntini?
CREATE TABLE table_name_85 (batting_style VARCHAR, player VARCHAR)
SELECT batting_style FROM table_name_85 WHERE player = "makhaya ntini"
### Context: CREATE TABLE table_name_85 (batting_style VARCHAR, player VARCHAR) ### Question: What is the batting style of Makhaya Ntini? ### Answer: SELECT batting_style FROM table_name_85 WHERE player = "makhaya ntini"
What region is the host university of southern california located?
CREATE TABLE table_name_1 (region VARCHAR, host VARCHAR)
SELECT region FROM table_name_1 WHERE host = "university of southern california"
### Context: CREATE TABLE table_name_1 (region VARCHAR, host VARCHAR) ### Question: What region is the host university of southern california located? ### Answer: SELECT region FROM table_name_1 WHERE host = "university of southern california"
In which state is the city of knoxville?
CREATE TABLE table_name_81 (state VARCHAR, city VARCHAR)
SELECT state FROM table_name_81 WHERE city = "knoxville"
### Context: CREATE TABLE table_name_81 (state VARCHAR, city VARCHAR) ### Question: In which state is the city of knoxville? ### Answer: SELECT state FROM table_name_81 WHERE city = "knoxville"
Which city in Texas hosts the Frank Erwin center?
CREATE TABLE table_name_58 (city VARCHAR, state VARCHAR, venue VARCHAR)
SELECT city FROM table_name_58 WHERE state = "texas" AND venue = "frank erwin center"
### Context: CREATE TABLE table_name_58 (city VARCHAR, state VARCHAR, venue VARCHAR) ### Question: Which city in Texas hosts the Frank Erwin center? ### Answer: SELECT city FROM table_name_58 WHERE state = "texas" AND venue = "frank erwin center"
In what region is the city of Austin?
CREATE TABLE table_name_36 (region VARCHAR, city VARCHAR)
SELECT region FROM table_name_36 WHERE city = "austin"
### Context: CREATE TABLE table_name_36 (region VARCHAR, city VARCHAR) ### Question: In what region is the city of Austin? ### Answer: SELECT region FROM table_name_36 WHERE city = "austin"
What is the polling result for Chuck DeVore which has a corresponding polling result of 4% for Other?
CREATE TABLE table_name_97 (chuck_devore VARCHAR, other VARCHAR)
SELECT chuck_devore FROM table_name_97 WHERE other = "4%"
### Context: CREATE TABLE table_name_97 (chuck_devore VARCHAR, other VARCHAR) ### Question: What is the polling result for Chuck DeVore which has a corresponding polling result of 4% for Other? ### Answer: SELECT chuck_devore FROM table_name_97 WHERE other = "4%"
What is the total when silver is less than 1 and rank larger than 3?
CREATE TABLE table_name_82 (total VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT COUNT(total) FROM table_name_82 WHERE silver < 1 AND rank > 3
### Context: CREATE TABLE table_name_82 (total VARCHAR, silver VARCHAR, rank VARCHAR) ### Question: What is the total when silver is less than 1 and rank larger than 3? ### Answer: SELECT COUNT(total) FROM table_name_82 WHERE silver < 1 AND rank > 3
What is the number of bronze for Canada and silver is less than 0?
CREATE TABLE table_name_72 (bronze INTEGER, nation VARCHAR, silver VARCHAR)
SELECT SUM(bronze) FROM table_name_72 WHERE nation = "canada" AND silver < 0
### Context: CREATE TABLE table_name_72 (bronze INTEGER, nation VARCHAR, silver VARCHAR) ### Question: What is the number of bronze for Canada and silver is less than 0? ### Answer: SELECT SUM(bronze) FROM table_name_72 WHERE nation = "canada" AND silver < 0
What is the largest gold when silver is less than 1 for Canada and bronze is less than 0?
CREATE TABLE table_name_48 (gold INTEGER, bronze VARCHAR, silver VARCHAR, nation VARCHAR)
SELECT MAX(gold) FROM table_name_48 WHERE silver < 1 AND nation = "canada" AND bronze < 0
### Context: CREATE TABLE table_name_48 (gold INTEGER, bronze VARCHAR, silver VARCHAR, nation VARCHAR) ### Question: What is the largest gold when silver is less than 1 for Canada and bronze is less than 0? ### Answer: SELECT MAX(gold) FROM table_name_48 WHERE silver < 1 AND nation = "canada" AND bronze < 0
What is the silver for Germany and less than 2?
CREATE TABLE table_name_64 (silver INTEGER, nation VARCHAR, rank VARCHAR)
SELECT AVG(silver) FROM table_name_64 WHERE nation = "germany" AND rank < 2
### Context: CREATE TABLE table_name_64 (silver INTEGER, nation VARCHAR, rank VARCHAR) ### Question: What is the silver for Germany and less than 2? ### Answer: SELECT AVG(silver) FROM table_name_64 WHERE nation = "germany" AND rank < 2
Tell me the score for december 3
CREATE TABLE table_name_4 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_4 WHERE date = "december 3"
### Context: CREATE TABLE table_name_4 (score VARCHAR, date VARCHAR) ### Question: Tell me the score for december 3 ### Answer: SELECT score FROM table_name_4 WHERE date = "december 3"
Tell me the record for december 3
CREATE TABLE table_name_47 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_47 WHERE date = "december 3"
### Context: CREATE TABLE table_name_47 (record VARCHAR, date VARCHAR) ### Question: Tell me the record for december 3 ### Answer: SELECT record FROM table_name_47 WHERE date = "december 3"
Name the record for dallas visitor
CREATE TABLE table_name_86 (record VARCHAR, visitor VARCHAR)
SELECT record FROM table_name_86 WHERE visitor = "dallas"
### Context: CREATE TABLE table_name_86 (record VARCHAR, visitor VARCHAR) ### Question: Name the record for dallas visitor ### Answer: SELECT record FROM table_name_86 WHERE visitor = "dallas"
Name the score for december 5
CREATE TABLE table_name_36 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_36 WHERE date = "december 5"
### Context: CREATE TABLE table_name_36 (score VARCHAR, date VARCHAR) ### Question: Name the score for december 5 ### Answer: SELECT score FROM table_name_36 WHERE date = "december 5"
Who is Princes Park's home team?
CREATE TABLE table_name_6 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_6 WHERE venue = "princes park"
### Context: CREATE TABLE table_name_6 (home_team VARCHAR, venue VARCHAR) ### Question: Who is Princes Park's home team? ### Answer: SELECT home_team FROM table_name_6 WHERE venue = "princes park"
Who is North Melbourne's home team?
CREATE TABLE table_name_30 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_30 WHERE away_team = "north melbourne"
### Context: CREATE TABLE table_name_30 (home_team VARCHAR, away_team VARCHAR) ### Question: Who is North Melbourne's home team? ### Answer: SELECT home_team FROM table_name_30 WHERE away_team = "north melbourne"
In the Crews beyond 2006 what was the Year 8 1st Quads that exists in the same row that had the year 9 2nd Quads of BGGS?
CREATE TABLE table_name_67 (year_8_1st_quad VARCHAR, year_9_2nd_quad VARCHAR, crew VARCHAR)
SELECT year_8_1st_quad FROM table_name_67 WHERE year_9_2nd_quad = "bggs" AND crew > 2006
### Context: CREATE TABLE table_name_67 (year_8_1st_quad VARCHAR, year_9_2nd_quad VARCHAR, crew VARCHAR) ### Question: In the Crews beyond 2006 what was the Year 8 1st Quads that exists in the same row that had the year 9 2nd Quads of BGGS? ### Answer: SELECT year_8_1st_quad FROM table_name_67 WHERE year_9_2nd_quad = "bggs" AND crew > 2006
For the Crew with Year 9 2nd Quads of STM, Year 9 1st Quads of SOM, and a Year 8 3rd Quads of STA what was the Year 8 1st Quads?
CREATE TABLE table_name_5 (year_8_1st_quad VARCHAR, year_8_3rd_quad VARCHAR, year_9_2nd_quad VARCHAR, year_9_1st_quad VARCHAR)
SELECT year_8_1st_quad FROM table_name_5 WHERE year_9_2nd_quad = "stm" AND year_9_1st_quad = "som" AND year_8_3rd_quad = "sta"
### Context: CREATE TABLE table_name_5 (year_8_1st_quad VARCHAR, year_8_3rd_quad VARCHAR, year_9_2nd_quad VARCHAR, year_9_1st_quad VARCHAR) ### Question: For the Crew with Year 9 2nd Quads of STM, Year 9 1st Quads of SOM, and a Year 8 3rd Quads of STA what was the Year 8 1st Quads? ### Answer: SELECT year_8_1st_quad FROM table_name_5 WHERE year_9_2nd_quad = "stm" AND year_9_1st_quad = "som" AND year_8_3rd_quad = "sta"
Which character was in the sexiest female category of the British Soap Awards?
CREATE TABLE table_name_59 (character VARCHAR, category VARCHAR, award VARCHAR)
SELECT character FROM table_name_59 WHERE category = "sexiest female" AND award = "british soap awards"
### Context: CREATE TABLE table_name_59 (character VARCHAR, category VARCHAR, award VARCHAR) ### Question: Which character was in the sexiest female category of the British Soap Awards? ### Answer: SELECT character FROM table_name_59 WHERE category = "sexiest female" AND award = "british soap awards"
Which film or series was nominated in the category of best fansite?
CREATE TABLE table_name_2 (film_or_series VARCHAR, result VARCHAR, category VARCHAR)
SELECT film_or_series FROM table_name_2 WHERE result = "nominated" AND category = "best fansite"
### Context: CREATE TABLE table_name_2 (film_or_series VARCHAR, result VARCHAR, category VARCHAR) ### Question: Which film or series was nominated in the category of best fansite? ### Answer: SELECT film_or_series FROM table_name_2 WHERE result = "nominated" AND category = "best fansite"
Where does Essendon play their home games?
CREATE TABLE table_name_38 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_38 WHERE home_team = "essendon"
### Context: CREATE TABLE table_name_38 (venue VARCHAR, home_team VARCHAR) ### Question: Where does Essendon play their home games? ### Answer: SELECT venue FROM table_name_38 WHERE home_team = "essendon"
What team plays their home games in Victoria Park?
CREATE TABLE table_name_30 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_30 WHERE venue = "victoria park"
### Context: CREATE TABLE table_name_30 (home_team VARCHAR, venue VARCHAR) ### Question: What team plays their home games in Victoria Park? ### Answer: SELECT home_team FROM table_name_30 WHERE venue = "victoria park"
What is the total attendance with a Report of sd.hr, and a Score of 3–1, and a Date of 14 apr 2001?
CREATE TABLE table_name_22 (attendance INTEGER, date VARCHAR, report VARCHAR, score VARCHAR)
SELECT SUM(attendance) FROM table_name_22 WHERE report = "sd.hr" AND score = "3–1" AND date = "14 apr 2001"
### Context: CREATE TABLE table_name_22 (attendance INTEGER, date VARCHAR, report VARCHAR, score VARCHAR) ### Question: What is the total attendance with a Report of sd.hr, and a Score of 3–1, and a Date of 14 apr 2001? ### Answer: SELECT SUM(attendance) FROM table_name_22 WHERE report = "sd.hr" AND score = "3–1" AND date = "14 apr 2001"
What is the highest production code when the writer was brian egeston after season 5?
CREATE TABLE table_name_6 (production_code INTEGER, written_by VARCHAR, season__number VARCHAR)
SELECT MAX(production_code) FROM table_name_6 WHERE written_by = "brian egeston" AND season__number > 5
### Context: CREATE TABLE table_name_6 (production_code INTEGER, written_by VARCHAR, season__number VARCHAR) ### Question: What is the highest production code when the writer was brian egeston after season 5? ### Answer: SELECT MAX(production_code) FROM table_name_6 WHERE written_by = "brian egeston" AND season__number > 5
What was the record when chicago was the home team?
CREATE TABLE table_name_63 (record VARCHAR, home VARCHAR)
SELECT record FROM table_name_63 WHERE home = "chicago"
### Context: CREATE TABLE table_name_63 (record VARCHAR, home VARCHAR) ### Question: What was the record when chicago was the home team? ### Answer: SELECT record FROM table_name_63 WHERE home = "chicago"
How many people were in the crowd when the Home Team was Hawthorn?
CREATE TABLE table_name_58 (crowd INTEGER, home_team VARCHAR)
SELECT SUM(crowd) FROM table_name_58 WHERE home_team = "hawthorn"
### Context: CREATE TABLE table_name_58 (crowd INTEGER, home_team VARCHAR) ### Question: How many people were in the crowd when the Home Team was Hawthorn? ### Answer: SELECT SUM(crowd) FROM table_name_58 WHERE home_team = "hawthorn"
What's the average Grid with Laps of 88?
CREATE TABLE table_name_66 (grid INTEGER, laps VARCHAR)
SELECT AVG(grid) FROM table_name_66 WHERE laps = 88
### Context: CREATE TABLE table_name_66 (grid INTEGER, laps VARCHAR) ### Question: What's the average Grid with Laps of 88? ### Answer: SELECT AVG(grid) FROM table_name_66 WHERE laps = 88
Which driver has a Time/Retired of +6 laps?
CREATE TABLE table_name_21 (driver VARCHAR, time_retired VARCHAR)
SELECT driver FROM table_name_21 WHERE time_retired = "+6 laps"
### Context: CREATE TABLE table_name_21 (driver VARCHAR, time_retired VARCHAR) ### Question: Which driver has a Time/Retired of +6 laps? ### Answer: SELECT driver FROM table_name_21 WHERE time_retired = "+6 laps"
What did Hawthorn score as the home team?
CREATE TABLE table_name_21 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_21 WHERE home_team = "hawthorn"
### Context: CREATE TABLE table_name_21 (home_team VARCHAR) ### Question: What did Hawthorn score as the home team? ### Answer: SELECT home_team AS score FROM table_name_21 WHERE home_team = "hawthorn"
What team played South Melbourne at their home game?
CREATE TABLE table_name_22 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_22 WHERE home_team = "south melbourne"
### Context: CREATE TABLE table_name_22 (away_team VARCHAR, home_team VARCHAR) ### Question: What team played South Melbourne at their home game? ### Answer: SELECT away_team FROM table_name_22 WHERE home_team = "south melbourne"
What team played Geelong at their away game?
CREATE TABLE table_name_59 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_59 WHERE away_team = "geelong"
### Context: CREATE TABLE table_name_59 (home_team VARCHAR, away_team VARCHAR) ### Question: What team played Geelong at their away game? ### Answer: SELECT home_team FROM table_name_59 WHERE away_team = "geelong"
What is the 1989 result of the tournament in which Katerina Maleeva finished 4r in 1991?
CREATE TABLE table_name_60 (Id VARCHAR)
SELECT 1989 FROM table_name_60 WHERE 1991 = "4r"
### Context: CREATE TABLE table_name_60 (Id VARCHAR) ### Question: What is the 1989 result of the tournament in which Katerina Maleeva finished 4r in 1991? ### Answer: SELECT 1989 FROM table_name_60 WHERE 1991 = "4r"
What is the 1989 result of the tournament in which Katerina finished nh in 1986?
CREATE TABLE table_name_94 (Id VARCHAR)
SELECT 1989 FROM table_name_94 WHERE 1986 = "nh"
### Context: CREATE TABLE table_name_94 (Id VARCHAR) ### Question: What is the 1989 result of the tournament in which Katerina finished nh in 1986? ### Answer: SELECT 1989 FROM table_name_94 WHERE 1986 = "nh"
What is the total of the ranks that did not participate?
CREATE TABLE table_name_88 (total VARCHAR, rank VARCHAR)
SELECT total FROM table_name_88 WHERE rank = "did not participate"
### Context: CREATE TABLE table_name_88 (total VARCHAR, rank VARCHAR) ### Question: What is the total of the ranks that did not participate? ### Answer: SELECT total FROM table_name_88 WHERE rank = "did not participate"
What is the decile for Westminster Christian School with a state integrated authority?
CREATE TABLE table_name_55 (decile VARCHAR, authority VARCHAR, name VARCHAR)
SELECT decile FROM table_name_55 WHERE authority = "state integrated" AND name = "westminster christian school"
### Context: CREATE TABLE table_name_55 (decile VARCHAR, authority VARCHAR, name VARCHAR) ### Question: What is the decile for Westminster Christian School with a state integrated authority? ### Answer: SELECT decile FROM table_name_55 WHERE authority = "state integrated" AND name = "westminster christian school"
What are the years when the authority was state integrated and a decile of 9?
CREATE TABLE table_name_45 (years VARCHAR, authority VARCHAR, decile VARCHAR)
SELECT years FROM table_name_45 WHERE authority = "state integrated" AND decile = "9"
### Context: CREATE TABLE table_name_45 (years VARCHAR, authority VARCHAR, decile VARCHAR) ### Question: What are the years when the authority was state integrated and a decile of 9? ### Answer: SELECT years FROM table_name_45 WHERE authority = "state integrated" AND decile = "9"
What did the team score while away in moorabbin oval?
CREATE TABLE table_name_30 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_30 WHERE venue = "moorabbin oval"
### Context: CREATE TABLE table_name_30 (away_team VARCHAR, venue VARCHAR) ### Question: What did the team score while away in moorabbin oval? ### Answer: SELECT away_team AS score FROM table_name_30 WHERE venue = "moorabbin oval"
When was the general foods pga seniors' championship tournament?
CREATE TABLE table_name_66 (date VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_66 WHERE tournament = "general foods pga seniors' championship"
### Context: CREATE TABLE table_name_66 (date VARCHAR, tournament VARCHAR) ### Question: When was the general foods pga seniors' championship tournament? ### Answer: SELECT date FROM table_name_66 WHERE tournament = "general foods pga seniors' championship"
What was the attendance on location when the record was 3–16?
CREATE TABLE table_name_86 (location_attendance VARCHAR, record VARCHAR)
SELECT location_attendance FROM table_name_86 WHERE record = "3–16"
### Context: CREATE TABLE table_name_86 (location_attendance VARCHAR, record VARCHAR) ### Question: What was the attendance on location when the record was 3–16? ### Answer: SELECT location_attendance FROM table_name_86 WHERE record = "3–16"
On what date was a two-way tie (8) the high rebound?
CREATE TABLE table_name_3 (date VARCHAR, high_rebounds VARCHAR)
SELECT date FROM table_name_3 WHERE high_rebounds = "two-way tie (8)"
### Context: CREATE TABLE table_name_3 (date VARCHAR, high_rebounds VARCHAR) ### Question: On what date was a two-way tie (8) the high rebound? ### Answer: SELECT date FROM table_name_3 WHERE high_rebounds = "two-way tie (8)"
What is the home team score with Away team Richmond?
CREATE TABLE table_name_20 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_20 WHERE away_team = "richmond"
### Context: CREATE TABLE table_name_20 (home_team VARCHAR, away_team VARCHAR) ### Question: What is the home team score with Away team Richmond? ### Answer: SELECT home_team AS score FROM table_name_20 WHERE away_team = "richmond"
What is the smallest crowd for victoria park?
CREATE TABLE table_name_89 (crowd INTEGER, venue VARCHAR)
SELECT MIN(crowd) FROM table_name_89 WHERE venue = "victoria park"
### Context: CREATE TABLE table_name_89 (crowd INTEGER, venue VARCHAR) ### Question: What is the smallest crowd for victoria park? ### Answer: SELECT MIN(crowd) FROM table_name_89 WHERE venue = "victoria park"
what is the highest clean & jerk when total (kg) is 200.0 and snatch is more than 87.5?
CREATE TABLE table_name_92 (_jerk VARCHAR, clean_ INTEGER, total__kg_ VARCHAR, snatch VARCHAR)
SELECT MAX(clean_) & _jerk FROM table_name_92 WHERE total__kg_ = "200.0" AND snatch > 87.5
### Context: CREATE TABLE table_name_92 (_jerk VARCHAR, clean_ INTEGER, total__kg_ VARCHAR, snatch VARCHAR) ### Question: what is the highest clean & jerk when total (kg) is 200.0 and snatch is more than 87.5? ### Answer: SELECT MAX(clean_) & _jerk FROM table_name_92 WHERE total__kg_ = "200.0" AND snatch > 87.5
what is the average bodyweight when snatch is 80?
CREATE TABLE table_name_89 (bodyweight INTEGER, snatch VARCHAR)
SELECT AVG(bodyweight) FROM table_name_89 WHERE snatch = 80
### Context: CREATE TABLE table_name_89 (bodyweight INTEGER, snatch VARCHAR) ### Question: what is the average bodyweight when snatch is 80? ### Answer: SELECT AVG(bodyweight) FROM table_name_89 WHERE snatch = 80
What did the home team score at Windy Hill?
CREATE TABLE table_name_92 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_92 WHERE venue = "windy hill"
### Context: CREATE TABLE table_name_92 (home_team VARCHAR, venue VARCHAR) ### Question: What did the home team score at Windy Hill? ### Answer: SELECT home_team AS score FROM table_name_92 WHERE venue = "windy hill"
When the home team was Richmond, what was the largest crowd?
CREATE TABLE table_name_49 (crowd INTEGER, home_team VARCHAR)
SELECT MAX(crowd) FROM table_name_49 WHERE home_team = "richmond"
### Context: CREATE TABLE table_name_49 (crowd INTEGER, home_team VARCHAR) ### Question: When the home team was Richmond, what was the largest crowd? ### Answer: SELECT MAX(crowd) FROM table_name_49 WHERE home_team = "richmond"
Tell me the average 1st prize for tennessee
CREATE TABLE table_name_55 (location VARCHAR)
SELECT AVG(1 AS st_prize__) AS $__ FROM table_name_55 WHERE location = "tennessee"
### Context: CREATE TABLE table_name_55 (location VARCHAR) ### Question: Tell me the average 1st prize for tennessee ### Answer: SELECT AVG(1 AS st_prize__) AS $__ FROM table_name_55 WHERE location = "tennessee"
Tell me the winner of the comfort classic
CREATE TABLE table_name_97 (winner VARCHAR, tournament VARCHAR)
SELECT winner FROM table_name_97 WHERE tournament = "comfort classic"
### Context: CREATE TABLE table_name_97 (winner VARCHAR, tournament VARCHAR) ### Question: Tell me the winner of the comfort classic ### Answer: SELECT winner FROM table_name_97 WHERE tournament = "comfort classic"
How many percentages have losses fewer than 1 with finals appearances of 4?
CREATE TABLE table_name_13 (pct VARCHAR, losses VARCHAR, finals VARCHAR)
SELECT COUNT(pct) FROM table_name_13 WHERE losses < 1 AND finals = 4
### Context: CREATE TABLE table_name_13 (pct VARCHAR, losses VARCHAR, finals VARCHAR) ### Question: How many percentages have losses fewer than 1 with finals appearances of 4? ### Answer: SELECT COUNT(pct) FROM table_name_13 WHERE losses < 1 AND finals = 4
Name the least age for the 1st dose for 3 doses of 2-3 drops
CREATE TABLE table_name_28 (minimum_age_at_1st_dose VARCHAR, number_of_doses VARCHAR, dose VARCHAR)
SELECT minimum_age_at_1st_dose FROM table_name_28 WHERE number_of_doses = "3 doses" AND dose = "2-3 drops"
### Context: CREATE TABLE table_name_28 (minimum_age_at_1st_dose VARCHAR, number_of_doses VARCHAR, dose VARCHAR) ### Question: Name the least age for the 1st dose for 3 doses of 2-3 drops ### Answer: SELECT minimum_age_at_1st_dose FROM table_name_28 WHERE number_of_doses = "3 doses" AND dose = "2-3 drops"
How many doses for the bacillus calmette-guérin?
CREATE TABLE table_name_13 (number_of_doses VARCHAR, vaccine VARCHAR)
SELECT number_of_doses FROM table_name_13 WHERE vaccine = "bacillus calmette-guérin"
### Context: CREATE TABLE table_name_13 (number_of_doses VARCHAR, vaccine VARCHAR) ### Question: How many doses for the bacillus calmette-guérin? ### Answer: SELECT number_of_doses FROM table_name_13 WHERE vaccine = "bacillus calmette-guérin"
What team did team carlton play while away?
CREATE TABLE table_name_42 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_42 WHERE away_team = "carlton"
### Context: CREATE TABLE table_name_42 (home_team VARCHAR, away_team VARCHAR) ### Question: What team did team carlton play while away? ### Answer: SELECT home_team FROM table_name_42 WHERE away_team = "carlton"
What home team plays at Windy Hill?
CREATE TABLE table_name_77 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_77 WHERE venue = "windy hill"
### Context: CREATE TABLE table_name_77 (home_team VARCHAR, venue VARCHAR) ### Question: What home team plays at Windy Hill? ### Answer: SELECT home_team FROM table_name_77 WHERE venue = "windy hill"
What was the 2nd Party in the 1918 Election?
CREATE TABLE table_name_66 (election VARCHAR)
SELECT 2 AS nd_party FROM table_name_66 WHERE election = "1918"
### Context: CREATE TABLE table_name_66 (election VARCHAR) ### Question: What was the 2nd Party in the 1918 Election? ### Answer: SELECT 2 AS nd_party FROM table_name_66 WHERE election = "1918"
What was the 3rd Party in the Election of 1922?
CREATE TABLE table_name_35 (election VARCHAR)
SELECT 3 AS rd_party FROM table_name_35 WHERE election = "1922"
### Context: CREATE TABLE table_name_35 (election VARCHAR) ### Question: What was the 3rd Party in the Election of 1922? ### Answer: SELECT 3 AS rd_party FROM table_name_35 WHERE election = "1922"
What is the ERP W number where the frequency is smaller than 91.1?
CREATE TABLE table_name_6 (erp_w INTEGER, frequency_mhz INTEGER)
SELECT MAX(erp_w) FROM table_name_6 WHERE frequency_mhz < 91.1
### Context: CREATE TABLE table_name_6 (erp_w INTEGER, frequency_mhz INTEGER) ### Question: What is the ERP W number where the frequency is smaller than 91.1? ### Answer: SELECT MAX(erp_w) FROM table_name_6 WHERE frequency_mhz < 91.1
What was the score of Collingwood?
CREATE TABLE table_name_69 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_69 WHERE home_team = "collingwood"
### Context: CREATE TABLE table_name_69 (home_team VARCHAR) ### Question: What was the score of Collingwood? ### Answer: SELECT home_team AS score FROM table_name_69 WHERE home_team = "collingwood"
Where did South Melbourne play?
CREATE TABLE table_name_83 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_83 WHERE away_team = "south melbourne"
### Context: CREATE TABLE table_name_83 (venue VARCHAR, away_team VARCHAR) ### Question: Where did South Melbourne play? ### Answer: SELECT venue FROM table_name_83 WHERE away_team = "south melbourne"
What is the venue of North Melbourne?
CREATE TABLE table_name_79 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_79 WHERE home_team = "north melbourne"
### Context: CREATE TABLE table_name_79 (venue VARCHAR, home_team VARCHAR) ### Question: What is the venue of North Melbourne? ### Answer: SELECT venue FROM table_name_79 WHERE home_team = "north melbourne"
What was the loss from the coyotes as opponents?
CREATE TABLE table_name_20 (loss VARCHAR, opponent VARCHAR)
SELECT loss FROM table_name_20 WHERE opponent = "coyotes"
### Context: CREATE TABLE table_name_20 (loss VARCHAR, opponent VARCHAR) ### Question: What was the loss from the coyotes as opponents? ### Answer: SELECT loss FROM table_name_20 WHERE opponent = "coyotes"
What was the last episode featuring Rob Estes?
CREATE TABLE table_name_93 (final_episode VARCHAR, actor VARCHAR)
SELECT final_episode FROM table_name_93 WHERE actor = "rob estes"
### Context: CREATE TABLE table_name_93 (final_episode VARCHAR, actor VARCHAR) ### Question: What was the last episode featuring Rob Estes? ### Answer: SELECT final_episode FROM table_name_93 WHERE actor = "rob estes"
What block has a COSPAR ID of 1995-060a?
CREATE TABLE table_name_23 (block VARCHAR, cospar_id VARCHAR)
SELECT block FROM table_name_23 WHERE cospar_id = "1995-060a"
### Context: CREATE TABLE table_name_23 (block VARCHAR, cospar_id VARCHAR) ### Question: What block has a COSPAR ID of 1995-060a? ### Answer: SELECT block FROM table_name_23 WHERE cospar_id = "1995-060a"
What rocket has a Block of block i and a COSPAR ID of 1995-060a?
CREATE TABLE table_name_41 (rocket VARCHAR, block VARCHAR, cospar_id VARCHAR)
SELECT rocket FROM table_name_41 WHERE block = "block i" AND cospar_id = "1995-060a"
### Context: CREATE TABLE table_name_41 (rocket VARCHAR, block VARCHAR, cospar_id VARCHAR) ### Question: What rocket has a Block of block i and a COSPAR ID of 1995-060a? ### Answer: SELECT rocket FROM table_name_41 WHERE block = "block i" AND cospar_id = "1995-060a"
What name has a Rocket of titan iv(401)b and a Block of block i/ii hybrid?
CREATE TABLE table_name_2 (name VARCHAR, rocket VARCHAR, block VARCHAR)
SELECT name FROM table_name_2 WHERE rocket = "titan iv(401)b" AND block = "block i/ii hybrid"
### Context: CREATE TABLE table_name_2 (name VARCHAR, rocket VARCHAR, block VARCHAR) ### Question: What name has a Rocket of titan iv(401)b and a Block of block i/ii hybrid? ### Answer: SELECT name FROM table_name_2 WHERE rocket = "titan iv(401)b" AND block = "block i/ii hybrid"
What rocket has a block i/ii hybrid?
CREATE TABLE table_name_30 (rocket VARCHAR, block VARCHAR)
SELECT rocket FROM table_name_30 WHERE block = "block i/ii hybrid"
### Context: CREATE TABLE table_name_30 (rocket VARCHAR, block VARCHAR) ### Question: What rocket has a block i/ii hybrid? ### Answer: SELECT rocket FROM table_name_30 WHERE block = "block i/ii hybrid"
What rocket has a COSPAR ID of 2002-001a?
CREATE TABLE table_name_31 (rocket VARCHAR, cospar_id VARCHAR)
SELECT rocket FROM table_name_31 WHERE cospar_id = "2002-001a"
### Context: CREATE TABLE table_name_31 (rocket VARCHAR, cospar_id VARCHAR) ### Question: What rocket has a COSPAR ID of 2002-001a? ### Answer: SELECT rocket FROM table_name_31 WHERE cospar_id = "2002-001a"
What COSPAR ID has a Launch date/time (UTC) of 1995-11-06, 05:15:01?
CREATE TABLE table_name_40 (cospar_id VARCHAR, launch_date_time__utc_ VARCHAR)
SELECT cospar_id FROM table_name_40 WHERE launch_date_time__utc_ = "1995-11-06, 05:15:01"
### Context: CREATE TABLE table_name_40 (cospar_id VARCHAR, launch_date_time__utc_ VARCHAR) ### Question: What COSPAR ID has a Launch date/time (UTC) of 1995-11-06, 05:15:01? ### Answer: SELECT cospar_id FROM table_name_40 WHERE launch_date_time__utc_ = "1995-11-06, 05:15:01"
On 15/04/07 in the competition Super League XII, what was the score?
CREATE TABLE table_name_94 (score VARCHAR, competition VARCHAR, date VARCHAR)
SELECT score FROM table_name_94 WHERE competition = "super league xii" AND date = "15/04/07"
### Context: CREATE TABLE table_name_94 (score VARCHAR, competition VARCHAR, date VARCHAR) ### Question: On 15/04/07 in the competition Super League XII, what was the score? ### Answer: SELECT score FROM table_name_94 WHERE competition = "super league xii" AND date = "15/04/07"
On 21/07/07, what was the score?
CREATE TABLE table_name_12 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_12 WHERE date = "21/07/07"
### Context: CREATE TABLE table_name_12 (score VARCHAR, date VARCHAR) ### Question: On 21/07/07, what was the score? ### Answer: SELECT score FROM table_name_12 WHERE date = "21/07/07"
What was the venue of season 1907?
CREATE TABLE table_name_48 (venue VARCHAR, season VARCHAR)
SELECT venue FROM table_name_48 WHERE season = "1907"
### Context: CREATE TABLE table_name_48 (venue VARCHAR, season VARCHAR) ### Question: What was the venue of season 1907? ### Answer: SELECT venue FROM table_name_48 WHERE season = "1907"
What is the bowling score of season 1907?
CREATE TABLE table_name_23 (bowling VARCHAR, season VARCHAR)
SELECT bowling FROM table_name_23 WHERE season = "1907"
### Context: CREATE TABLE table_name_23 (bowling VARCHAR, season VARCHAR) ### Question: What is the bowling score of season 1907? ### Answer: SELECT bowling FROM table_name_23 WHERE season = "1907"
Which season did Tich Freeman play against opponent V Warwickshire?
CREATE TABLE table_name_62 (season VARCHAR, player VARCHAR, opponent VARCHAR)
SELECT season FROM table_name_62 WHERE player = "tich freeman" AND opponent = "v warwickshire"
### Context: CREATE TABLE table_name_62 (season VARCHAR, player VARCHAR, opponent VARCHAR) ### Question: Which season did Tich Freeman play against opponent V Warwickshire? ### Answer: SELECT season FROM table_name_62 WHERE player = "tich freeman" AND opponent = "v warwickshire"
What was South Melbourne's score as the home team?
CREATE TABLE table_name_45 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_45 WHERE home_team = "south melbourne"
### Context: CREATE TABLE table_name_45 (home_team VARCHAR) ### Question: What was South Melbourne's score as the home team? ### Answer: SELECT home_team AS score FROM table_name_45 WHERE home_team = "south melbourne"
How many points did the home team Essendon score?
CREATE TABLE table_name_4 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_4 WHERE home_team = "essendon"
### Context: CREATE TABLE table_name_4 (home_team VARCHAR) ### Question: How many points did the home team Essendon score? ### Answer: SELECT home_team AS score FROM table_name_4 WHERE home_team = "essendon"
What character is in over 22 episodes?
CREATE TABLE table_name_91 (character VARCHAR, episodes INTEGER)
SELECT character FROM table_name_91 WHERE episodes > 22
### Context: CREATE TABLE table_name_91 (character VARCHAR, episodes INTEGER) ### Question: What character is in over 22 episodes? ### Answer: SELECT character FROM table_name_91 WHERE episodes > 22
What is the lowest number of episodes for anabel barnston?
CREATE TABLE table_name_35 (episodes INTEGER, actor VARCHAR)
SELECT MIN(episodes) FROM table_name_35 WHERE actor = "anabel barnston"
### Context: CREATE TABLE table_name_35 (episodes INTEGER, actor VARCHAR) ### Question: What is the lowest number of episodes for anabel barnston? ### Answer: SELECT MIN(episodes) FROM table_name_35 WHERE actor = "anabel barnston"
What character is played by dani harmer for under 23 episodes?
CREATE TABLE table_name_51 (character VARCHAR, episodes VARCHAR, actor VARCHAR)
SELECT character FROM table_name_51 WHERE episodes < 23 AND actor = "dani harmer"
### Context: CREATE TABLE table_name_51 (character VARCHAR, episodes VARCHAR, actor VARCHAR) ### Question: What character is played by dani harmer for under 23 episodes? ### Answer: SELECT character FROM table_name_51 WHERE episodes < 23 AND actor = "dani harmer"
How many episodes have a duration of 3?
CREATE TABLE table_name_35 (episodes VARCHAR, duration VARCHAR)
SELECT COUNT(episodes) FROM table_name_35 WHERE duration = "3"
### Context: CREATE TABLE table_name_35 (episodes VARCHAR, duration VARCHAR) ### Question: How many episodes have a duration of 3? ### Answer: SELECT COUNT(episodes) FROM table_name_35 WHERE duration = "3"
What is the name of the away team who play Collingwood?
CREATE TABLE table_name_7 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_7 WHERE home_team = "collingwood"
### Context: CREATE TABLE table_name_7 (away_team VARCHAR, home_team VARCHAR) ### Question: What is the name of the away team who play Collingwood? ### Answer: SELECT away_team FROM table_name_7 WHERE home_team = "collingwood"
What date did Collingwood play as the home team?
CREATE TABLE table_name_75 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_75 WHERE home_team = "collingwood"
### Context: CREATE TABLE table_name_75 (date VARCHAR, home_team VARCHAR) ### Question: What date did Collingwood play as the home team? ### Answer: SELECT date FROM table_name_75 WHERE home_team = "collingwood"
What is the most recent year of disaffiliation of a CHCH-TV station that affiliated after 2001?
CREATE TABLE table_name_31 (year_of_disaffiliation INTEGER, station VARCHAR, year_of_affiliation VARCHAR)
SELECT MAX(year_of_disaffiliation) FROM table_name_31 WHERE station = "chch-tv" AND year_of_affiliation > 2001
### Context: CREATE TABLE table_name_31 (year_of_disaffiliation INTEGER, station VARCHAR, year_of_affiliation VARCHAR) ### Question: What is the most recent year of disaffiliation of a CHCH-TV station that affiliated after 2001? ### Answer: SELECT MAX(year_of_disaffiliation) FROM table_name_31 WHERE station = "chch-tv" AND year_of_affiliation > 2001
What is the earliest year of disaffiliation of a CHCH-TV station, licensed in Hamilton, Ontario?
CREATE TABLE table_name_74 (year_of_disaffiliation INTEGER, city_of_license_market VARCHAR)
SELECT MIN(year_of_disaffiliation) FROM table_name_74 WHERE city_of_license_market = "hamilton, ontario"
### Context: CREATE TABLE table_name_74 (year_of_disaffiliation INTEGER, city_of_license_market VARCHAR) ### Question: What is the earliest year of disaffiliation of a CHCH-TV station, licensed in Hamilton, Ontario? ### Answer: SELECT MIN(year_of_disaffiliation) FROM table_name_74 WHERE city_of_license_market = "hamilton, ontario"
How many bronze medals did west germany win when they had less than 2 silver medals?
CREATE TABLE table_name_29 (bronze INTEGER, nation VARCHAR, silver VARCHAR)
SELECT SUM(bronze) FROM table_name_29 WHERE nation = "west germany" AND silver < 2
### Context: CREATE TABLE table_name_29 (bronze INTEGER, nation VARCHAR, silver VARCHAR) ### Question: How many bronze medals did west germany win when they had less than 2 silver medals? ### Answer: SELECT SUM(bronze) FROM table_name_29 WHERE nation = "west germany" AND silver < 2
How many bronze medals were won when the total was larger than 2 and the more than 2 gold medals were won?
CREATE TABLE table_name_70 (bronze INTEGER, total VARCHAR, gold VARCHAR)
SELECT SUM(bronze) FROM table_name_70 WHERE total > 2 AND gold > 2
### Context: CREATE TABLE table_name_70 (bronze INTEGER, total VARCHAR, gold VARCHAR) ### Question: How many bronze medals were won when the total was larger than 2 and the more than 2 gold medals were won? ### Answer: SELECT SUM(bronze) FROM table_name_70 WHERE total > 2 AND gold > 2
How many gold medals were won when more than 2 bronze medals were won?
CREATE TABLE table_name_62 (gold INTEGER, bronze INTEGER)
SELECT SUM(gold) FROM table_name_62 WHERE bronze > 2
### Context: CREATE TABLE table_name_62 (gold INTEGER, bronze INTEGER) ### Question: How many gold medals were won when more than 2 bronze medals were won? ### Answer: SELECT SUM(gold) FROM table_name_62 WHERE bronze > 2
What was the PI GP fpr pick# 235 for Rd# larger than 12?
CREATE TABLE table_name_18 (pl_gp INTEGER, pick__number VARCHAR, rd__number VARCHAR)
SELECT MIN(pl_gp) FROM table_name_18 WHERE pick__number = 235 AND rd__number > 12
### Context: CREATE TABLE table_name_18 (pl_gp INTEGER, pick__number VARCHAR, rd__number VARCHAR) ### Question: What was the PI GP fpr pick# 235 for Rd# larger than 12? ### Answer: SELECT MIN(pl_gp) FROM table_name_18 WHERE pick__number = 235 AND rd__number > 12
What was the largest crowd when South Melbourne was the away team?
CREATE TABLE table_name_89 (crowd INTEGER, away_team VARCHAR)
SELECT MAX(crowd) FROM table_name_89 WHERE away_team = "south melbourne"
### Context: CREATE TABLE table_name_89 (crowd INTEGER, away_team VARCHAR) ### Question: What was the largest crowd when South Melbourne was the away team? ### Answer: SELECT MAX(crowd) FROM table_name_89 WHERE away_team = "south melbourne"
What is richmond's scores 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 = "richmond"
### Context: CREATE TABLE table_name_53 (home_team VARCHAR) ### Question: What is richmond's scores when they are the home team? ### Answer: SELECT home_team AS score FROM table_name_53 WHERE home_team = "richmond"
What is south melbourne's scores when they are the away team?
CREATE TABLE table_name_32 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_32 WHERE away_team = "south melbourne"
### Context: CREATE TABLE table_name_32 (away_team VARCHAR) ### Question: What is south melbourne's scores when they are the away team? ### Answer: SELECT away_team AS score FROM table_name_32 WHERE away_team = "south melbourne"
What dates were the matches at windy hill?
CREATE TABLE table_name_1 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_1 WHERE venue = "windy hill"
### Context: CREATE TABLE table_name_1 (date VARCHAR, venue VARCHAR) ### Question: What dates were the matches at windy hill? ### Answer: SELECT date FROM table_name_1 WHERE venue = "windy hill"