question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
text
stringlengths
114
1.06k
What is the average Laps for the Mexico team with a grid number of more than 1?
CREATE TABLE table_name_76 (laps INTEGER, grid VARCHAR, team VARCHAR)
SELECT AVG(laps) FROM table_name_76 WHERE grid > 1 AND team = "mexico"
### Context: CREATE TABLE table_name_76 (laps INTEGER, grid VARCHAR, team VARCHAR) ### Question: What is the average Laps for the Mexico team with a grid number of more than 1? ### Answer: SELECT AVG(laps) FROM table_name_76 WHERE grid > 1 AND team = "mexico"
What is name of the drive with a Time of +13.315?
CREATE TABLE table_name_85 (driver VARCHAR, time VARCHAR)
SELECT driver FROM table_name_85 WHERE time = "+13.315"
### Context: CREATE TABLE table_name_85 (driver VARCHAR, time VARCHAR) ### Question: What is name of the drive with a Time of +13.315? ### Answer: SELECT driver FROM table_name_85 WHERE time = "+13.315"
What is the total grid number that has 14 laps and a time of +29.483?
CREATE TABLE table_name_6 (grid VARCHAR, laps VARCHAR, time VARCHAR)
SELECT COUNT(grid) FROM table_name_6 WHERE laps = 14 AND time = "+29.483"
### Context: CREATE TABLE table_name_6 (grid VARCHAR, laps VARCHAR, time VARCHAR) ### Question: What is the total grid number that has 14 laps and a time of +29.483? ### Answer: SELECT COUNT(grid) FROM table_name_6 WHERE laps = 14 AND time = "+29.483"
What is the total number of Laps when collision shows for time for Switzerland and less than 11 for grid?
CREATE TABLE table_name_39 (laps VARCHAR, grid VARCHAR, time VARCHAR, team VARCHAR)
SELECT COUNT(laps) FROM table_name_39 WHERE time = "collision" AND team = "switzerland" AND grid < 11
### Context: CREATE TABLE table_name_39 (laps VARCHAR, grid VARCHAR, time VARCHAR, team VARCHAR) ### Question: What is the total number of Laps when collision shows for time for Switzerland and less than 11 for grid? ### Answer: SELECT COUNT(laps) FROM table_name_39 WHERE time = "collision" AND team = "switzerland" AND grid < 11
What is the time of the game after week 4 against the Baltimore Ravens?
CREATE TABLE table_name_67 (time___et__ VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT time___et__ FROM table_name_67 WHERE week > 4 AND opponent = "baltimore ravens"
### Context: CREATE TABLE table_name_67 (time___et__ VARCHAR, week VARCHAR, opponent VARCHAR) ### Question: What is the time of the game after week 4 against the Baltimore Ravens? ### Answer: SELECT time___et__ FROM table_name_67 WHERE week > 4 AND opponent = "baltimore ravens"
What nominated work has seattle international film festival as the award?
CREATE TABLE table_name_24 (nominated_work VARCHAR, award VARCHAR)
SELECT nominated_work FROM table_name_24 WHERE award = "seattle international film festival"
### Context: CREATE TABLE table_name_24 (nominated_work VARCHAR, award VARCHAR) ### Question: What nominated work has seattle international film festival as the award? ### Answer: SELECT nominated_work FROM table_name_24 WHERE award = "seattle international film festival"
What award has breakthrough performance as the category?
CREATE TABLE table_name_52 (award VARCHAR, category VARCHAR)
SELECT award FROM table_name_52 WHERE category = "breakthrough performance"
### Context: CREATE TABLE table_name_52 (award VARCHAR, category VARCHAR) ### Question: What award has breakthrough performance as the category? ### Answer: SELECT award FROM table_name_52 WHERE category = "breakthrough performance"
What category has showest award for the category awards?
CREATE TABLE table_name_9 (category VARCHAR, award VARCHAR)
SELECT category FROM table_name_9 WHERE award = "showest award"
### Context: CREATE TABLE table_name_9 (category VARCHAR, award VARCHAR) ### Question: What category has showest award for the category awards? ### Answer: SELECT category FROM table_name_9 WHERE award = "showest award"
What category has a year after 2004?
CREATE TABLE table_name_33 (category VARCHAR, year INTEGER)
SELECT category FROM table_name_33 WHERE year > 2004
### Context: CREATE TABLE table_name_33 (category VARCHAR, year INTEGER) ### Question: What category has a year after 2004? ### Answer: SELECT category FROM table_name_33 WHERE year > 2004
Which Opponent had a Score of 6-3, 6-2?
CREATE TABLE table_name_67 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_67 WHERE score = "6-3, 6-2"
### Context: CREATE TABLE table_name_67 (opponent VARCHAR, score VARCHAR) ### Question: Which Opponent had a Score of 6-3, 6-2? ### Answer: SELECT opponent FROM table_name_67 WHERE score = "6-3, 6-2"
Which Score had an Opponent of chris evert-lloyd?
CREATE TABLE table_name_53 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_53 WHERE opponent = "chris evert-lloyd"
### Context: CREATE TABLE table_name_53 (score VARCHAR, opponent VARCHAR) ### Question: Which Score had an Opponent of chris evert-lloyd? ### Answer: SELECT score FROM table_name_53 WHERE opponent = "chris evert-lloyd"
Which Surface had an Opponent of chris evert-lloyd?
CREATE TABLE table_name_45 (surface VARCHAR, opponent VARCHAR)
SELECT surface FROM table_name_45 WHERE opponent = "chris evert-lloyd"
### Context: CREATE TABLE table_name_45 (surface VARCHAR, opponent VARCHAR) ### Question: Which Surface had an Opponent of chris evert-lloyd? ### Answer: SELECT surface FROM table_name_45 WHERE opponent = "chris evert-lloyd"
Which Surface had a Date of june 13, 1983?
CREATE TABLE table_name_14 (surface VARCHAR, date VARCHAR)
SELECT surface FROM table_name_14 WHERE date = "june 13, 1983"
### Context: CREATE TABLE table_name_14 (surface VARCHAR, date VARCHAR) ### Question: Which Surface had a Date of june 13, 1983? ### Answer: SELECT surface FROM table_name_14 WHERE date = "june 13, 1983"
What was the highest attendance for a game where Geelong was the home team?
CREATE TABLE table_name_25 (crowd INTEGER, home_team VARCHAR)
SELECT MAX(crowd) FROM table_name_25 WHERE home_team = "geelong"
### Context: CREATE TABLE table_name_25 (crowd INTEGER, home_team VARCHAR) ### Question: What was the highest attendance for a game where Geelong was the home team? ### Answer: SELECT MAX(crowd) FROM table_name_25 WHERE home_team = "geelong"
What was the away team score when the home team was the Brisbane Lions?
CREATE TABLE table_name_83 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_83 WHERE home_team = "brisbane lions"
### Context: CREATE TABLE table_name_83 (away_team VARCHAR, home_team VARCHAR) ### Question: What was the away team score when the home team was the Brisbane Lions? ### Answer: SELECT away_team AS score FROM table_name_83 WHERE home_team = "brisbane lions"
What was the largest attendance at the Telstra Dome, when the home team was the Western Bulldogs?
CREATE TABLE table_name_30 (crowd INTEGER, ground VARCHAR, home_team VARCHAR)
SELECT MAX(crowd) FROM table_name_30 WHERE ground = "telstra dome" AND home_team = "western bulldogs"
### Context: CREATE TABLE table_name_30 (crowd INTEGER, ground VARCHAR, home_team VARCHAR) ### Question: What was the largest attendance at the Telstra Dome, when the home team was the Western Bulldogs? ### Answer: SELECT MAX(crowd) FROM table_name_30 WHERE ground = "telstra dome" AND home_team = "western bulldogs"
What is the full amount of Total Cargo (in Metric Tonnes) where the Code (IATA/ICAO) is pvg/zspd, and the rank is less than 3?
CREATE TABLE table_name_13 (total_cargo__metric_tonnes_ INTEGER, code__iata_icao_ VARCHAR, rank VARCHAR)
SELECT SUM(total_cargo__metric_tonnes_) FROM table_name_13 WHERE code__iata_icao_ = "pvg/zspd" AND rank < 3
### Context: CREATE TABLE table_name_13 (total_cargo__metric_tonnes_ INTEGER, code__iata_icao_ VARCHAR, rank VARCHAR) ### Question: What is the full amount of Total Cargo (in Metric Tonnes) where the Code (IATA/ICAO) is pvg/zspd, and the rank is less than 3? ### Answer: SELECT SUM(total_cargo__metric_tonnes_) FROM table_name_13 WHERE code__iata_icao_ = "pvg/zspd" AND rank < 3
What is the Date at memorial stadium β€’ minneapolis, mn with an Attendance of 20,000, and a Result of w52-0?
CREATE TABLE table_name_7 (date VARCHAR, result VARCHAR, site VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_7 WHERE site = "memorial stadium β€’ minneapolis, mn" AND attendance = "20,000" AND result = "w52-0"
### Context: CREATE TABLE table_name_7 (date VARCHAR, result VARCHAR, site VARCHAR, attendance VARCHAR) ### Question: What is the Date at memorial stadium β€’ minneapolis, mn with an Attendance of 20,000, and a Result of w52-0? ### Answer: SELECT date FROM table_name_7 WHERE site = "memorial stadium β€’ minneapolis, mn" AND attendance = "20,000" AND result = "w52-0"
What is the Opponent name at memorial stadium β€’ minneapolis, mn on 10/20/1928?
CREATE TABLE table_name_25 (opponent_number VARCHAR, site VARCHAR, date VARCHAR)
SELECT opponent_number FROM table_name_25 WHERE site = "memorial stadium β€’ minneapolis, mn" AND date = "10/20/1928"
### Context: CREATE TABLE table_name_25 (opponent_number VARCHAR, site VARCHAR, date VARCHAR) ### Question: What is the Opponent name at memorial stadium β€’ minneapolis, mn on 10/20/1928? ### Answer: SELECT opponent_number FROM table_name_25 WHERE site = "memorial stadium β€’ minneapolis, mn" AND date = "10/20/1928"
What is the Attendance number when the Opponent was purdue?
CREATE TABLE table_name_15 (attendance VARCHAR, opponent_number VARCHAR)
SELECT attendance FROM table_name_15 WHERE opponent_number = "purdue"
### Context: CREATE TABLE table_name_15 (attendance VARCHAR, opponent_number VARCHAR) ### Question: What is the Attendance number when the Opponent was purdue? ### Answer: SELECT attendance FROM table_name_15 WHERE opponent_number = "purdue"
What is the Site when the Result was w52-0?
CREATE TABLE table_name_92 (site VARCHAR, result VARCHAR)
SELECT site FROM table_name_92 WHERE result = "w52-0"
### Context: CREATE TABLE table_name_92 (site VARCHAR, result VARCHAR) ### Question: What is the Site when the Result was w52-0? ### Answer: SELECT site FROM table_name_92 WHERE result = "w52-0"
What is the Attendance on 11/10/1928?
CREATE TABLE table_name_42 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_42 WHERE date = "11/10/1928"
### Context: CREATE TABLE table_name_42 (attendance VARCHAR, date VARCHAR) ### Question: What is the Attendance on 11/10/1928? ### Answer: SELECT attendance FROM table_name_42 WHERE date = "11/10/1928"
Who was the Winner at Campbelltown Sports Stadium?
CREATE TABLE table_name_74 (winner VARCHAR, venue VARCHAR)
SELECT winner FROM table_name_74 WHERE venue = "campbelltown sports stadium"
### Context: CREATE TABLE table_name_74 (winner VARCHAR, venue VARCHAR) ### Question: Who was the Winner at Campbelltown Sports Stadium? ### Answer: SELECT winner FROM table_name_74 WHERE venue = "campbelltown sports stadium"
When Sydney Roosters won with a Crown of more than 7,426, what was the Venue?
CREATE TABLE table_name_74 (venue VARCHAR, winner VARCHAR, crowd VARCHAR)
SELECT venue FROM table_name_74 WHERE winner = "sydney roosters" AND crowd > 7 OFFSET 426
### Context: CREATE TABLE table_name_74 (venue VARCHAR, winner VARCHAR, crowd VARCHAR) ### Question: When Sydney Roosters won with a Crown of more than 7,426, what was the Venue? ### Answer: SELECT venue FROM table_name_74 WHERE winner = "sydney roosters" AND crowd > 7 OFFSET 426
What was the second leg score from the group stage on matchday 5?
CREATE TABLE table_name_35 (second_leg VARCHAR, phase VARCHAR, round VARCHAR)
SELECT second_leg FROM table_name_35 WHERE phase = "group stage" AND round = "matchday 5"
### Context: CREATE TABLE table_name_35 (second_leg VARCHAR, phase VARCHAR, round VARCHAR) ### Question: What was the second leg score from the group stage on matchday 5? ### Answer: SELECT second_leg FROM table_name_35 WHERE phase = "group stage" AND round = "matchday 5"
what year did enrique alciati make a statue
CREATE TABLE table_name_51 (year_erected VARCHAR, artist VARCHAR)
SELECT year_erected FROM table_name_51 WHERE artist = "enrique alciati"
### Context: CREATE TABLE table_name_51 (year_erected VARCHAR, artist VARCHAR) ### Question: what year did enrique alciati make a statue ### Answer: SELECT year_erected FROM table_name_51 WHERE artist = "enrique alciati"
what artist cam from uruguay
CREATE TABLE table_name_81 (artist VARCHAR, country VARCHAR)
SELECT artist FROM table_name_81 WHERE country = "uruguay"
### Context: CREATE TABLE table_name_81 (artist VARCHAR, country VARCHAR) ### Question: what artist cam from uruguay ### Answer: SELECT artist FROM table_name_81 WHERE country = "uruguay"
When did mika heinonen susanna dahlberg win mixed doubles?
CREATE TABLE table_name_55 (year INTEGER, mixed_doubles VARCHAR)
SELECT AVG(year) FROM table_name_55 WHERE mixed_doubles = "mika heinonen susanna dahlberg"
### Context: CREATE TABLE table_name_55 (year INTEGER, mixed_doubles VARCHAR) ### Question: When did mika heinonen susanna dahlberg win mixed doubles? ### Answer: SELECT AVG(year) FROM table_name_55 WHERE mixed_doubles = "mika heinonen susanna dahlberg"
Score of 0–3 (11–21, 14–21) had what outcome?
CREATE TABLE table_name_32 (outcome VARCHAR, score VARCHAR)
SELECT outcome FROM table_name_32 WHERE score = "0–3 (11–21, 14–21)"
### Context: CREATE TABLE table_name_32 (outcome VARCHAR, score VARCHAR) ### Question: Score of 0–3 (11–21, 14–21) had what outcome? ### Answer: SELECT outcome FROM table_name_32 WHERE score = "0–3 (11–21, 14–21)"
Venue of thessaloniki (without participation) had what score?
CREATE TABLE table_name_99 (score VARCHAR, venue VARCHAR)
SELECT score FROM table_name_99 WHERE venue = "thessaloniki (without participation)"
### Context: CREATE TABLE table_name_99 (score VARCHAR, venue VARCHAR) ### Question: Venue of thessaloniki (without participation) had what score? ### Answer: SELECT score FROM table_name_99 WHERE venue = "thessaloniki (without participation)"
Outcome of 13, and a Year of 2007 happened in what venue?
CREATE TABLE table_name_51 (venue VARCHAR, outcome VARCHAR, year VARCHAR)
SELECT venue FROM table_name_51 WHERE outcome = "13" AND year = "2007"
### Context: CREATE TABLE table_name_51 (venue VARCHAR, outcome VARCHAR, year VARCHAR) ### Question: Outcome of 13, and a Year of 2007 happened in what venue? ### Answer: SELECT venue FROM table_name_51 WHERE outcome = "13" AND year = "2007"
Which Eruptions have a Location of pacific ring of fire, and a Volcanic Explosivity Index of 6, and a Country of peru?
CREATE TABLE table_name_51 (eruptions VARCHAR, country VARCHAR, location VARCHAR, volcanic_explosivity_index VARCHAR)
SELECT eruptions FROM table_name_51 WHERE location = "pacific ring of fire" AND volcanic_explosivity_index = "6" AND country = "peru"
### Context: CREATE TABLE table_name_51 (eruptions VARCHAR, country VARCHAR, location VARCHAR, volcanic_explosivity_index VARCHAR) ### Question: Which Eruptions have a Location of pacific ring of fire, and a Volcanic Explosivity Index of 6, and a Country of peru? ### Answer: SELECT eruptions FROM table_name_51 WHERE location = "pacific ring of fire" AND volcanic_explosivity_index = "6" AND country = "peru"
How many fatalities does Italy have?
CREATE TABLE table_name_50 (fatalities VARCHAR, country VARCHAR)
SELECT fatalities FROM table_name_50 WHERE country = "italy"
### Context: CREATE TABLE table_name_50 (fatalities VARCHAR, country VARCHAR) ### Question: How many fatalities does Italy have? ### Answer: SELECT fatalities FROM table_name_50 WHERE country = "italy"
How many years have a Location of pacific ring of fire, and Eruptions of pinatubo?
CREATE TABLE table_name_22 (year INTEGER, location VARCHAR, eruptions VARCHAR)
SELECT SUM(year) FROM table_name_22 WHERE location = "pacific ring of fire" AND eruptions = "pinatubo"
### Context: CREATE TABLE table_name_22 (year INTEGER, location VARCHAR, eruptions VARCHAR) ### Question: How many years have a Location of pacific ring of fire, and Eruptions of pinatubo? ### Answer: SELECT SUM(year) FROM table_name_22 WHERE location = "pacific ring of fire" AND eruptions = "pinatubo"
What is the Standings of Eintracht Braunschweig?
CREATE TABLE table_name_28 (standings VARCHAR, champions VARCHAR)
SELECT standings FROM table_name_28 WHERE champions = "eintracht braunschweig"
### Context: CREATE TABLE table_name_28 (standings VARCHAR, champions VARCHAR) ### Question: What is the Standings of Eintracht Braunschweig? ### Answer: SELECT standings FROM table_name_28 WHERE champions = "eintracht braunschweig"
Year larger than 2001 has what average points?
CREATE TABLE table_name_92 (points INTEGER, year INTEGER)
SELECT AVG(points) FROM table_name_92 WHERE year > 2001
### Context: CREATE TABLE table_name_92 (points INTEGER, year INTEGER) ### Question: Year larger than 2001 has what average points? ### Answer: SELECT AVG(points) FROM table_name_92 WHERE year > 2001
Team of Honda and a point total of 238 is what highest year?
CREATE TABLE table_name_69 (year INTEGER, team VARCHAR, points VARCHAR)
SELECT MAX(year) FROM table_name_69 WHERE team = "honda" AND points = 238
### Context: CREATE TABLE table_name_69 (year INTEGER, team VARCHAR, points VARCHAR) ### Question: Team of Honda and a point total of 238 is what highest year? ### Answer: SELECT MAX(year) FROM table_name_69 WHERE team = "honda" AND points = 238
Wins of 0 involves what team?
CREATE TABLE table_name_96 (team VARCHAR, wins VARCHAR)
SELECT team FROM table_name_96 WHERE wins = 0
### Context: CREATE TABLE table_name_96 (team VARCHAR, wins VARCHAR) ### Question: Wins of 0 involves what team? ### Answer: SELECT team FROM table_name_96 WHERE wins = 0
what player has a pick of 5
CREATE TABLE table_name_75 (player VARCHAR, pick VARCHAR)
SELECT player FROM table_name_75 WHERE pick = 5
### Context: CREATE TABLE table_name_75 (player VARCHAR, pick VARCHAR) ### Question: what player has a pick of 5 ### Answer: SELECT player FROM table_name_75 WHERE pick = 5
Which District has a First elected of 1858, and a Result of retired republican gain, and an Incumbent of william millward?
CREATE TABLE table_name_2 (district VARCHAR, incumbent VARCHAR, first_elected VARCHAR, result VARCHAR)
SELECT district FROM table_name_2 WHERE first_elected = 1858 AND result = "retired republican gain" AND incumbent = "william millward"
### Context: CREATE TABLE table_name_2 (district VARCHAR, incumbent VARCHAR, first_elected VARCHAR, result VARCHAR) ### Question: Which District has a First elected of 1858, and a Result of retired republican gain, and an Incumbent of william millward? ### Answer: SELECT district FROM table_name_2 WHERE first_elected = 1858 AND result = "retired republican gain" AND incumbent = "william millward"
Which Result has a District of pennsylvania 13?
CREATE TABLE table_name_5 (result VARCHAR, district VARCHAR)
SELECT result FROM table_name_5 WHERE district = "pennsylvania 13"
### Context: CREATE TABLE table_name_5 (result VARCHAR, district VARCHAR) ### Question: Which Result has a District of pennsylvania 13? ### Answer: SELECT result FROM table_name_5 WHERE district = "pennsylvania 13"
Which First elected is the lowest one that has an Incumbent of william stewart?
CREATE TABLE table_name_9 (first_elected INTEGER, incumbent VARCHAR)
SELECT MIN(first_elected) FROM table_name_9 WHERE incumbent = "william stewart"
### Context: CREATE TABLE table_name_9 (first_elected INTEGER, incumbent VARCHAR) ### Question: Which First elected is the lowest one that has an Incumbent of william stewart? ### Answer: SELECT MIN(first_elected) FROM table_name_9 WHERE incumbent = "william stewart"
Who was the Player when College/Junior/Club Team (League) was regina pats (whl)?
CREATE TABLE table_name_24 (player VARCHAR, college_junior_club_team__league_ VARCHAR)
SELECT player FROM table_name_24 WHERE college_junior_club_team__league_ = "regina pats (whl)"
### Context: CREATE TABLE table_name_24 (player VARCHAR, college_junior_club_team__league_ VARCHAR) ### Question: Who was the Player when College/Junior/Club Team (League) was regina pats (whl)? ### Answer: SELECT player FROM table_name_24 WHERE college_junior_club_team__league_ = "regina pats (whl)"
What is the date of the game with an attendance larger than 62,491?
CREATE TABLE table_name_55 (date VARCHAR, attendance INTEGER)
SELECT date FROM table_name_55 WHERE attendance > 62 OFFSET 491
### Context: CREATE TABLE table_name_55 (date VARCHAR, attendance INTEGER) ### Question: What is the date of the game with an attendance larger than 62,491? ### Answer: SELECT date FROM table_name_55 WHERE attendance > 62 OFFSET 491
What is the attendance of the game on week 4?
CREATE TABLE table_name_10 (attendance VARCHAR, week VARCHAR)
SELECT attendance FROM table_name_10 WHERE week = 4
### Context: CREATE TABLE table_name_10 (attendance VARCHAR, week VARCHAR) ### Question: What is the attendance of the game on week 4? ### Answer: SELECT attendance FROM table_name_10 WHERE week = 4
How many extra points are there that Herrnstein had with less than 2 touchdowns and less than 0 field goals?
CREATE TABLE table_name_35 (extra_points INTEGER, field_goals VARCHAR, touchdowns VARCHAR, player VARCHAR)
SELECT AVG(extra_points) FROM table_name_35 WHERE touchdowns < 2 AND player = "herrnstein" AND field_goals < 0
### Context: CREATE TABLE table_name_35 (extra_points INTEGER, field_goals VARCHAR, touchdowns VARCHAR, player VARCHAR) ### Question: How many extra points are there that Herrnstein had with less than 2 touchdowns and less than 0 field goals? ### Answer: SELECT AVG(extra_points) FROM table_name_35 WHERE touchdowns < 2 AND player = "herrnstein" AND field_goals < 0
How many touchdowns are there that has field goals less than 0 and 0 extra points?
CREATE TABLE table_name_53 (touchdowns INTEGER, extra_points VARCHAR, field_goals VARCHAR)
SELECT SUM(touchdowns) FROM table_name_53 WHERE extra_points = 0 AND field_goals < 0
### Context: CREATE TABLE table_name_53 (touchdowns INTEGER, extra_points VARCHAR, field_goals VARCHAR) ### Question: How many touchdowns are there that has field goals less than 0 and 0 extra points? ### Answer: SELECT SUM(touchdowns) FROM table_name_53 WHERE extra_points = 0 AND field_goals < 0
How many field goals are there that have 8 touchdowns and more than 49 points?
CREATE TABLE table_name_91 (field_goals INTEGER, touchdowns VARCHAR, points VARCHAR)
SELECT SUM(field_goals) FROM table_name_91 WHERE touchdowns = 8 AND points > 49
### Context: CREATE TABLE table_name_91 (field_goals INTEGER, touchdowns VARCHAR, points VARCHAR) ### Question: How many field goals are there that have 8 touchdowns and more than 49 points? ### Answer: SELECT SUM(field_goals) FROM table_name_91 WHERE touchdowns = 8 AND points > 49
What's the number of touchdowns that Snow made that had 0 field goals, more than 5 points, and more than 0 extra points?
CREATE TABLE table_name_66 (touchdowns INTEGER, extra_points VARCHAR, player VARCHAR, points VARCHAR, field_goals VARCHAR)
SELECT MIN(touchdowns) FROM table_name_66 WHERE points > 5 AND field_goals = 0 AND player = "snow" AND extra_points > 0
### Context: CREATE TABLE table_name_66 (touchdowns INTEGER, extra_points VARCHAR, player VARCHAR, points VARCHAR, field_goals VARCHAR) ### Question: What's the number of touchdowns that Snow made that had 0 field goals, more than 5 points, and more than 0 extra points? ### Answer: SELECT MIN(touchdowns) FROM table_name_66 WHERE points > 5 AND field_goals = 0 AND player = "snow" AND extra_points > 0
For an IATA of MLE, what is the ICAO?
CREATE TABLE table_name_21 (icao VARCHAR, iata VARCHAR)
SELECT icao FROM table_name_21 WHERE iata = "mle"
### Context: CREATE TABLE table_name_21 (icao VARCHAR, iata VARCHAR) ### Question: For an IATA of MLE, what is the ICAO? ### Answer: SELECT icao FROM table_name_21 WHERE iata = "mle"
For an ICAO of VCCT, what is the IATA?
CREATE TABLE table_name_66 (iata VARCHAR, icao VARCHAR)
SELECT iata FROM table_name_66 WHERE icao = "vcct"
### Context: CREATE TABLE table_name_66 (iata VARCHAR, icao VARCHAR) ### Question: For an ICAO of VCCT, what is the IATA? ### Answer: SELECT iata FROM table_name_66 WHERE icao = "vcct"
Which city has an ICAO of VCCJ?
CREATE TABLE table_name_96 (city VARCHAR, icao VARCHAR)
SELECT city FROM table_name_96 WHERE icao = "vccj"
### Context: CREATE TABLE table_name_96 (city VARCHAR, icao VARCHAR) ### Question: Which city has an ICAO of VCCJ? ### Answer: SELECT city FROM table_name_96 WHERE icao = "vccj"
Which ICAO is found in Vavuniya?
CREATE TABLE table_name_97 (icao VARCHAR, city VARCHAR)
SELECT icao FROM table_name_97 WHERE city = "vavuniya"
### Context: CREATE TABLE table_name_97 (icao VARCHAR, city VARCHAR) ### Question: Which ICAO is found in Vavuniya? ### Answer: SELECT icao FROM table_name_97 WHERE city = "vavuniya"
Which country has Weerawila Airport?
CREATE TABLE table_name_76 (country VARCHAR, airport VARCHAR)
SELECT country FROM table_name_76 WHERE airport = "weerawila airport"
### Context: CREATE TABLE table_name_76 (country VARCHAR, airport VARCHAR) ### Question: Which country has Weerawila Airport? ### Answer: SELECT country FROM table_name_76 WHERE airport = "weerawila airport"
Which opponent has april 1 as the date?
CREATE TABLE table_name_39 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_39 WHERE date = "april 1"
### Context: CREATE TABLE table_name_39 (opponent VARCHAR, date VARCHAR) ### Question: Which opponent has april 1 as the date? ### Answer: SELECT opponent FROM table_name_39 WHERE date = "april 1"
What opponent has tomko (1-1) as a loss?
CREATE TABLE table_name_24 (opponent VARCHAR, loss VARCHAR)
SELECT opponent FROM table_name_24 WHERE loss = "tomko (1-1)"
### Context: CREATE TABLE table_name_24 (opponent VARCHAR, loss VARCHAR) ### Question: What opponent has tomko (1-1) as a loss? ### Answer: SELECT opponent FROM table_name_24 WHERE loss = "tomko (1-1)"
What opponent has 8-10 as the record?
CREATE TABLE table_name_76 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_76 WHERE record = "8-10"
### Context: CREATE TABLE table_name_76 (opponent VARCHAR, record VARCHAR) ### Question: What opponent has 8-10 as the record? ### Answer: SELECT opponent FROM table_name_76 WHERE record = "8-10"
Whcih was the Class AAA in school year 2006-07?
CREATE TABLE table_name_85 (class_aAA VARCHAR, school_year VARCHAR)
SELECT class_aAA FROM table_name_85 WHERE school_year = "2006-07"
### Context: CREATE TABLE table_name_85 (class_aAA VARCHAR, school_year VARCHAR) ### Question: Whcih was the Class AAA in school year 2006-07? ### Answer: SELECT class_aAA FROM table_name_85 WHERE school_year = "2006-07"
What team was class AA in years 1994-95?
CREATE TABLE table_name_52 (class_aA VARCHAR, school_year VARCHAR)
SELECT class_aA FROM table_name_52 WHERE school_year = "1994-95"
### Context: CREATE TABLE table_name_52 (class_aA VARCHAR, school_year VARCHAR) ### Question: What team was class AA in years 1994-95? ### Answer: SELECT class_aA FROM table_name_52 WHERE school_year = "1994-95"
Who was Class AA in School Year 1994-95?
CREATE TABLE table_name_26 (class_aA VARCHAR, school_year VARCHAR)
SELECT class_aA FROM table_name_26 WHERE school_year = "1994-95"
### Context: CREATE TABLE table_name_26 (class_aA VARCHAR, school_year VARCHAR) ### Question: Who was Class AA in School Year 1994-95? ### Answer: SELECT class_aA FROM table_name_26 WHERE school_year = "1994-95"
What's the date of the game that has the Bulls as a visiting team?
CREATE TABLE table_name_48 (date VARCHAR, visitor VARCHAR)
SELECT date FROM table_name_48 WHERE visitor = "bulls"
### Context: CREATE TABLE table_name_48 (date VARCHAR, visitor VARCHAR) ### Question: What's the date of the game that has the Bulls as a visiting team? ### Answer: SELECT date FROM table_name_48 WHERE visitor = "bulls"
What is the average game number that took place after February 13 against the Toronto Maple Leafs and more than 47 points were scored?
CREATE TABLE table_name_3 (game INTEGER, points VARCHAR, february VARCHAR, opponent VARCHAR)
SELECT AVG(game) FROM table_name_3 WHERE february > 13 AND opponent = "toronto maple leafs" AND points > 47
### Context: CREATE TABLE table_name_3 (game INTEGER, points VARCHAR, february VARCHAR, opponent VARCHAR) ### Question: What is the average game number that took place after February 13 against the Toronto Maple Leafs and more than 47 points were scored? ### Answer: SELECT AVG(game) FROM table_name_3 WHERE february > 13 AND opponent = "toronto maple leafs" AND points > 47
Who was the opponent at the game at Sullivan Stadium before week 11?
CREATE TABLE table_name_30 (opponent VARCHAR, week VARCHAR, game_site VARCHAR)
SELECT opponent FROM table_name_30 WHERE week < 11 AND game_site = "sullivan stadium"
### Context: CREATE TABLE table_name_30 (opponent VARCHAR, week VARCHAR, game_site VARCHAR) ### Question: Who was the opponent at the game at Sullivan Stadium before week 11? ### Answer: SELECT opponent FROM table_name_30 WHERE week < 11 AND game_site = "sullivan stadium"
What is the years coached by the person with a win percentage of 0.667 and 380 losses?
CREATE TABLE table_name_25 (years VARCHAR, pct VARCHAR, lost VARCHAR)
SELECT years FROM table_name_25 WHERE pct = 0.667 AND lost = 380
### Context: CREATE TABLE table_name_25 (years VARCHAR, pct VARCHAR, lost VARCHAR) ### Question: What is the years coached by the person with a win percentage of 0.667 and 380 losses? ### Answer: SELECT years FROM table_name_25 WHERE pct = 0.667 AND lost = 380
What is the average percent for the coach from 1905 and more than 7 losses?
CREATE TABLE table_name_97 (pct INTEGER, years VARCHAR, lost VARCHAR)
SELECT AVG(pct) FROM table_name_97 WHERE years = "1905" AND lost > 7
### Context: CREATE TABLE table_name_97 (pct INTEGER, years VARCHAR, lost VARCHAR) ### Question: What is the average percent for the coach from 1905 and more than 7 losses? ### Answer: SELECT AVG(pct) FROM table_name_97 WHERE years = "1905" AND lost > 7
How many percentages have 20 losses and more than 1 season?
CREATE TABLE table_name_17 (pct VARCHAR, lost VARCHAR, seasons VARCHAR)
SELECT COUNT(pct) FROM table_name_17 WHERE lost = 20 AND seasons > 1
### Context: CREATE TABLE table_name_17 (pct VARCHAR, lost VARCHAR, seasons VARCHAR) ### Question: How many percentages have 20 losses and more than 1 season? ### Answer: SELECT COUNT(pct) FROM table_name_17 WHERE lost = 20 AND seasons > 1
What home has February 10 as the date?
CREATE TABLE table_name_67 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_67 WHERE date = "february 10"
### Context: CREATE TABLE table_name_67 (home VARCHAR, date VARCHAR) ### Question: What home has February 10 as the date? ### Answer: SELECT home FROM table_name_67 WHERE date = "february 10"
What date has ny islanders as the visitor?
CREATE TABLE table_name_66 (date VARCHAR, visitor VARCHAR)
SELECT date FROM table_name_66 WHERE visitor = "ny islanders"
### Context: CREATE TABLE table_name_66 (date VARCHAR, visitor VARCHAR) ### Question: What date has ny islanders as the visitor? ### Answer: SELECT date FROM table_name_66 WHERE visitor = "ny islanders"
What score has February 10 as the date?
CREATE TABLE table_name_57 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_57 WHERE date = "february 10"
### Context: CREATE TABLE table_name_57 (score VARCHAR, date VARCHAR) ### Question: What score has February 10 as the date? ### Answer: SELECT score FROM table_name_57 WHERE date = "february 10"
Name the course for 24 july
CREATE TABLE table_name_29 (course VARCHAR, date VARCHAR)
SELECT course FROM table_name_29 WHERE date = "24 july"
### Context: CREATE TABLE table_name_29 (course VARCHAR, date VARCHAR) ### Question: Name the course for 24 july ### Answer: SELECT course FROM table_name_29 WHERE date = "24 july"
Name the course for team time trial
CREATE TABLE table_name_58 (course VARCHAR, type VARCHAR)
SELECT course FROM table_name_58 WHERE type = "team time trial"
### Context: CREATE TABLE table_name_58 (course VARCHAR, type VARCHAR) ### Question: Name the course for team time trial ### Answer: SELECT course FROM table_name_58 WHERE type = "team time trial"
Name the winner for rest day for 13 july
CREATE TABLE table_name_98 (winner VARCHAR, course VARCHAR, date VARCHAR)
SELECT winner FROM table_name_98 WHERE course = "rest day" AND date = "13 july"
### Context: CREATE TABLE table_name_98 (winner VARCHAR, course VARCHAR, date VARCHAR) ### Question: Name the winner for rest day for 13 july ### Answer: SELECT winner FROM table_name_98 WHERE course = "rest day" AND date = "13 july"
Shawn Michaels entered the elimination chamber in what position?
CREATE TABLE table_name_86 (entered INTEGER, wrestler VARCHAR)
SELECT SUM(entered) FROM table_name_86 WHERE wrestler = "shawn michaels"
### Context: CREATE TABLE table_name_86 (entered INTEGER, wrestler VARCHAR) ### Question: Shawn Michaels entered the elimination chamber in what position? ### Answer: SELECT SUM(entered) FROM table_name_86 WHERE wrestler = "shawn michaels"
Who Eliminated Kurt Angle?
CREATE TABLE table_name_49 (eliminated_by VARCHAR, wrestler VARCHAR)
SELECT eliminated_by FROM table_name_49 WHERE wrestler = "kurt angle"
### Context: CREATE TABLE table_name_49 (eliminated_by VARCHAR, wrestler VARCHAR) ### Question: Who Eliminated Kurt Angle? ### Answer: SELECT eliminated_by FROM table_name_49 WHERE wrestler = "kurt angle"
Who Eliminated Kane?
CREATE TABLE table_name_63 (eliminated_by VARCHAR, wrestler VARCHAR)
SELECT eliminated_by FROM table_name_63 WHERE wrestler = "kane"
### Context: CREATE TABLE table_name_63 (eliminated_by VARCHAR, wrestler VARCHAR) ### Question: Who Eliminated Kane? ### Answer: SELECT eliminated_by FROM table_name_63 WHERE wrestler = "kane"
What is the sum of all gold medals for Algeria when total medals is less than 3?
CREATE TABLE table_name_98 (gold INTEGER, nation VARCHAR, total VARCHAR)
SELECT SUM(gold) FROM table_name_98 WHERE nation = "algeria" AND total < 3
### Context: CREATE TABLE table_name_98 (gold INTEGER, nation VARCHAR, total VARCHAR) ### Question: What is the sum of all gold medals for Algeria when total medals is less than 3? ### Answer: SELECT SUM(gold) FROM table_name_98 WHERE nation = "algeria" AND total < 3
what is the population of Valencia, Spain?
CREATE TABLE table_name_56 (population INTEGER, country VARCHAR, urban_area VARCHAR)
SELECT AVG(population) FROM table_name_56 WHERE country = "spain" AND urban_area = "valencia"
### Context: CREATE TABLE table_name_56 (population INTEGER, country VARCHAR, urban_area VARCHAR) ### Question: what is the population of Valencia, Spain? ### Answer: SELECT AVG(population) FROM table_name_56 WHERE country = "spain" AND urban_area = "valencia"
which year holds rank 2?
CREATE TABLE table_name_89 (year INTEGER, rank VARCHAR)
SELECT MAX(year) FROM table_name_89 WHERE rank = "2"
### Context: CREATE TABLE table_name_89 (year INTEGER, rank VARCHAR) ### Question: which year holds rank 2? ### Answer: SELECT MAX(year) FROM table_name_89 WHERE rank = "2"
with name meridian condominiums what is number of floors?
CREATE TABLE table_name_19 (floors INTEGER, name VARCHAR)
SELECT AVG(floors) FROM table_name_19 WHERE name = "meridian condominiums"
### Context: CREATE TABLE table_name_19 (floors INTEGER, name VARCHAR) ### Question: with name meridian condominiums what is number of floors? ### Answer: SELECT AVG(floors) FROM table_name_19 WHERE name = "meridian condominiums"
with rank of 31 what is the year?
CREATE TABLE table_name_48 (year VARCHAR, rank VARCHAR)
SELECT COUNT(year) FROM table_name_48 WHERE rank = "31"
### Context: CREATE TABLE table_name_48 (year VARCHAR, rank VARCHAR) ### Question: with rank of 31 what is the year? ### Answer: SELECT COUNT(year) FROM table_name_48 WHERE rank = "31"
What was the date of the match against the visiting team, Toronto?
CREATE TABLE table_name_78 (date VARCHAR, visitor VARCHAR)
SELECT date FROM table_name_78 WHERE visitor = "toronto"
### Context: CREATE TABLE table_name_78 (date VARCHAR, visitor VARCHAR) ### Question: What was the date of the match against the visiting team, Toronto? ### Answer: SELECT date FROM table_name_78 WHERE visitor = "toronto"
Who played the home team during the game on January 6?
CREATE TABLE table_name_56 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_56 WHERE date = "january 6"
### Context: CREATE TABLE table_name_56 (home VARCHAR, date VARCHAR) ### Question: Who played the home team during the game on January 6? ### Answer: SELECT home FROM table_name_56 WHERE date = "january 6"
What was the cougars record during the game where Boston were the visitors?
CREATE TABLE table_name_88 (record VARCHAR, visitor VARCHAR)
SELECT record FROM table_name_88 WHERE visitor = "boston"
### Context: CREATE TABLE table_name_88 (record VARCHAR, visitor VARCHAR) ### Question: What was the cougars record during the game where Boston were the visitors? ### Answer: SELECT record FROM table_name_88 WHERE visitor = "boston"
What's the lowest Drawn that has a Lost that's less than 0?
CREATE TABLE table_name_1 (drawn INTEGER, lost INTEGER)
SELECT MIN(drawn) FROM table_name_1 WHERE lost < 0
### Context: CREATE TABLE table_name_1 (drawn INTEGER, lost INTEGER) ### Question: What's the lowest Drawn that has a Lost that's less than 0? ### Answer: SELECT MIN(drawn) FROM table_name_1 WHERE lost < 0
What's the total Lost with Games that's less than 4?
CREATE TABLE table_name_23 (lost INTEGER, games INTEGER)
SELECT SUM(lost) FROM table_name_23 WHERE games < 4
### Context: CREATE TABLE table_name_23 (lost INTEGER, games INTEGER) ### Question: What's the total Lost with Games that's less than 4? ### Answer: SELECT SUM(lost) FROM table_name_23 WHERE games < 4
What's the total of Games with a Lost that's larger than 2, and has Points that's smaller than 0?
CREATE TABLE table_name_75 (games INTEGER, lost VARCHAR, points VARCHAR)
SELECT SUM(games) FROM table_name_75 WHERE lost > 2 AND points < 0
### Context: CREATE TABLE table_name_75 (games INTEGER, lost VARCHAR, points VARCHAR) ### Question: What's the total of Games with a Lost that's larger than 2, and has Points that's smaller than 0? ### Answer: SELECT SUM(games) FROM table_name_75 WHERE lost > 2 AND points < 0
What's the Lost average that has a Drawn less than 0?
CREATE TABLE table_name_19 (lost INTEGER, drawn INTEGER)
SELECT AVG(lost) FROM table_name_19 WHERE drawn < 0
### Context: CREATE TABLE table_name_19 (lost INTEGER, drawn INTEGER) ### Question: What's the Lost average that has a Drawn less than 0? ### Answer: SELECT AVG(lost) FROM table_name_19 WHERE drawn < 0
What record has @ ottawa senators as the opponent?
CREATE TABLE table_name_93 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_93 WHERE opponent = "@ ottawa senators"
### Context: CREATE TABLE table_name_93 (record VARCHAR, opponent VARCHAR) ### Question: What record has @ ottawa senators as the opponent? ### Answer: SELECT record FROM table_name_93 WHERE opponent = "@ ottawa senators"
What game has 28 points, and tampa bay lightning as the opponent?
CREATE TABLE table_name_50 (game VARCHAR, points VARCHAR, opponent VARCHAR)
SELECT game FROM table_name_50 WHERE points = 28 AND opponent = "tampa bay lightning"
### Context: CREATE TABLE table_name_50 (game VARCHAR, points VARCHAR, opponent VARCHAR) ### Question: What game has 28 points, and tampa bay lightning as the opponent? ### Answer: SELECT game FROM table_name_50 WHERE points = 28 AND opponent = "tampa bay lightning"
What is the average points that have a December less than 6, with a game greater than 26?
CREATE TABLE table_name_17 (points INTEGER, december VARCHAR, game VARCHAR)
SELECT AVG(points) FROM table_name_17 WHERE december < 6 AND game > 26
### Context: CREATE TABLE table_name_17 (points INTEGER, december VARCHAR, game VARCHAR) ### Question: What is the average points that have a December less than 6, with a game greater than 26? ### Answer: SELECT AVG(points) FROM table_name_17 WHERE december < 6 AND game > 26
Who was the opponent at the game with a loss of Sele (0-1)?
CREATE TABLE table_name_36 (opponent VARCHAR, loss VARCHAR)
SELECT opponent FROM table_name_36 WHERE loss = "sele (0-1)"
### Context: CREATE TABLE table_name_36 (opponent VARCHAR, loss VARCHAR) ### Question: Who was the opponent at the game with a loss of Sele (0-1)? ### Answer: SELECT opponent FROM table_name_36 WHERE loss = "sele (0-1)"
Record of 42–16–8, and a March larger than 5 has what average points?
CREATE TABLE table_name_95 (points INTEGER, record VARCHAR, march VARCHAR)
SELECT AVG(points) FROM table_name_95 WHERE record = "42–16–8" AND march > 5
### Context: CREATE TABLE table_name_95 (points INTEGER, record VARCHAR, march VARCHAR) ### Question: Record of 42–16–8, and a March larger than 5 has what average points? ### Answer: SELECT AVG(points) FROM table_name_95 WHERE record = "42–16–8" AND march > 5
Points smaller than 96, and a Record of 43–16–8 belongs to what game?
CREATE TABLE table_name_30 (game VARCHAR, points VARCHAR, record VARCHAR)
SELECT game FROM table_name_30 WHERE points < 96 AND record = "43–16–8"
### Context: CREATE TABLE table_name_30 (game VARCHAR, points VARCHAR, record VARCHAR) ### Question: Points smaller than 96, and a Record of 43–16–8 belongs to what game? ### Answer: SELECT game FROM table_name_30 WHERE points < 96 AND record = "43–16–8"
Game smaller than 70, and a Record of 43–16–8 is what opponent?
CREATE TABLE table_name_39 (opponent VARCHAR, game VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_39 WHERE game < 70 AND record = "43–16–8"
### Context: CREATE TABLE table_name_39 (opponent VARCHAR, game VARCHAR, record VARCHAR) ### Question: Game smaller than 70, and a Record of 43–16–8 is what opponent? ### Answer: SELECT opponent FROM table_name_39 WHERE game < 70 AND record = "43–16–8"
Record of 44–18–8 involves which score?
CREATE TABLE table_name_95 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_95 WHERE record = "44–18–8"
### Context: CREATE TABLE table_name_95 (score VARCHAR, record VARCHAR) ### Question: Record of 44–18–8 involves which score? ### Answer: SELECT score FROM table_name_95 WHERE record = "44–18–8"
Which college is Kellen Davis from?
CREATE TABLE table_name_44 (college VARCHAR, player VARCHAR)
SELECT college FROM table_name_44 WHERE player = "kellen davis"
### Context: CREATE TABLE table_name_44 (college VARCHAR, player VARCHAR) ### Question: Which college is Kellen Davis from? ### Answer: SELECT college FROM table_name_44 WHERE player = "kellen davis"
Which round's position is according to official website?
CREATE TABLE table_name_30 (round VARCHAR, position VARCHAR)
SELECT round FROM table_name_30 WHERE position = "according to official website"
### Context: CREATE TABLE table_name_30 (round VARCHAR, position VARCHAR) ### Question: Which round's position is according to official website? ### Answer: SELECT round FROM table_name_30 WHERE position = "according to official website"
Which position's round was 3 when pick was 70?
CREATE TABLE table_name_29 (position VARCHAR, round VARCHAR, pick VARCHAR)
SELECT position FROM table_name_29 WHERE round = "3" AND pick = "70"
### Context: CREATE TABLE table_name_29 (position VARCHAR, round VARCHAR, pick VARCHAR) ### Question: Which position's round was 3 when pick was 70? ### Answer: SELECT position FROM table_name_29 WHERE round = "3" AND pick = "70"
Which pick's round was 5 when Kellen Davis was a player?
CREATE TABLE table_name_40 (pick VARCHAR, round VARCHAR, player VARCHAR)
SELECT pick FROM table_name_40 WHERE round = "5" AND player = "kellen davis"
### Context: CREATE TABLE table_name_40 (pick VARCHAR, round VARCHAR, player VARCHAR) ### Question: Which pick's round was 5 when Kellen Davis was a player? ### Answer: SELECT pick FROM table_name_40 WHERE round = "5" AND player = "kellen davis"
Which college's pick was 14?
CREATE TABLE table_name_86 (college VARCHAR, pick VARCHAR)
SELECT college FROM table_name_86 WHERE pick = "14"
### Context: CREATE TABLE table_name_86 (college VARCHAR, pick VARCHAR) ### Question: Which college's pick was 14? ### Answer: SELECT college FROM table_name_86 WHERE pick = "14"