question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
text
stringlengths
114
1.06k
What is the largest crowd for any game where Footscray is the home team?
CREATE TABLE table_name_9 (crowd INTEGER, home_team VARCHAR)
SELECT MAX(crowd) FROM table_name_9 WHERE home_team = "footscray"
### Context: CREATE TABLE table_name_9 (crowd INTEGER, home_team VARCHAR) ### Question: What is the largest crowd for any game where Footscray is the home team? ### Answer: SELECT MAX(crowd) FROM table_name_9 WHERE home_team = "footscray"
What is the maximum number of draws when the diff is smaller than 186, points are fewer than 12 and games played fewer than 6?
CREATE TABLE table_name_86 (drawn INTEGER, played VARCHAR, diff VARCHAR, points VARCHAR)
SELECT MAX(drawn) FROM table_name_86 WHERE diff < 186 AND points < 12 AND played < 6
### Context: CREATE TABLE table_name_86 (drawn INTEGER, played VARCHAR, diff VARCHAR, points VARCHAR) ### Question: What is the maximum number of draws when the diff is smaller than 186, points are fewer than 12 and games played fewer than 6? ### Answer: SELECT MAX(drawn) FROM table_name_86 WHERE diff < 186 AND points < 12 AND played < 6
What is the average diff when games played are more than 6?
CREATE TABLE table_name_84 (diff INTEGER, played INTEGER)
SELECT AVG(diff) FROM table_name_84 WHERE played > 6
### Context: CREATE TABLE table_name_84 (diff INTEGER, played INTEGER) ### Question: What is the average diff when games played are more than 6? ### Answer: SELECT AVG(diff) FROM table_name_84 WHERE played > 6
What is the highest draws when more than 6 are played and the points against are 54?
CREATE TABLE table_name_92 (drawn INTEGER, against VARCHAR, played VARCHAR)
SELECT MAX(drawn) FROM table_name_92 WHERE against = 54 AND played > 6
### Context: CREATE TABLE table_name_92 (drawn INTEGER, against VARCHAR, played VARCHAR) ### Question: What is the highest draws when more than 6 are played and the points against are 54? ### Answer: SELECT MAX(drawn) FROM table_name_92 WHERE against = 54 AND played > 6
What is the maximum number of points against when the team has more than 0 losses and plays fewer than 6 games?
CREATE TABLE table_name_18 (against INTEGER, lost VARCHAR, played VARCHAR)
SELECT MAX(against) FROM table_name_18 WHERE lost > 0 AND played < 6
### Context: CREATE TABLE table_name_18 (against INTEGER, lost VARCHAR, played VARCHAR) ### Question: What is the maximum number of points against when the team has more than 0 losses and plays fewer than 6 games? ### Answer: SELECT MAX(against) FROM table_name_18 WHERE lost > 0 AND played < 6
What is the number of games played for the team with 12 points and an against smaller than 52?
CREATE TABLE table_name_59 (played INTEGER, points VARCHAR, against VARCHAR)
SELECT AVG(played) FROM table_name_59 WHERE points = 12 AND against < 52
### Context: CREATE TABLE table_name_59 (played INTEGER, points VARCHAR, against VARCHAR) ### Question: What is the number of games played for the team with 12 points and an against smaller than 52? ### Answer: SELECT AVG(played) FROM table_name_59 WHERE points = 12 AND against < 52
What is the lowest average parish size with 47.2% of adherents and 4,936 regular attendees?
CREATE TABLE table_name_25 (average_parish_size INTEGER, _percentage_of_adherents VARCHAR, regular_attendees VARCHAR)
SELECT MIN(average_parish_size) FROM table_name_25 WHERE _percentage_of_adherents = "47.2%" AND regular_attendees > 4 OFFSET 936
### Context: CREATE TABLE table_name_25 (average_parish_size INTEGER, _percentage_of_adherents VARCHAR, regular_attendees VARCHAR) ### Question: What is the lowest average parish size with 47.2% of adherents and 4,936 regular attendees? ### Answer: SELECT MIN(average_parish_size) FROM table_name_25 WHERE _percentage_of_adherents = "47.2%" AND regular_attendees > 4 OFFSET 936
What is the average regular number of attendees that has 79 parishes?
CREATE TABLE table_name_36 (regular_attendees INTEGER, parishes VARCHAR)
SELECT AVG(regular_attendees) FROM table_name_36 WHERE parishes = 79
### Context: CREATE TABLE table_name_36 (regular_attendees INTEGER, parishes VARCHAR) ### Question: What is the average regular number of attendees that has 79 parishes? ### Answer: SELECT AVG(regular_attendees) FROM table_name_36 WHERE parishes = 79
Which Grand Prix has the Circuit of Lille?
CREATE TABLE table_name_20 (name VARCHAR, circuit VARCHAR)
SELECT name FROM table_name_20 WHERE circuit = "lille"
### Context: CREATE TABLE table_name_20 (name VARCHAR, circuit VARCHAR) ### Question: Which Grand Prix has the Circuit of Lille? ### Answer: SELECT name FROM table_name_20 WHERE circuit = "lille"
Which winning driver of the Roussillon Grand Prix had an Alfa Romeo?
CREATE TABLE table_name_53 (winning_driver VARCHAR, winning_constructor VARCHAR, name VARCHAR)
SELECT winning_driver FROM table_name_53 WHERE winning_constructor = "alfa romeo" AND name = "roussillon grand prix"
### Context: CREATE TABLE table_name_53 (winning_driver VARCHAR, winning_constructor VARCHAR, name VARCHAR) ### Question: Which winning driver of the Roussillon Grand Prix had an Alfa Romeo? ### Answer: SELECT winning_driver FROM table_name_53 WHERE winning_constructor = "alfa romeo" AND name = "roussillon grand prix"
Which Constructor won the Roussillon Grand Prix?
CREATE TABLE table_name_95 (winning_constructor VARCHAR, name VARCHAR)
SELECT winning_constructor FROM table_name_95 WHERE name = "roussillon grand prix"
### Context: CREATE TABLE table_name_95 (winning_constructor VARCHAR, name VARCHAR) ### Question: Which Constructor won the Roussillon Grand Prix? ### Answer: SELECT winning_constructor FROM table_name_95 WHERE name = "roussillon grand prix"
Which Driver won the Circuit of Rio de Janeiro?
CREATE TABLE table_name_13 (winning_driver VARCHAR, circuit VARCHAR)
SELECT winning_driver FROM table_name_13 WHERE circuit = "rio de janeiro"
### Context: CREATE TABLE table_name_13 (winning_driver VARCHAR, circuit VARCHAR) ### Question: Which Driver won the Circuit of Rio de Janeiro? ### Answer: SELECT winning_driver FROM table_name_13 WHERE circuit = "rio de janeiro"
What day did the VFL pay MCG?
CREATE TABLE table_name_90 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_90 WHERE venue = "mcg"
### Context: CREATE TABLE table_name_90 (date VARCHAR, venue VARCHAR) ### Question: What day did the VFL pay MCG? ### Answer: SELECT date FROM table_name_90 WHERE venue = "mcg"
What was November 4, 1973 attendance?
CREATE TABLE table_name_64 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_64 WHERE date = "november 4, 1973"
### Context: CREATE TABLE table_name_64 (attendance VARCHAR, date VARCHAR) ### Question: What was November 4, 1973 attendance? ### Answer: SELECT attendance FROM table_name_64 WHERE date = "november 4, 1973"
What is the number of laps with a Constructor of renault, and a driver of jacques villeneuve?
CREATE TABLE table_name_73 (laps VARCHAR, constructor VARCHAR, driver VARCHAR)
SELECT laps FROM table_name_73 WHERE constructor = "renault" AND driver = "jacques villeneuve"
### Context: CREATE TABLE table_name_73 (laps VARCHAR, constructor VARCHAR, driver VARCHAR) ### Question: What is the number of laps with a Constructor of renault, and a driver of jacques villeneuve? ### Answer: SELECT laps FROM table_name_73 WHERE constructor = "renault" AND driver = "jacques villeneuve"
What is the time/retired for grid 3?
CREATE TABLE table_name_19 (time_retired VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_19 WHERE grid = 3
### Context: CREATE TABLE table_name_19 (time_retired VARCHAR, grid VARCHAR) ### Question: What is the time/retired for grid 3? ### Answer: SELECT time_retired FROM table_name_19 WHERE grid = 3
What is the time/retired for grid 8?
CREATE TABLE table_name_95 (time_retired VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_95 WHERE grid = 8
### Context: CREATE TABLE table_name_95 (time_retired VARCHAR, grid VARCHAR) ### Question: What is the time/retired for grid 8? ### Answer: SELECT time_retired FROM table_name_95 WHERE grid = 8
What is the time/retired for a grid larger than 11, laps larger than 41, and nick heidfeld?
CREATE TABLE table_name_32 (time_retired VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT time_retired FROM table_name_32 WHERE grid > 11 AND laps > 41 AND driver = "nick heidfeld"
### Context: CREATE TABLE table_name_32 (time_retired VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR) ### Question: What is the time/retired for a grid larger than 11, laps larger than 41, and nick heidfeld? ### Answer: SELECT time_retired FROM table_name_32 WHERE grid > 11 AND laps > 41 AND driver = "nick heidfeld"
Who was the driver with less than 53 laps, Grid larger than 17, and a Time/Retired of spin?
CREATE TABLE table_name_3 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_3 WHERE laps < 53 AND grid > 17 AND time_retired = "spin"
### Context: CREATE TABLE table_name_3 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR) ### Question: Who was the driver with less than 53 laps, Grid larger than 17, and a Time/Retired of spin? ### Answer: SELECT driver FROM table_name_3 WHERE laps < 53 AND grid > 17 AND time_retired = "spin"
Who has won $98,860?
CREATE TABLE table_name_97 (driver VARCHAR, winnings VARCHAR)
SELECT driver FROM table_name_97 WHERE winnings = "$98,860"
### Context: CREATE TABLE table_name_97 (driver VARCHAR, winnings VARCHAR) ### Question: Who has won $98,860? ### Answer: SELECT driver FROM table_name_97 WHERE winnings = "$98,860"
What team is travelling to play Hawthorn?
CREATE TABLE table_name_17 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_17 WHERE home_team = "hawthorn"
### Context: CREATE TABLE table_name_17 (away_team VARCHAR, home_team VARCHAR) ### Question: What team is travelling to play Hawthorn? ### Answer: SELECT away_team FROM table_name_17 WHERE home_team = "hawthorn"
What is the smallest crowd at the Victoria Park Venue?
CREATE TABLE table_name_94 (crowd INTEGER, venue VARCHAR)
SELECT MIN(crowd) FROM table_name_94 WHERE venue = "victoria park"
### Context: CREATE TABLE table_name_94 (crowd INTEGER, venue VARCHAR) ### Question: What is the smallest crowd at the Victoria Park Venue? ### Answer: SELECT MIN(crowd) FROM table_name_94 WHERE venue = "victoria park"
What is the score given by the Home team Geelong?
CREATE TABLE table_name_37 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_37 WHERE home_team = "geelong"
### Context: CREATE TABLE table_name_37 (home_team VARCHAR) ### Question: What is the score given by the Home team Geelong? ### Answer: SELECT home_team AS score FROM table_name_37 WHERE home_team = "geelong"
What is the largest crowd at arden street oval?
CREATE TABLE table_name_87 (crowd INTEGER, venue VARCHAR)
SELECT MAX(crowd) FROM table_name_87 WHERE venue = "arden street oval"
### Context: CREATE TABLE table_name_87 (crowd INTEGER, venue VARCHAR) ### Question: What is the largest crowd at arden street oval? ### Answer: SELECT MAX(crowd) FROM table_name_87 WHERE venue = "arden street oval"
What is the home side's score at western oval?
CREATE TABLE table_name_23 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_23 WHERE venue = "western oval"
### Context: CREATE TABLE table_name_23 (home_team VARCHAR, venue VARCHAR) ### Question: What is the home side's score at western oval? ### Answer: SELECT home_team AS score FROM table_name_23 WHERE venue = "western oval"
What venue is in the state of Connecticut?
CREATE TABLE table_name_90 (venue VARCHAR, state VARCHAR)
SELECT venue FROM table_name_90 WHERE state = "connecticut"
### Context: CREATE TABLE table_name_90 (venue VARCHAR, state VARCHAR) ### Question: What venue is in the state of Connecticut? ### Answer: SELECT venue FROM table_name_90 WHERE state = "connecticut"
What venue is in the city of Durham?
CREATE TABLE table_name_95 (venue VARCHAR, city VARCHAR)
SELECT venue FROM table_name_95 WHERE city = "durham"
### Context: CREATE TABLE table_name_95 (venue VARCHAR, city VARCHAR) ### Question: What venue is in the city of Durham? ### Answer: SELECT venue FROM table_name_95 WHERE city = "durham"
In what state is the Thomas Assembly Center located?
CREATE TABLE table_name_5 (state VARCHAR, venue VARCHAR)
SELECT state FROM table_name_5 WHERE venue = "thomas assembly center"
### Context: CREATE TABLE table_name_5 (state VARCHAR, venue VARCHAR) ### Question: In what state is the Thomas Assembly Center located? ### Answer: SELECT state FROM table_name_5 WHERE venue = "thomas assembly center"
What venue is located in Indiana and hosted at Purdue University?
CREATE TABLE table_name_54 (venue VARCHAR, state VARCHAR, host VARCHAR)
SELECT venue FROM table_name_54 WHERE state = "indiana" AND host = "purdue university"
### Context: CREATE TABLE table_name_54 (venue VARCHAR, state VARCHAR, host VARCHAR) ### Question: What venue is located in Indiana and hosted at Purdue University? ### Answer: SELECT venue FROM table_name_54 WHERE state = "indiana" AND host = "purdue university"
What city is located in Oklahoma?
CREATE TABLE table_name_67 (city VARCHAR, state VARCHAR)
SELECT city FROM table_name_67 WHERE state = "oklahoma"
### Context: CREATE TABLE table_name_67 (city VARCHAR, state VARCHAR) ### Question: What city is located in Oklahoma? ### Answer: SELECT city FROM table_name_67 WHERE state = "oklahoma"
In what city is the United Spirit Arena located?
CREATE TABLE table_name_20 (city VARCHAR, venue VARCHAR)
SELECT city FROM table_name_20 WHERE venue = "united spirit arena"
### Context: CREATE TABLE table_name_20 (city VARCHAR, venue VARCHAR) ### Question: In what city is the United Spirit Arena located? ### Answer: SELECT city FROM table_name_20 WHERE venue = "united spirit arena"
What was the result when they had their bye week?
CREATE TABLE table_name_84 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_84 WHERE date = "bye"
### Context: CREATE TABLE table_name_84 (result VARCHAR, date VARCHAR) ### Question: What was the result when they had their bye week? ### Answer: SELECT result FROM table_name_84 WHERE date = "bye"
What was the attendance of the Browns' September 7, 1953 game?
CREATE TABLE table_name_78 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_78 WHERE date = "september 7, 1953"
### Context: CREATE TABLE table_name_78 (attendance VARCHAR, date VARCHAR) ### Question: What was the attendance of the Browns' September 7, 1953 game? ### Answer: SELECT attendance FROM table_name_78 WHERE date = "september 7, 1953"
When was the Browns' game that over 36,796 attended?
CREATE TABLE table_name_74 (date VARCHAR, attendance INTEGER)
SELECT date FROM table_name_74 WHERE attendance > 36 OFFSET 796
### Context: CREATE TABLE table_name_74 (date VARCHAR, attendance INTEGER) ### Question: When was the Browns' game that over 36,796 attended? ### Answer: SELECT date FROM table_name_74 WHERE attendance > 36 OFFSET 796
What Young rider classification has a Stage of 18?
CREATE TABLE table_name_3 (young_rider_classification VARCHAR, stage VARCHAR)
SELECT young_rider_classification FROM table_name_3 WHERE stage = "18"
### Context: CREATE TABLE table_name_3 (young_rider_classification VARCHAR, stage VARCHAR) ### Question: What Young rider classification has a Stage of 18? ### Answer: SELECT young_rider_classification FROM table_name_3 WHERE stage = "18"
Who has a Team classification of la vie claire, a stage of 20, a General classification of greg lemond?
CREATE TABLE table_name_80 (winner VARCHAR, stage VARCHAR, team_classification VARCHAR, general_classification VARCHAR)
SELECT winner FROM table_name_80 WHERE team_classification = "la vie claire" AND general_classification = "greg lemond" AND stage = "20"
### Context: CREATE TABLE table_name_80 (winner VARCHAR, stage VARCHAR, team_classification VARCHAR, general_classification VARCHAR) ### Question: Who has a Team classification of la vie claire, a stage of 20, a General classification of greg lemond? ### Answer: SELECT winner FROM table_name_80 WHERE team_classification = "la vie claire" AND general_classification = "greg lemond" AND stage = "20"
What is the classification with a Team classification of la vie claire and a Stage of 12?
CREATE TABLE table_name_62 (general_classification VARCHAR, team_classification VARCHAR, stage VARCHAR)
SELECT general_classification FROM table_name_62 WHERE team_classification = "la vie claire" AND stage = "12"
### Context: CREATE TABLE table_name_62 (general_classification VARCHAR, team_classification VARCHAR, stage VARCHAR) ### Question: What is the classification with a Team classification of la vie claire and a Stage of 12? ### Answer: SELECT general_classification FROM table_name_62 WHERE team_classification = "la vie claire" AND stage = "12"
What is guido bontempi's general classification when he has a stage of 6?
CREATE TABLE table_name_51 (general_classification VARCHAR, winner VARCHAR, stage VARCHAR)
SELECT general_classification FROM table_name_51 WHERE winner = "guido bontempi" AND stage = "6"
### Context: CREATE TABLE table_name_51 (general_classification VARCHAR, winner VARCHAR, stage VARCHAR) ### Question: What is guido bontempi's general classification when he has a stage of 6? ### Answer: SELECT general_classification FROM table_name_51 WHERE winner = "guido bontempi" AND stage = "6"
What is Ludo Peeters' team classification?
CREATE TABLE table_name_74 (team_classification VARCHAR, winner VARCHAR)
SELECT team_classification FROM table_name_74 WHERE winner = "ludo peeters"
### Context: CREATE TABLE table_name_74 (team_classification VARCHAR, winner VARCHAR) ### Question: What is Ludo Peeters' team classification? ### Answer: SELECT team_classification FROM table_name_74 WHERE winner = "ludo peeters"
Which date had less than 3 goals and a result of (w) 2-0?
CREATE TABLE table_name_23 (date VARCHAR, goals VARCHAR, result VARCHAR)
SELECT date FROM table_name_23 WHERE goals < 3 AND result = "(w) 2-0"
### Context: CREATE TABLE table_name_23 (date VARCHAR, goals VARCHAR, result VARCHAR) ### Question: Which date had less than 3 goals and a result of (w) 2-0? ### Answer: SELECT date FROM table_name_23 WHERE goals < 3 AND result = "(w) 2-0"
On what date was a match held at MCG?
CREATE TABLE table_name_50 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_50 WHERE venue = "mcg"
### Context: CREATE TABLE table_name_50 (date VARCHAR, venue VARCHAR) ### Question: On what date was a match held at MCG? ### Answer: SELECT date FROM table_name_50 WHERE venue = "mcg"
When Fitzroy are the away team, what is the average crowd size?
CREATE TABLE table_name_65 (crowd INTEGER, away_team VARCHAR)
SELECT AVG(crowd) FROM table_name_65 WHERE away_team = "fitzroy"
### Context: CREATE TABLE table_name_65 (crowd INTEGER, away_team VARCHAR) ### Question: When Fitzroy are the away team, what is the average crowd size? ### Answer: SELECT AVG(crowd) FROM table_name_65 WHERE away_team = "fitzroy"
What is footscray's away team score?
CREATE TABLE table_name_66 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_66 WHERE home_team = "footscray"
### Context: CREATE TABLE table_name_66 (away_team VARCHAR, home_team VARCHAR) ### Question: What is footscray's away team score? ### Answer: SELECT away_team AS score FROM table_name_66 WHERE home_team = "footscray"
What is the record of Jeremija Sanders' opponent?
CREATE TABLE table_name_37 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_37 WHERE opponent = "jeremija sanders"
### Context: CREATE TABLE table_name_37 (record VARCHAR, opponent VARCHAR) ### Question: What is the record of Jeremija Sanders' opponent? ### Answer: SELECT record FROM table_name_37 WHERE opponent = "jeremija sanders"
What is the average number of tries that has a start larger than 32, is a player of seremaia bai that also has a conversion score larger than 47?
CREATE TABLE table_name_22 (tries INTEGER, conv VARCHAR, start VARCHAR, player VARCHAR)
SELECT AVG(tries) FROM table_name_22 WHERE start > 32 AND player = "seremaia bai" AND conv > 47
### Context: CREATE TABLE table_name_22 (tries INTEGER, conv VARCHAR, start VARCHAR, player VARCHAR) ### Question: What is the average number of tries that has a start larger than 32, is a player of seremaia bai that also has a conversion score larger than 47? ### Answer: SELECT AVG(tries) FROM table_name_22 WHERE start > 32 AND player = "seremaia bai" AND conv > 47
For the player fero lasagavibau who has the lowest start?
CREATE TABLE table_name_71 (start INTEGER, player VARCHAR)
SELECT MIN(start) FROM table_name_71 WHERE player = "fero lasagavibau"
### Context: CREATE TABLE table_name_71 (start INTEGER, player VARCHAR) ### Question: For the player fero lasagavibau who has the lowest start? ### Answer: SELECT MIN(start) FROM table_name_71 WHERE player = "fero lasagavibau"
Who was the opponent when Raphael was 4-0?
CREATE TABLE table_name_11 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_11 WHERE record = "4-0"
### Context: CREATE TABLE table_name_11 (opponent VARCHAR, record VARCHAR) ### Question: Who was the opponent when Raphael was 4-0? ### Answer: SELECT opponent FROM table_name_11 WHERE record = "4-0"
What was the average round when he had a 3-0 record?
CREATE TABLE table_name_18 (round INTEGER, record VARCHAR)
SELECT AVG(round) FROM table_name_18 WHERE record = "3-0"
### Context: CREATE TABLE table_name_18 (round INTEGER, record VARCHAR) ### Question: What was the average round when he had a 3-0 record? ### Answer: SELECT AVG(round) FROM table_name_18 WHERE record = "3-0"
What was the location when he had a 2-0 record?
CREATE TABLE table_name_41 (location VARCHAR, record VARCHAR)
SELECT location FROM table_name_41 WHERE record = "2-0"
### Context: CREATE TABLE table_name_41 (location VARCHAR, record VARCHAR) ### Question: What was the location when he had a 2-0 record? ### Answer: SELECT location FROM table_name_41 WHERE record = "2-0"
What was the result when he went 1 round against jeremy beck?
CREATE TABLE table_name_4 (res VARCHAR, round VARCHAR, opponent VARCHAR)
SELECT res FROM table_name_4 WHERE round = 1 AND opponent = "jeremy beck"
### Context: CREATE TABLE table_name_4 (res VARCHAR, round VARCHAR, opponent VARCHAR) ### Question: What was the result when he went 1 round against jeremy beck? ### Answer: SELECT res FROM table_name_4 WHERE round = 1 AND opponent = "jeremy beck"
What was the result of the game in halifax?
CREATE TABLE table_name_34 (result VARCHAR, city VARCHAR)
SELECT result FROM table_name_34 WHERE city = "halifax"
### Context: CREATE TABLE table_name_34 (result VARCHAR, city VARCHAR) ### Question: What was the result of the game in halifax? ### Answer: SELECT result FROM table_name_34 WHERE city = "halifax"
What stadium is located in Halifax?
CREATE TABLE table_name_48 (stadium VARCHAR, city VARCHAR)
SELECT stadium FROM table_name_48 WHERE city = "halifax"
### Context: CREATE TABLE table_name_48 (stadium VARCHAR, city VARCHAR) ### Question: What stadium is located in Halifax? ### Answer: SELECT stadium FROM table_name_48 WHERE city = "halifax"
What day did they play in salford?
CREATE TABLE table_name_56 (date VARCHAR, city VARCHAR)
SELECT date FROM table_name_56 WHERE city = "salford"
### Context: CREATE TABLE table_name_56 (date VARCHAR, city VARCHAR) ### Question: What day did they play in salford? ### Answer: SELECT date FROM table_name_56 WHERE city = "salford"
What was the earliest week the team played the chicago cardinals in front of less than 25,312?
CREATE TABLE table_name_12 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
SELECT MIN(week) FROM table_name_12 WHERE opponent = "chicago cardinals" AND attendance < 25 OFFSET 312
### Context: CREATE TABLE table_name_12 (week INTEGER, opponent VARCHAR, attendance VARCHAR) ### Question: What was the earliest week the team played the chicago cardinals in front of less than 25,312? ### Answer: SELECT MIN(week) FROM table_name_12 WHERE opponent = "chicago cardinals" AND attendance < 25 OFFSET 312
What day did they play on week 4?
CREATE TABLE table_name_25 (date VARCHAR, week VARCHAR)
SELECT date FROM table_name_25 WHERE week = 4
### Context: CREATE TABLE table_name_25 (date VARCHAR, week VARCHAR) ### Question: What day did they play on week 4? ### Answer: SELECT date FROM table_name_25 WHERE week = 4
What was the attendance during the week 1 match?
CREATE TABLE table_name_2 (attendance VARCHAR, week VARCHAR)
SELECT attendance FROM table_name_2 WHERE week = 1
### Context: CREATE TABLE table_name_2 (attendance VARCHAR, week VARCHAR) ### Question: What was the attendance during the week 1 match? ### Answer: SELECT attendance FROM table_name_2 WHERE week = 1
During what week was the match on November 10, 1963?
CREATE TABLE table_name_37 (week INTEGER, date VARCHAR)
SELECT AVG(week) FROM table_name_37 WHERE date = "november 10, 1963"
### Context: CREATE TABLE table_name_37 (week INTEGER, date VARCHAR) ### Question: During what week was the match on November 10, 1963? ### Answer: SELECT AVG(week) FROM table_name_37 WHERE date = "november 10, 1963"
What was the result of the match on December 1, 1963?
CREATE TABLE table_name_43 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_43 WHERE date = "december 1, 1963"
### Context: CREATE TABLE table_name_43 (result VARCHAR, date VARCHAR) ### Question: What was the result of the match on December 1, 1963? ### Answer: SELECT result FROM table_name_43 WHERE date = "december 1, 1963"
What day is hawthorn the away side?
CREATE TABLE table_name_23 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_23 WHERE away_team = "hawthorn"
### Context: CREATE TABLE table_name_23 (date VARCHAR, away_team VARCHAR) ### Question: What day is hawthorn the away side? ### Answer: SELECT date FROM table_name_23 WHERE away_team = "hawthorn"
What is the average crowd size for games with north melbourne as the away side?
CREATE TABLE table_name_22 (crowd INTEGER, away_team VARCHAR)
SELECT AVG(crowd) FROM table_name_22 WHERE away_team = "north melbourne"
### Context: CREATE TABLE table_name_22 (crowd INTEGER, away_team VARCHAR) ### Question: What is the average crowd size for games with north melbourne as the away side? ### Answer: SELECT AVG(crowd) FROM table_name_22 WHERE away_team = "north melbourne"
How many forms have less than 18 pages?
CREATE TABLE table_name_72 (form VARCHAR, pages INTEGER)
SELECT COUNT(form) FROM table_name_72 WHERE pages < 18
### Context: CREATE TABLE table_name_72 (form VARCHAR, pages INTEGER) ### Question: How many forms have less than 18 pages? ### Answer: SELECT COUNT(form) FROM table_name_72 WHERE pages < 18
What is the sum of forms with greater than 17 pages and a total of $1,801,154?
CREATE TABLE table_name_70 (form INTEGER, pages VARCHAR, total_assets VARCHAR)
SELECT SUM(form) FROM table_name_70 WHERE pages > 17 AND total_assets = "$1,801,154"
### Context: CREATE TABLE table_name_70 (form INTEGER, pages VARCHAR, total_assets VARCHAR) ### Question: What is the sum of forms with greater than 17 pages and a total of $1,801,154? ### Answer: SELECT SUM(form) FROM table_name_70 WHERE pages > 17 AND total_assets = "$1,801,154"
Which venue hosted South Melbourne?
CREATE TABLE table_name_50 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_50 WHERE away_team = "south melbourne"
### Context: CREATE TABLE table_name_50 (venue VARCHAR, away_team VARCHAR) ### Question: Which venue hosted South Melbourne? ### Answer: SELECT venue FROM table_name_50 WHERE away_team = "south melbourne"
What was the scored of the Away team that played against Richmond?
CREATE TABLE table_name_83 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_83 WHERE home_team = "richmond"
### Context: CREATE TABLE table_name_83 (away_team VARCHAR, home_team VARCHAR) ### Question: What was the scored of the Away team that played against Richmond? ### Answer: SELECT away_team AS score FROM table_name_83 WHERE home_team = "richmond"
What is the result week 6?
CREATE TABLE table_name_44 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_44 WHERE week = 6
### Context: CREATE TABLE table_name_44 (result VARCHAR, week VARCHAR) ### Question: What is the result week 6? ### Answer: SELECT result FROM table_name_44 WHERE week = 6
How many goals did sture mårtensson score?
CREATE TABLE table_name_98 (goals VARCHAR, name VARCHAR)
SELECT goals FROM table_name_98 WHERE name = "sture mårtensson"
### Context: CREATE TABLE table_name_98 (goals VARCHAR, name VARCHAR) ### Question: How many goals did sture mårtensson score? ### Answer: SELECT goals FROM table_name_98 WHERE name = "sture mårtensson"
How many goals for the player with 2 caps at degerfors if?
CREATE TABLE table_name_47 (goals VARCHAR, caps VARCHAR, club VARCHAR)
SELECT goals FROM table_name_47 WHERE caps = 2 AND club = "degerfors if"
### Context: CREATE TABLE table_name_47 (goals VARCHAR, caps VARCHAR, club VARCHAR) ### Question: How many goals for the player with 2 caps at degerfors if? ### Answer: SELECT goals FROM table_name_47 WHERE caps = 2 AND club = "degerfors if"
What catalog came out after 2000?
CREATE TABLE table_name_23 (catalog VARCHAR, year INTEGER)
SELECT catalog FROM table_name_23 WHERE year > 2000
### Context: CREATE TABLE table_name_23 (catalog VARCHAR, year INTEGER) ### Question: What catalog came out after 2000? ### Answer: SELECT catalog FROM table_name_23 WHERE year > 2000
What was the attendance on week 7?
CREATE TABLE table_name_26 (attendance VARCHAR, week VARCHAR)
SELECT attendance FROM table_name_26 WHERE week = 7
### Context: CREATE TABLE table_name_26 (attendance VARCHAR, week VARCHAR) ### Question: What was the attendance on week 7? ### Answer: SELECT attendance FROM table_name_26 WHERE week = 7
What opponent did they have a bye result against before week 14?
CREATE TABLE table_name_19 (opponent VARCHAR, result VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_19 WHERE result = "bye" AND week < 14
### Context: CREATE TABLE table_name_19 (opponent VARCHAR, result VARCHAR, week VARCHAR) ### Question: What opponent did they have a bye result against before week 14? ### Answer: SELECT opponent FROM table_name_19 WHERE result = "bye" AND week < 14
Which home team has an Away team of fitzroy?
CREATE TABLE table_name_73 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_73 WHERE away_team = "fitzroy"
### Context: CREATE TABLE table_name_73 (home_team VARCHAR, away_team VARCHAR) ### Question: Which home team has an Away team of fitzroy? ### Answer: SELECT home_team FROM table_name_73 WHERE away_team = "fitzroy"
What was North Melbourne's score when they were the home team?
CREATE TABLE table_name_82 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_82 WHERE home_team = "north melbourne"
### Context: CREATE TABLE table_name_82 (home_team VARCHAR) ### Question: What was North Melbourne's score when they were the home team? ### Answer: SELECT home_team AS score FROM table_name_82 WHERE home_team = "north melbourne"
What was Richmond's score as the home team?
CREATE TABLE table_name_38 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_38 WHERE home_team = "richmond"
### Context: CREATE TABLE table_name_38 (home_team VARCHAR) ### Question: What was Richmond's score as the home team? ### Answer: SELECT home_team AS score FROM table_name_38 WHERE home_team = "richmond"
Who was the opponent when Richmond played as the home team?
CREATE TABLE table_name_56 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_56 WHERE home_team = "richmond"
### Context: CREATE TABLE table_name_56 (away_team VARCHAR, home_team VARCHAR) ### Question: Who was the opponent when Richmond played as the home team? ### Answer: SELECT away_team FROM table_name_56 WHERE home_team = "richmond"
What was the attendance at the Kardinia Park game?
CREATE TABLE table_name_25 (crowd VARCHAR, venue VARCHAR)
SELECT crowd FROM table_name_25 WHERE venue = "kardinia park"
### Context: CREATE TABLE table_name_25 (crowd VARCHAR, venue VARCHAR) ### Question: What was the attendance at the Kardinia Park game? ### Answer: SELECT crowd FROM table_name_25 WHERE venue = "kardinia park"
What was the score of the team North Melbourne played at Arden Street Oval?
CREATE TABLE table_name_75 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_75 WHERE home_team = "north melbourne"
### Context: CREATE TABLE table_name_75 (away_team VARCHAR, home_team VARCHAR) ### Question: What was the score of the team North Melbourne played at Arden Street Oval? ### Answer: SELECT away_team AS score FROM table_name_75 WHERE home_team = "north melbourne"
What date did the game at Arden Street Oval take place?
CREATE TABLE table_name_12 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_12 WHERE venue = "arden street oval"
### Context: CREATE TABLE table_name_12 (date VARCHAR, venue VARCHAR) ### Question: What date did the game at Arden Street Oval take place? ### Answer: SELECT date FROM table_name_12 WHERE venue = "arden street oval"
What is the date of the game with 36,766 fans?
CREATE TABLE table_name_98 (date VARCHAR, crowd INTEGER)
SELECT date FROM table_name_98 WHERE crowd > 36 OFFSET 766
### Context: CREATE TABLE table_name_98 (date VARCHAR, crowd INTEGER) ### Question: What is the date of the game with 36,766 fans? ### Answer: SELECT date FROM table_name_98 WHERE crowd > 36 OFFSET 766
Which higher secondary school listing has the lowest total and an Aided amount larger than 14?
CREATE TABLE table_name_41 (total INTEGER, institution VARCHAR, aided VARCHAR)
SELECT MIN(total) FROM table_name_41 WHERE institution = "higher secondary school" AND aided > 14
### Context: CREATE TABLE table_name_41 (total INTEGER, institution VARCHAR, aided VARCHAR) ### Question: Which higher secondary school listing has the lowest total and an Aided amount larger than 14? ### Answer: SELECT MIN(total) FROM table_name_41 WHERE institution = "higher secondary school" AND aided > 14
Which Institution has a Total smaller than 13, a Government amount of 1, and an Aided amount of 0?
CREATE TABLE table_name_99 (institution VARCHAR, aided VARCHAR, total VARCHAR, government VARCHAR)
SELECT institution FROM table_name_99 WHERE total < 13 AND government = 1 AND aided = 0
### Context: CREATE TABLE table_name_99 (institution VARCHAR, aided VARCHAR, total VARCHAR, government VARCHAR) ### Question: Which Institution has a Total smaller than 13, a Government amount of 1, and an Aided amount of 0? ### Answer: SELECT institution FROM table_name_99 WHERE total < 13 AND government = 1 AND aided = 0
Which IATA is associated with China and an ICAO of ZSPD?
CREATE TABLE table_name_59 (iata VARCHAR, country VARCHAR, icao VARCHAR)
SELECT iata FROM table_name_59 WHERE country = "china" AND icao = "zspd"
### Context: CREATE TABLE table_name_59 (iata VARCHAR, country VARCHAR, icao VARCHAR) ### Question: Which IATA is associated with China and an ICAO of ZSPD? ### Answer: SELECT iata FROM table_name_59 WHERE country = "china" AND icao = "zspd"
Which airport is associated with Macau?
CREATE TABLE table_name_71 (airport VARCHAR, city VARCHAR)
SELECT airport FROM table_name_71 WHERE city = "macau"
### Context: CREATE TABLE table_name_71 (airport VARCHAR, city VARCHAR) ### Question: Which airport is associated with Macau? ### Answer: SELECT airport FROM table_name_71 WHERE city = "macau"
What is the IATA for Nanjing?
CREATE TABLE table_name_85 (iata VARCHAR, city VARCHAR)
SELECT iata FROM table_name_85 WHERE city = "nanjing"
### Context: CREATE TABLE table_name_85 (iata VARCHAR, city VARCHAR) ### Question: What is the IATA for Nanjing? ### Answer: SELECT iata FROM table_name_85 WHERE city = "nanjing"
Which airport has an ICAO of RCKH?
CREATE TABLE table_name_81 (airport VARCHAR, icao VARCHAR)
SELECT airport FROM table_name_81 WHERE icao = "rckh"
### Context: CREATE TABLE table_name_81 (airport VARCHAR, icao VARCHAR) ### Question: Which airport has an ICAO of RCKH? ### Answer: SELECT airport FROM table_name_81 WHERE icao = "rckh"
Which airport has an IATA of TYN?
CREATE TABLE table_name_52 (airport VARCHAR, iata VARCHAR)
SELECT airport FROM table_name_52 WHERE iata = "tyn"
### Context: CREATE TABLE table_name_52 (airport VARCHAR, iata VARCHAR) ### Question: Which airport has an IATA of TYN? ### Answer: SELECT airport FROM table_name_52 WHERE iata = "tyn"
Which country contains the Shanghai Pudong International airport?
CREATE TABLE table_name_41 (country VARCHAR, airport VARCHAR)
SELECT country FROM table_name_41 WHERE airport = "shanghai pudong international airport"
### Context: CREATE TABLE table_name_41 (country VARCHAR, airport VARCHAR) ### Question: Which country contains the Shanghai Pudong International airport? ### Answer: SELECT country FROM table_name_41 WHERE airport = "shanghai pudong international airport"
What was Footscray's score when it played as the home team?
CREATE TABLE table_name_2 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_2 WHERE home_team = "footscray"
### Context: CREATE TABLE table_name_2 (home_team VARCHAR) ### Question: What was Footscray's score when it played as the home team? ### Answer: SELECT home_team AS score FROM table_name_2 WHERE home_team = "footscray"
hat was Hawthorn's score as the away team?
CREATE TABLE table_name_83 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_83 WHERE away_team = "hawthorn"
### Context: CREATE TABLE table_name_83 (away_team VARCHAR) ### Question: hat was Hawthorn's score as the away team? ### Answer: SELECT away_team AS score FROM table_name_83 WHERE away_team = "hawthorn"
What was the Outcome against Opponent in the Final Carlos Kirmayr?
CREATE TABLE table_name_41 (outcome VARCHAR, opponent_in_the_final VARCHAR)
SELECT outcome FROM table_name_41 WHERE opponent_in_the_final = "carlos kirmayr"
### Context: CREATE TABLE table_name_41 (outcome VARCHAR, opponent_in_the_final VARCHAR) ### Question: What was the Outcome against Opponent in the Final Carlos Kirmayr? ### Answer: SELECT outcome FROM table_name_41 WHERE opponent_in_the_final = "carlos kirmayr"
What was the Score in the Final against Opponent in the Final Manuel Orantes, prior to 1978?
CREATE TABLE table_name_35 (score_in_the_final VARCHAR, date VARCHAR, opponent_in_the_final VARCHAR)
SELECT score_in_the_final FROM table_name_35 WHERE date < 1978 AND opponent_in_the_final = "manuel orantes"
### Context: CREATE TABLE table_name_35 (score_in_the_final VARCHAR, date VARCHAR, opponent_in_the_final VARCHAR) ### Question: What was the Score in the Final against Opponent in the Final Manuel Orantes, prior to 1978? ### Answer: SELECT score_in_the_final FROM table_name_35 WHERE date < 1978 AND opponent_in_the_final = "manuel orantes"
Against Opponent in the Final Ivan Lendl, on a Surface of clay, with an Outcome of runner-up, where was the Championship?
CREATE TABLE table_name_89 (championship VARCHAR, opponent_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR)
SELECT championship FROM table_name_89 WHERE outcome = "runner-up" AND surface = "clay" AND opponent_in_the_final = "ivan lendl"
### Context: CREATE TABLE table_name_89 (championship VARCHAR, opponent_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR) ### Question: Against Opponent in the Final Ivan Lendl, on a Surface of clay, with an Outcome of runner-up, where was the Championship? ### Answer: SELECT championship FROM table_name_89 WHERE outcome = "runner-up" AND surface = "clay" AND opponent_in_the_final = "ivan lendl"
What is the earliest Date on a Surface of clay in a Championship in Linz, Austria?
CREATE TABLE table_name_15 (date INTEGER, surface VARCHAR, championship VARCHAR)
SELECT MIN(date) FROM table_name_15 WHERE surface = "clay" AND championship = "linz, austria"
### Context: CREATE TABLE table_name_15 (date INTEGER, surface VARCHAR, championship VARCHAR) ### Question: What is the earliest Date on a Surface of clay in a Championship in Linz, Austria? ### Answer: SELECT MIN(date) FROM table_name_15 WHERE surface = "clay" AND championship = "linz, austria"
Who playes the sport of athletics?
CREATE TABLE table_name_36 (sportsperson VARCHAR, sport VARCHAR)
SELECT sportsperson FROM table_name_36 WHERE sport = "athletics"
### Context: CREATE TABLE table_name_36 (sportsperson VARCHAR, sport VARCHAR) ### Question: Who playes the sport of athletics? ### Answer: SELECT sportsperson FROM table_name_36 WHERE sport = "athletics"
What team has a year listed of 2008?
CREATE TABLE table_name_75 (team VARCHAR, year VARCHAR)
SELECT team FROM table_name_75 WHERE year = 2008
### Context: CREATE TABLE table_name_75 (team VARCHAR, year VARCHAR) ### Question: What team has a year listed of 2008? ### Answer: SELECT team FROM table_name_75 WHERE year = 2008
What venue was the game played in when the away team was fitzroy?
CREATE TABLE table_name_42 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_42 WHERE away_team = "fitzroy"
### Context: CREATE TABLE table_name_42 (venue VARCHAR, away_team VARCHAR) ### Question: What venue was the game played in when the away team was fitzroy? ### Answer: SELECT venue FROM table_name_42 WHERE away_team = "fitzroy"
What is the film type for the movie Sanctuary?
CREATE TABLE table_name_35 (type VARCHAR, name VARCHAR)
SELECT type FROM table_name_35 WHERE name = "sanctuary"
### Context: CREATE TABLE table_name_35 (type VARCHAR, name VARCHAR) ### Question: What is the film type for the movie Sanctuary? ### Answer: SELECT type FROM table_name_35 WHERE name = "sanctuary"
What different types are there with a CC License of by-nc-sa 2.5?
CREATE TABLE table_name_25 (type VARCHAR, cc_license VARCHAR)
SELECT type FROM table_name_25 WHERE cc_license = "by-nc-sa 2.5"
### Context: CREATE TABLE table_name_25 (type VARCHAR, cc_license VARCHAR) ### Question: What different types are there with a CC License of by-nc-sa 2.5? ### Answer: SELECT type FROM table_name_25 WHERE cc_license = "by-nc-sa 2.5"
What are the open source movies with planned releases in 2013?
CREATE TABLE table_name_67 (open_source_movie VARCHAR, planned_release VARCHAR)
SELECT open_source_movie FROM table_name_67 WHERE planned_release = "2013"
### Context: CREATE TABLE table_name_67 (open_source_movie VARCHAR, planned_release VARCHAR) ### Question: What are the open source movies with planned releases in 2013? ### Answer: SELECT open_source_movie FROM table_name_67 WHERE planned_release = "2013"
What was the lowest rank by average of a couple who had an average of 23 and a total of 115?
CREATE TABLE table_name_99 (rank_by_average INTEGER, average VARCHAR, total VARCHAR)
SELECT MIN(rank_by_average) FROM table_name_99 WHERE average = 23 AND total = 115
### Context: CREATE TABLE table_name_99 (rank_by_average INTEGER, average VARCHAR, total VARCHAR) ### Question: What was the lowest rank by average of a couple who had an average of 23 and a total of 115? ### Answer: SELECT MIN(rank_by_average) FROM table_name_99 WHERE average = 23 AND total = 115
What is the colonized date for Michigan?
CREATE TABLE table_name_92 (colonized VARCHAR, state VARCHAR)
SELECT colonized FROM table_name_92 WHERE state = "michigan"
### Context: CREATE TABLE table_name_92 (colonized VARCHAR, state VARCHAR) ### Question: What is the colonized date for Michigan? ### Answer: SELECT colonized FROM table_name_92 WHERE state = "michigan"