question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
text
stringlengths
114
1.06k
Tell me the 2012 when 2005 is 314
CREATE TABLE table_name_82 (Id VARCHAR)
SELECT 2012 FROM table_name_82 WHERE 2005 = "314"
### Context: CREATE TABLE table_name_82 (Id VARCHAR) ### Question: Tell me the 2012 when 2005 is 314 ### Answer: SELECT 2012 FROM table_name_82 WHERE 2005 = "314"
What position does the player with 13 caps play?
CREATE TABLE table_name_85 (position VARCHAR, caps VARCHAR)
SELECT position FROM table_name_85 WHERE caps = 13
### Context: CREATE TABLE table_name_85 (position VARCHAR, caps VARCHAR) ### Question: What position does the player with 13 caps play? ### Answer: SELECT position FROM table_name_85 WHERE caps = 13
How many caps for mike macdonald?
CREATE TABLE table_name_30 (caps INTEGER, player VARCHAR)
SELECT SUM(caps) FROM table_name_30 WHERE player = "mike macdonald"
### Context: CREATE TABLE table_name_30 (caps INTEGER, player VARCHAR) ### Question: How many caps for mike macdonald? ### Answer: SELECT SUM(caps) FROM table_name_30 WHERE player = "mike macdonald"
Tell me the position for round less than 3
CREATE TABLE table_name_1 (position VARCHAR, round INTEGER)
SELECT position FROM table_name_1 WHERE round < 3
### Context: CREATE TABLE table_name_1 (position VARCHAR, round INTEGER) ### Question: Tell me the position for round less than 3 ### Answer: SELECT position FROM table_name_1 WHERE round < 3
Name the nationality for d
CREATE TABLE table_name_19 (nationality VARCHAR, position VARCHAR)
SELECT nationality FROM table_name_19 WHERE position = "d"
### Context: CREATE TABLE table_name_19 (nationality VARCHAR, position VARCHAR) ### Question: Name the nationality for d ### Answer: SELECT nationality FROM table_name_19 WHERE position = "d"
What sort of Fuel/Trans does the Grey & Red locomotive have?
CREATE TABLE table_name_15 (fuel__trans VARCHAR, colour VARCHAR)
SELECT fuel__trans FROM table_name_15 WHERE colour = "grey & red"
### Context: CREATE TABLE table_name_15 (fuel__trans VARCHAR, colour VARCHAR) ### Question: What sort of Fuel/Trans does the Grey & Red locomotive have? ### Answer: SELECT fuel__trans FROM table_name_15 WHERE colour = "grey & red"
What is the status of the Cub/John locomotive?
CREATE TABLE table_name_34 (status VARCHAR, name VARCHAR)
SELECT status FROM table_name_34 WHERE name = "the cub/john"
### Context: CREATE TABLE table_name_34 (status VARCHAR, name VARCHAR) ### Question: What is the status of the Cub/John locomotive? ### Answer: SELECT status FROM table_name_34 WHERE name = "the cub/john"
What is the manufacturer, found under the Built column, that made locomotives with a Fuel/Trans of diesel-electric?
CREATE TABLE table_name_22 (built VARCHAR, fuel__trans VARCHAR)
SELECT built FROM table_name_22 WHERE fuel__trans = "diesel-electric"
### Context: CREATE TABLE table_name_22 (built VARCHAR, fuel__trans VARCHAR) ### Question: What is the manufacturer, found under the Built column, that made locomotives with a Fuel/Trans of diesel-electric? ### Answer: SELECT built FROM table_name_22 WHERE fuel__trans = "diesel-electric"
What is found in the Built column of the locomotive with 0-4-0 wheels that is still in service?
CREATE TABLE table_name_8 (built VARCHAR, wheels VARCHAR, status VARCHAR)
SELECT built FROM table_name_8 WHERE wheels = "0-4-0" AND status = "in service"
### Context: CREATE TABLE table_name_8 (built VARCHAR, wheels VARCHAR, status VARCHAR) ### Question: What is found in the Built column of the locomotive with 0-4-0 wheels that is still in service? ### Answer: SELECT built FROM table_name_8 WHERE wheels = "0-4-0" AND status = "in service"
What is the color of the locomotive built by Minirail 1954?
CREATE TABLE table_name_42 (colour VARCHAR, built VARCHAR)
SELECT colour FROM table_name_42 WHERE built = "minirail 1954"
### Context: CREATE TABLE table_name_42 (colour VARCHAR, built VARCHAR) ### Question: What is the color of the locomotive built by Minirail 1954? ### Answer: SELECT colour FROM table_name_42 WHERE built = "minirail 1954"
What's the total number of rounds with a win result at the sf 5: stadium event?
CREATE TABLE table_name_65 (round VARCHAR, res VARCHAR, event VARCHAR)
SELECT COUNT(round) FROM table_name_65 WHERE res = "win" AND event = "sf 5: stadium"
### Context: CREATE TABLE table_name_65 (round VARCHAR, res VARCHAR, event VARCHAR) ### Question: What's the total number of rounds with a win result at the sf 5: stadium event? ### Answer: SELECT COUNT(round) FROM table_name_65 WHERE res = "win" AND event = "sf 5: stadium"
What location was fábio maldonado the opponent at?
CREATE TABLE table_name_26 (location VARCHAR, opponent VARCHAR)
SELECT location FROM table_name_26 WHERE opponent = "fábio maldonado"
### Context: CREATE TABLE table_name_26 (location VARCHAR, opponent VARCHAR) ### Question: What location was fábio maldonado the opponent at? ### Answer: SELECT location FROM table_name_26 WHERE opponent = "fábio maldonado"
How many skaters have a Rank in FS of 3, and a Rank in SP larger than 4?
CREATE TABLE table_name_37 (final_rank VARCHAR, rank_in_fs VARCHAR, rank_in_sp VARCHAR)
SELECT COUNT(final_rank) FROM table_name_37 WHERE rank_in_fs = 3 AND rank_in_sp > 4
### Context: CREATE TABLE table_name_37 (final_rank VARCHAR, rank_in_fs VARCHAR, rank_in_sp VARCHAR) ### Question: How many skaters have a Rank in FS of 3, and a Rank in SP larger than 4? ### Answer: SELECT COUNT(final_rank) FROM table_name_37 WHERE rank_in_fs = 3 AND rank_in_sp > 4
What is the average SP rank for skaters with a Rank in FS larger than 2, and a Final Rank larger than 5?
CREATE TABLE table_name_92 (rank_in_sp INTEGER, rank_in_fs VARCHAR, final_rank VARCHAR)
SELECT AVG(rank_in_sp) FROM table_name_92 WHERE rank_in_fs > 2 AND final_rank > 5
### Context: CREATE TABLE table_name_92 (rank_in_sp INTEGER, rank_in_fs VARCHAR, final_rank VARCHAR) ### Question: What is the average SP rank for skaters with a Rank in FS larger than 2, and a Final Rank larger than 5? ### Answer: SELECT AVG(rank_in_sp) FROM table_name_92 WHERE rank_in_fs > 2 AND final_rank > 5
What tournament is listed as A in 1972 and 2R in 1975?
CREATE TABLE table_name_69 (tournament VARCHAR)
SELECT tournament FROM table_name_69 WHERE 1972 = "a" AND 1975 = "2r"
### Context: CREATE TABLE table_name_69 (tournament VARCHAR) ### Question: What tournament is listed as A in 1972 and 2R in 1975? ### Answer: SELECT tournament FROM table_name_69 WHERE 1972 = "a" AND 1975 = "2r"
What is theW-L of the tournament listed as A for 1976?
CREATE TABLE table_name_82 (career_w_l VARCHAR)
SELECT career_w_l FROM table_name_82 WHERE 1976 = "a"
### Context: CREATE TABLE table_name_82 (career_w_l VARCHAR) ### Question: What is theW-L of the tournament listed as A for 1976? ### Answer: SELECT career_w_l FROM table_name_82 WHERE 1976 = "a"
What is the listing for the US Open in 1977?
CREATE TABLE table_name_12 (tournament VARCHAR)
SELECT 1977 FROM table_name_12 WHERE tournament = "us open"
### Context: CREATE TABLE table_name_12 (tournament VARCHAR) ### Question: What is the listing for the US Open in 1977? ### Answer: SELECT 1977 FROM table_name_12 WHERE tournament = "us open"
What is the career W-L of the tournament that is listed as A in 1968 and 4R in 1974?
CREATE TABLE table_name_23 (career_w_l VARCHAR)
SELECT career_w_l FROM table_name_23 WHERE 1968 = "a" AND 1974 = "4r"
### Context: CREATE TABLE table_name_23 (career_w_l VARCHAR) ### Question: What is the career W-L of the tournament that is listed as A in 1968 and 4R in 1974? ### Answer: SELECT career_w_l FROM table_name_23 WHERE 1968 = "a" AND 1974 = "4r"
What is the combined consumption of 1.6 16v?
CREATE TABLE table_name_60 (combined_consumption VARCHAR, name VARCHAR)
SELECT combined_consumption FROM table_name_60 WHERE name = "1.6 16v"
### Context: CREATE TABLE table_name_60 (combined_consumption VARCHAR, name VARCHAR) ### Question: What is the combined consumption of 1.6 16v? ### Answer: SELECT combined_consumption FROM table_name_60 WHERE name = "1.6 16v"
What is the power of the engine with a combined consumption of (gas/ethanol) and the k7m hi-torque code?
CREATE TABLE table_name_76 (power VARCHAR, combined_consumption VARCHAR, code VARCHAR)
SELECT power FROM table_name_76 WHERE combined_consumption = "(gas/ethanol)" AND code = "k7m hi-torque"
### Context: CREATE TABLE table_name_76 (power VARCHAR, combined_consumption VARCHAR, code VARCHAR) ### Question: What is the power of the engine with a combined consumption of (gas/ethanol) and the k7m hi-torque code? ### Answer: SELECT power FROM table_name_76 WHERE combined_consumption = "(gas/ethanol)" AND code = "k7m hi-torque"
What is the combined consumption of the engine with the code k9k 796?
CREATE TABLE table_name_85 (combined_consumption VARCHAR, code VARCHAR)
SELECT combined_consumption FROM table_name_85 WHERE code = "k9k 796"
### Context: CREATE TABLE table_name_85 (combined_consumption VARCHAR, code VARCHAR) ### Question: What is the combined consumption of the engine with the code k9k 796? ### Answer: SELECT combined_consumption FROM table_name_85 WHERE code = "k9k 796"
What is the torque of the engine with a type 16 valves dohc and a code k4m hi-flex?
CREATE TABLE table_name_99 (torque VARCHAR, type VARCHAR, code VARCHAR)
SELECT torque FROM table_name_99 WHERE type = "16 valves dohc" AND code = "k4m hi-flex"
### Context: CREATE TABLE table_name_99 (torque VARCHAR, type VARCHAR, code VARCHAR) ### Question: What is the torque of the engine with a type 16 valves dohc and a code k4m hi-flex? ### Answer: SELECT torque FROM table_name_99 WHERE type = "16 valves dohc" AND code = "k4m hi-flex"
Who had the highest assists on the November 13 game?
CREATE TABLE table_name_56 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_name_56 WHERE date = "november 13"
### Context: CREATE TABLE table_name_56 (high_assists VARCHAR, date VARCHAR) ### Question: Who had the highest assists on the November 13 game? ### Answer: SELECT high_assists FROM table_name_56 WHERE date = "november 13"
What is the most recent date for a singles final with the score of 1–6, 4–6, 5–7?
CREATE TABLE table_name_77 (date INTEGER, score_in_the_final VARCHAR)
SELECT MAX(date) FROM table_name_77 WHERE score_in_the_final = "1–6, 4–6, 5–7"
### Context: CREATE TABLE table_name_77 (date INTEGER, score_in_the_final VARCHAR) ### Question: What is the most recent date for a singles final with the score of 1–6, 4–6, 5–7? ### Answer: SELECT MAX(date) FROM table_name_77 WHERE score_in_the_final = "1–6, 4–6, 5–7"
What was the championship that had final score of 6–2, 5–7, 6–4, 6–2 and was on a clay surface?
CREATE TABLE table_name_41 (championship VARCHAR, surface VARCHAR, score_in_the_final VARCHAR)
SELECT championship FROM table_name_41 WHERE surface = "clay" AND score_in_the_final = "6–2, 5–7, 6–4, 6–2"
### Context: CREATE TABLE table_name_41 (championship VARCHAR, surface VARCHAR, score_in_the_final VARCHAR) ### Question: What was the championship that had final score of 6–2, 5–7, 6–4, 6–2 and was on a clay surface? ### Answer: SELECT championship FROM table_name_41 WHERE surface = "clay" AND score_in_the_final = "6–2, 5–7, 6–4, 6–2"
What was the score in the final, that Víctor Pecci was the opponent and winner after 1984?
CREATE TABLE table_name_92 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, date VARCHAR, outcome VARCHAR)
SELECT score_in_the_final FROM table_name_92 WHERE date > 1984 AND outcome = "winner" AND opponent_in_the_final = "víctor pecci"
### Context: CREATE TABLE table_name_92 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, date VARCHAR, outcome VARCHAR) ### Question: What was the score in the final, that Víctor Pecci was the opponent and winner after 1984? ### Answer: SELECT score_in_the_final FROM table_name_92 WHERE date > 1984 AND outcome = "winner" AND opponent_in_the_final = "víctor pecci"
Which championship had a score in the final of 3–6, 6–4, 5–7?
CREATE TABLE table_name_79 (championship VARCHAR, score_in_the_final VARCHAR)
SELECT championship FROM table_name_79 WHERE score_in_the_final = "3–6, 6–4, 5–7"
### Context: CREATE TABLE table_name_79 (championship VARCHAR, score_in_the_final VARCHAR) ### Question: Which championship had a score in the final of 3–6, 6–4, 5–7? ### Answer: SELECT championship FROM table_name_79 WHERE score_in_the_final = "3–6, 6–4, 5–7"
What is the grid total when there are 37 laps?
CREATE TABLE table_name_57 (grid VARCHAR, laps VARCHAR)
SELECT COUNT(grid) FROM table_name_57 WHERE laps = 37
### Context: CREATE TABLE table_name_57 (grid VARCHAR, laps VARCHAR) ### Question: What is the grid total when there are 37 laps? ### Answer: SELECT COUNT(grid) FROM table_name_57 WHERE laps = 37
What constructor has a grid less than 13 with under 9 laps?
CREATE TABLE table_name_19 (constructor VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT constructor FROM table_name_19 WHERE grid < 13 AND laps < 9
### Context: CREATE TABLE table_name_19 (constructor VARCHAR, grid VARCHAR, laps VARCHAR) ### Question: What constructor has a grid less than 13 with under 9 laps? ### Answer: SELECT constructor FROM table_name_19 WHERE grid < 13 AND laps < 9
What year was the Competition of World Junior Championships with a 20th (qf) position?
CREATE TABLE table_name_18 (year INTEGER, competition VARCHAR, position VARCHAR)
SELECT AVG(year) FROM table_name_18 WHERE competition = "world junior championships" AND position = "20th (qf)"
### Context: CREATE TABLE table_name_18 (year INTEGER, competition VARCHAR, position VARCHAR) ### Question: What year was the Competition of World Junior Championships with a 20th (qf) position? ### Answer: SELECT AVG(year) FROM table_name_18 WHERE competition = "world junior championships" AND position = "20th (qf)"
What was the notes of the 400 m event before 2004 with a position of 12th (h)?
CREATE TABLE table_name_69 (notes VARCHAR, position VARCHAR, event VARCHAR, year VARCHAR)
SELECT notes FROM table_name_69 WHERE event = "400 m" AND year < 2004 AND position = "12th (h)"
### Context: CREATE TABLE table_name_69 (notes VARCHAR, position VARCHAR, event VARCHAR, year VARCHAR) ### Question: What was the notes of the 400 m event before 2004 with a position of 12th (h)? ### Answer: SELECT notes FROM table_name_69 WHERE event = "400 m" AND year < 2004 AND position = "12th (h)"
Which venue had a note of 3:34.88 after 2003?
CREATE TABLE table_name_32 (venue VARCHAR, year VARCHAR, notes VARCHAR)
SELECT venue FROM table_name_32 WHERE year > 2003 AND notes = "3:34.88"
### Context: CREATE TABLE table_name_32 (venue VARCHAR, year VARCHAR, notes VARCHAR) ### Question: Which venue had a note of 3:34.88 after 2003? ### Answer: SELECT venue FROM table_name_32 WHERE year > 2003 AND notes = "3:34.88"
What were the notes of the All-Africa Games before 2007?
CREATE TABLE table_name_41 (notes VARCHAR, competition VARCHAR, year VARCHAR)
SELECT notes FROM table_name_41 WHERE competition = "all-africa games" AND year < 2007
### Context: CREATE TABLE table_name_41 (notes VARCHAR, competition VARCHAR, year VARCHAR) ### Question: What were the notes of the All-Africa Games before 2007? ### Answer: SELECT notes FROM table_name_41 WHERE competition = "all-africa games" AND year < 2007
Which event in 2007 had a position of 5th?
CREATE TABLE table_name_87 (event VARCHAR, year VARCHAR, position VARCHAR)
SELECT event FROM table_name_87 WHERE year = 2007 AND position = "5th"
### Context: CREATE TABLE table_name_87 (event VARCHAR, year VARCHAR, position VARCHAR) ### Question: Which event in 2007 had a position of 5th? ### Answer: SELECT event FROM table_name_87 WHERE year = 2007 AND position = "5th"
How many attended the game on 12/17 with stephen jackson as the leading scorer?
CREATE TABLE table_name_45 (attendance INTEGER, leading_scorer VARCHAR, date VARCHAR)
SELECT SUM(attendance) FROM table_name_45 WHERE leading_scorer = "stephen jackson" AND date = "12/17"
### Context: CREATE TABLE table_name_45 (attendance INTEGER, leading_scorer VARCHAR, date VARCHAR) ### Question: How many attended the game on 12/17 with stephen jackson as the leading scorer? ### Answer: SELECT SUM(attendance) FROM table_name_45 WHERE leading_scorer = "stephen jackson" AND date = "12/17"
WHAT WAS THE SCORE IN THE FINAL PLAYED AGAINST JOSE CHECA-CALVO IN THE SANT CUGAT TOURNAMENT ?
CREATE TABLE table_name_80 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR)
SELECT score FROM table_name_80 WHERE tournament = "sant cugat" AND opponent_in_the_final = "jose checa-calvo"
### Context: CREATE TABLE table_name_80 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR) ### Question: WHAT WAS THE SCORE IN THE FINAL PLAYED AGAINST JOSE CHECA-CALVO IN THE SANT CUGAT TOURNAMENT ? ### Answer: SELECT score FROM table_name_80 WHERE tournament = "sant cugat" AND opponent_in_the_final = "jose checa-calvo"
WHAT WAS THE SCORE IN THE FINAL AGAINST RABIE CHAKI?
CREATE TABLE table_name_92 (score VARCHAR, opponent_in_the_final VARCHAR)
SELECT score FROM table_name_92 WHERE opponent_in_the_final = "rabie chaki"
### Context: CREATE TABLE table_name_92 (score VARCHAR, opponent_in_the_final VARCHAR) ### Question: WHAT WAS THE SCORE IN THE FINAL AGAINST RABIE CHAKI? ### Answer: SELECT score FROM table_name_92 WHERE opponent_in_the_final = "rabie chaki"
What was the away team's score when Collingwood was the home team?
CREATE TABLE table_name_17 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_17 WHERE home_team = "collingwood"
### Context: CREATE TABLE table_name_17 (away_team VARCHAR, home_team VARCHAR) ### Question: What was the away team's score when Collingwood was the home team? ### Answer: SELECT away_team AS score FROM table_name_17 WHERE home_team = "collingwood"
Who was the home team for the game played at Victoria Park?
CREATE TABLE table_name_87 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_87 WHERE venue = "victoria park"
### Context: CREATE TABLE table_name_87 (home_team VARCHAR, venue VARCHAR) ### Question: Who was the home team for the game played at Victoria Park? ### Answer: SELECT home_team FROM table_name_87 WHERE venue = "victoria park"
Who was the home team when Fitzroy was the away team?
CREATE TABLE table_name_33 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_33 WHERE away_team = "fitzroy"
### Context: CREATE TABLE table_name_33 (home_team VARCHAR, away_team VARCHAR) ### Question: Who was the home team when Fitzroy was the away team? ### Answer: SELECT home_team FROM table_name_33 WHERE away_team = "fitzroy"
Who was the home team for the game played at Lake Oval?
CREATE TABLE table_name_77 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_77 WHERE venue = "lake oval"
### Context: CREATE TABLE table_name_77 (home_team VARCHAR, venue VARCHAR) ### Question: Who was the home team for the game played at Lake Oval? ### Answer: SELECT home_team FROM table_name_77 WHERE venue = "lake oval"
Who was the opponent in the championship in Johannesburg, South Africa?
CREATE TABLE table_name_63 (opponent_in_the_final VARCHAR, championship VARCHAR)
SELECT opponent_in_the_final FROM table_name_63 WHERE championship = "johannesburg, south africa"
### Context: CREATE TABLE table_name_63 (opponent_in_the_final VARCHAR, championship VARCHAR) ### Question: Who was the opponent in the championship in Johannesburg, South Africa? ### Answer: SELECT opponent_in_the_final FROM table_name_63 WHERE championship = "johannesburg, south africa"
What is the lowest amount of wins a manager with more than 0.526 pct., ranked higher than 37, and 947 losses has?
CREATE TABLE table_name_8 (wins INTEGER, losses VARCHAR, pct VARCHAR, rank VARCHAR)
SELECT MIN(wins) FROM table_name_8 WHERE pct > 0.526 AND rank < 37 AND losses = 947
### Context: CREATE TABLE table_name_8 (wins INTEGER, losses VARCHAR, pct VARCHAR, rank VARCHAR) ### Question: What is the lowest amount of wins a manager with more than 0.526 pct., ranked higher than 37, and 947 losses has? ### Answer: SELECT MIN(wins) FROM table_name_8 WHERE pct > 0.526 AND rank < 37 AND losses = 947
I want the total number of people in the crowd for essendon home team
CREATE TABLE table_name_31 (crowd VARCHAR, home_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_31 WHERE home_team = "essendon"
### Context: CREATE TABLE table_name_31 (crowd VARCHAR, home_team VARCHAR) ### Question: I want the total number of people in the crowd for essendon home team ### Answer: SELECT COUNT(crowd) FROM table_name_31 WHERE home_team = "essendon"
How many grids have 102 laps and a Time/Retired of + 6.18?
CREATE TABLE table_name_64 (grid VARCHAR, laps VARCHAR, time_retired VARCHAR)
SELECT COUNT(grid) FROM table_name_64 WHERE laps > 102 AND time_retired = "+ 6.18"
### Context: CREATE TABLE table_name_64 (grid VARCHAR, laps VARCHAR, time_retired VARCHAR) ### Question: How many grids have 102 laps and a Time/Retired of + 6.18? ### Answer: SELECT COUNT(grid) FROM table_name_64 WHERE laps > 102 AND time_retired = "+ 6.18"
How many laps did innes ireland drive with a grid higher than 11?
CREATE TABLE table_name_29 (laps INTEGER, driver VARCHAR, grid VARCHAR)
SELECT SUM(laps) FROM table_name_29 WHERE driver = "innes ireland" AND grid > 11
### Context: CREATE TABLE table_name_29 (laps INTEGER, driver VARCHAR, grid VARCHAR) ### Question: How many laps did innes ireland drive with a grid higher than 11? ### Answer: SELECT SUM(laps) FROM table_name_29 WHERE driver = "innes ireland" AND grid > 11
What is the average grid that has a Constructor of brm, tony maggs, and a Laps larger than 102?
CREATE TABLE table_name_16 (grid INTEGER, laps VARCHAR, constructor VARCHAR, driver VARCHAR)
SELECT AVG(grid) FROM table_name_16 WHERE constructor = "brm" AND driver = "tony maggs" AND laps > 102
### Context: CREATE TABLE table_name_16 (grid INTEGER, laps VARCHAR, constructor VARCHAR, driver VARCHAR) ### Question: What is the average grid that has a Constructor of brm, tony maggs, and a Laps larger than 102? ### Answer: SELECT AVG(grid) FROM table_name_16 WHERE constructor = "brm" AND driver = "tony maggs" AND laps > 102
I want the score for 23 july 1992
CREATE TABLE table_name_86 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_86 WHERE date = "23 july 1992"
### Context: CREATE TABLE table_name_86 (score VARCHAR, date VARCHAR) ### Question: I want the score for 23 july 1992 ### Answer: SELECT score FROM table_name_86 WHERE date = "23 july 1992"
I want the venue for 23 july 1992
CREATE TABLE table_name_64 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_64 WHERE date = "23 july 1992"
### Context: CREATE TABLE table_name_64 (venue VARCHAR, date VARCHAR) ### Question: I want the venue for 23 july 1992 ### Answer: SELECT venue FROM table_name_64 WHERE date = "23 july 1992"
What is the Time/Retired that has a Grid smaller than 8, 73 laps, and a Constructor of williams - bmw?
CREATE TABLE table_name_1 (time_retired VARCHAR, constructor VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT time_retired FROM table_name_1 WHERE grid < 8 AND laps = 73 AND constructor = "williams - bmw"
### Context: CREATE TABLE table_name_1 (time_retired VARCHAR, constructor VARCHAR, grid VARCHAR, laps VARCHAR) ### Question: What is the Time/Retired that has a Grid smaller than 8, 73 laps, and a Constructor of williams - bmw? ### Answer: SELECT time_retired FROM table_name_1 WHERE grid < 8 AND laps = 73 AND constructor = "williams - bmw"
On what date was Richmond playing as an away team?
CREATE TABLE table_name_32 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_32 WHERE away_team = "richmond"
### Context: CREATE TABLE table_name_32 (date VARCHAR, away_team VARCHAR) ### Question: On what date was Richmond playing as an away team? ### Answer: SELECT date FROM table_name_32 WHERE away_team = "richmond"
What is the crowd size for Victoria park?
CREATE TABLE table_name_99 (crowd VARCHAR, venue VARCHAR)
SELECT crowd FROM table_name_99 WHERE venue = "victoria park"
### Context: CREATE TABLE table_name_99 (crowd VARCHAR, venue VARCHAR) ### Question: What is the crowd size for Victoria park? ### Answer: SELECT crowd FROM table_name_99 WHERE venue = "victoria park"
What is the average crowd size for princes park?
CREATE TABLE table_name_97 (crowd INTEGER, venue VARCHAR)
SELECT AVG(crowd) FROM table_name_97 WHERE venue = "princes park"
### Context: CREATE TABLE table_name_97 (crowd INTEGER, venue VARCHAR) ### Question: What is the average crowd size for princes park? ### Answer: SELECT AVG(crowd) FROM table_name_97 WHERE venue = "princes park"
Name the transfer wind for giuly
CREATE TABLE table_name_15 (transfer_window VARCHAR, name VARCHAR)
SELECT transfer_window FROM table_name_15 WHERE name = "giuly"
### Context: CREATE TABLE table_name_15 (transfer_window VARCHAR, name VARCHAR) ### Question: Name the transfer wind for giuly ### Answer: SELECT transfer_window FROM table_name_15 WHERE name = "giuly"
Name the transfer fee for transfer status for fra
CREATE TABLE table_name_24 (transfer_fee VARCHAR, status VARCHAR, country VARCHAR)
SELECT transfer_fee FROM table_name_24 WHERE status = "transfer" AND country = "fra"
### Context: CREATE TABLE table_name_24 (transfer_fee VARCHAR, status VARCHAR, country VARCHAR) ### Question: Name the transfer fee for transfer status for fra ### Answer: SELECT transfer_fee FROM table_name_24 WHERE status = "transfer" AND country = "fra"
Name the status for belletti
CREATE TABLE table_name_8 (status VARCHAR, name VARCHAR)
SELECT status FROM table_name_8 WHERE name = "belletti"
### Context: CREATE TABLE table_name_8 (status VARCHAR, name VARCHAR) ### Question: Name the status for belletti ### Answer: SELECT status FROM table_name_8 WHERE name = "belletti"
Name the moving to for fra
CREATE TABLE table_name_22 (moving_to VARCHAR, country VARCHAR)
SELECT moving_to FROM table_name_22 WHERE country = "fra"
### Context: CREATE TABLE table_name_22 (moving_to VARCHAR, country VARCHAR) ### Question: Name the moving to for fra ### Answer: SELECT moving_to FROM table_name_22 WHERE country = "fra"
Name the transfer window of realmadrid
CREATE TABLE table_name_12 (transfer_window VARCHAR, moving_to VARCHAR)
SELECT transfer_window FROM table_name_12 WHERE moving_to = "realmadrid"
### Context: CREATE TABLE table_name_12 (transfer_window VARCHAR, moving_to VARCHAR) ### Question: Name the transfer window of realmadrid ### Answer: SELECT transfer_window FROM table_name_12 WHERE moving_to = "realmadrid"
Name the country moving to chelsea
CREATE TABLE table_name_24 (country VARCHAR, moving_to VARCHAR)
SELECT country FROM table_name_24 WHERE moving_to = "chelsea"
### Context: CREATE TABLE table_name_24 (country VARCHAR, moving_to VARCHAR) ### Question: Name the country moving to chelsea ### Answer: SELECT country FROM table_name_24 WHERE moving_to = "chelsea"
Who was the leading scorer of the game on 20 February 2008?
CREATE TABLE table_name_44 (leading_scorer VARCHAR, date VARCHAR)
SELECT leading_scorer FROM table_name_44 WHERE date = "20 february 2008"
### Context: CREATE TABLE table_name_44 (leading_scorer VARCHAR, date VARCHAR) ### Question: Who was the leading scorer of the game on 20 February 2008? ### Answer: SELECT leading_scorer FROM table_name_44 WHERE date = "20 february 2008"
What is the visitor team of the game with Rudy Gay (23) as the leading scorer?
CREATE TABLE table_name_99 (visitor VARCHAR, leading_scorer VARCHAR)
SELECT visitor FROM table_name_99 WHERE leading_scorer = "rudy gay (23)"
### Context: CREATE TABLE table_name_99 (visitor VARCHAR, leading_scorer VARCHAR) ### Question: What is the visitor team of the game with Rudy Gay (23) as the leading scorer? ### Answer: SELECT visitor FROM table_name_99 WHERE leading_scorer = "rudy gay (23)"
What is the home team of the game where the Grizzlies were the visitor team and Rudy Gay (21) was the leading scorer?
CREATE TABLE table_name_83 (home VARCHAR, visitor VARCHAR, leading_scorer VARCHAR)
SELECT home FROM table_name_83 WHERE visitor = "grizzlies" AND leading_scorer = "rudy gay (21)"
### Context: CREATE TABLE table_name_83 (home VARCHAR, visitor VARCHAR, leading_scorer VARCHAR) ### Question: What is the home team of the game where the Grizzlies were the visitor team and Rudy Gay (21) was the leading scorer? ### Answer: SELECT home FROM table_name_83 WHERE visitor = "grizzlies" AND leading_scorer = "rudy gay (21)"
What is the record of the game on 5 February 2008?
CREATE TABLE table_name_87 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_87 WHERE date = "5 february 2008"
### Context: CREATE TABLE table_name_87 (record VARCHAR, date VARCHAR) ### Question: What is the record of the game on 5 February 2008? ### Answer: SELECT record FROM table_name_87 WHERE date = "5 february 2008"
tell me the writer of production code ad1d09.
CREATE TABLE table_name_33 (written_by VARCHAR, production_code VARCHAR)
SELECT written_by FROM table_name_33 WHERE production_code = "ad1d09"
### Context: CREATE TABLE table_name_33 (written_by VARCHAR, production_code VARCHAR) ### Question: tell me the writer of production code ad1d09. ### Answer: SELECT written_by FROM table_name_33 WHERE production_code = "ad1d09"
tell me the director of the production code ad1d02.
CREATE TABLE table_name_32 (directed_by VARCHAR, production_code VARCHAR)
SELECT directed_by FROM table_name_32 WHERE production_code = "ad1d02"
### Context: CREATE TABLE table_name_32 (directed_by VARCHAR, production_code VARCHAR) ### Question: tell me the director of the production code ad1d02. ### Answer: SELECT directed_by FROM table_name_32 WHERE production_code = "ad1d02"
Which team has a Reg GP of 0, a pick number under 136 with a player named Regan Darby?
CREATE TABLE table_name_85 (team__league_ VARCHAR, player VARCHAR, reg_gp VARCHAR, pick__number VARCHAR)
SELECT team__league_ FROM table_name_85 WHERE reg_gp = 0 AND pick__number < 136 AND player = "regan darby"
### Context: CREATE TABLE table_name_85 (team__league_ VARCHAR, player VARCHAR, reg_gp VARCHAR, pick__number VARCHAR) ### Question: Which team has a Reg GP of 0, a pick number under 136 with a player named Regan Darby? ### Answer: SELECT team__league_ FROM table_name_85 WHERE reg_gp = 0 AND pick__number < 136 AND player = "regan darby"
What planet orbits in 3.23 days?
CREATE TABLE table_name_50 (planet VARCHAR, orbital_period VARCHAR)
SELECT planet FROM table_name_50 WHERE orbital_period = "3.23 days"
### Context: CREATE TABLE table_name_50 (planet VARCHAR, orbital_period VARCHAR) ### Question: What planet orbits in 3.23 days? ### Answer: SELECT planet FROM table_name_50 WHERE orbital_period = "3.23 days"
What type of planet has a radial velocity of 45.2 m/s?
CREATE TABLE table_name_56 (planet VARCHAR, radial_velocity__m_s_ INTEGER)
SELECT planet AS Type FROM table_name_56 WHERE radial_velocity__m_s_ > 45.2
### Context: CREATE TABLE table_name_56 (planet VARCHAR, radial_velocity__m_s_ INTEGER) ### Question: What type of planet has a radial velocity of 45.2 m/s? ### Answer: SELECT planet AS Type FROM table_name_56 WHERE radial_velocity__m_s_ > 45.2
What type of planet has a semimajor axis of 0.07 AU?
CREATE TABLE table_name_51 (planet VARCHAR, semimajor_axis___au__ VARCHAR)
SELECT planet AS Type FROM table_name_51 WHERE semimajor_axis___au__ = 0.07
### Context: CREATE TABLE table_name_51 (planet VARCHAR, semimajor_axis___au__ VARCHAR) ### Question: What type of planet has a semimajor axis of 0.07 AU? ### Answer: SELECT planet AS Type FROM table_name_51 WHERE semimajor_axis___au__ = 0.07
What is the city where the Telstra Dome is?
CREATE TABLE table_name_83 (city VARCHAR, stadium VARCHAR)
SELECT city FROM table_name_83 WHERE stadium = "telstra dome"
### Context: CREATE TABLE table_name_83 (city VARCHAR, stadium VARCHAR) ### Question: What is the city where the Telstra Dome is? ### Answer: SELECT city FROM table_name_83 WHERE stadium = "telstra dome"
Name the D 41 which has a D 46 of r 6
CREATE TABLE table_name_97 (d_41 VARCHAR, d_46 VARCHAR)
SELECT d_41 FROM table_name_97 WHERE d_46 = "r 6"
### Context: CREATE TABLE table_name_97 (d_41 VARCHAR, d_46 VARCHAR) ### Question: Name the D 41 which has a D 46 of r 6 ### Answer: SELECT d_41 FROM table_name_97 WHERE d_46 = "r 6"
Name the D 41 which has a D 43 of r 18
CREATE TABLE table_name_45 (d_41 VARCHAR, d_43 VARCHAR)
SELECT d_41 FROM table_name_45 WHERE d_43 = "r 18"
### Context: CREATE TABLE table_name_45 (d_41 VARCHAR, d_43 VARCHAR) ### Question: Name the D 41 which has a D 43 of r 18 ### Answer: SELECT d_41 FROM table_name_45 WHERE d_43 = "r 18"
Name the R 52 which has a D 44 of d 44
CREATE TABLE table_name_54 (r_52 VARCHAR, d_44 VARCHAR)
SELECT r_52 FROM table_name_54 WHERE d_44 = "d 44"
### Context: CREATE TABLE table_name_54 (r_52 VARCHAR, d_44 VARCHAR) ### Question: Name the R 52 which has a D 44 of d 44 ### Answer: SELECT r_52 FROM table_name_54 WHERE d_44 = "d 44"
Name the D 46 which has a D 43 of majority→
CREATE TABLE table_name_34 (d_46 VARCHAR, d_43 VARCHAR)
SELECT d_46 FROM table_name_34 WHERE d_43 = "majority→"
### Context: CREATE TABLE table_name_34 (d_46 VARCHAR, d_43 VARCHAR) ### Question: Name the D 46 which has a D 43 of majority→ ### Answer: SELECT d_46 FROM table_name_34 WHERE d_43 = "majority→"
Name the D 42 which has a D 46 of r 26
CREATE TABLE table_name_6 (d_42 VARCHAR, d_46 VARCHAR)
SELECT d_42 FROM table_name_6 WHERE d_46 = "r 26"
### Context: CREATE TABLE table_name_6 (d_42 VARCHAR, d_46 VARCHAR) ### Question: Name the D 42 which has a D 46 of r 26 ### Answer: SELECT d_42 FROM table_name_6 WHERE d_46 = "r 26"
Name the D 42 which has a D 44 of d 44
CREATE TABLE table_name_29 (d_42 VARCHAR, d_44 VARCHAR)
SELECT d_42 FROM table_name_29 WHERE d_44 = "d 44"
### Context: CREATE TABLE table_name_29 (d_42 VARCHAR, d_44 VARCHAR) ### Question: Name the D 42 which has a D 44 of d 44 ### Answer: SELECT d_42 FROM table_name_29 WHERE d_44 = "d 44"
How many wins did SD Eibar, which played less than 38 games, have?
CREATE TABLE table_name_24 (wins INTEGER, club VARCHAR, played VARCHAR)
SELECT SUM(wins) FROM table_name_24 WHERE club = "sd eibar" AND played < 38
### Context: CREATE TABLE table_name_24 (wins INTEGER, club VARCHAR, played VARCHAR) ### Question: How many wins did SD Eibar, which played less than 38 games, have? ### Answer: SELECT SUM(wins) FROM table_name_24 WHERE club = "sd eibar" AND played < 38
What is the highest number of draws a club with less than 20 wins, less than 41 points, and less than 27 goals have?
CREATE TABLE table_name_56 (draws INTEGER, goals_for VARCHAR, wins VARCHAR, points VARCHAR)
SELECT MAX(draws) FROM table_name_56 WHERE wins < 20 AND points < 41 AND goals_for < 27
### Context: CREATE TABLE table_name_56 (draws INTEGER, goals_for VARCHAR, wins VARCHAR, points VARCHAR) ### Question: What is the highest number of draws a club with less than 20 wins, less than 41 points, and less than 27 goals have? ### Answer: SELECT MAX(draws) FROM table_name_56 WHERE wins < 20 AND points < 41 AND goals_for < 27
What is the lowest goal difference a club with more than 13 wins, less than 8 losses, and less than 11 draws has?
CREATE TABLE table_name_81 (goal_difference INTEGER, draws VARCHAR, wins VARCHAR, losses VARCHAR)
SELECT MIN(goal_difference) FROM table_name_81 WHERE wins > 13 AND losses < 8 AND draws < 11
### Context: CREATE TABLE table_name_81 (goal_difference INTEGER, draws VARCHAR, wins VARCHAR, losses VARCHAR) ### Question: What is the lowest goal difference a club with more than 13 wins, less than 8 losses, and less than 11 draws has? ### Answer: SELECT MIN(goal_difference) FROM table_name_81 WHERE wins > 13 AND losses < 8 AND draws < 11
What is the number of played games a club with more than 71 points and less than 8 losses has?
CREATE TABLE table_name_50 (played INTEGER, points VARCHAR, losses VARCHAR)
SELECT SUM(played) FROM table_name_50 WHERE points > 71 AND losses < 8
### Context: CREATE TABLE table_name_50 (played INTEGER, points VARCHAR, losses VARCHAR) ### Question: What is the number of played games a club with more than 71 points and less than 8 losses has? ### Answer: SELECT SUM(played) FROM table_name_50 WHERE points > 71 AND losses < 8
What is the lowest goal difference a club with 61 goals against and less than 11 draws has?
CREATE TABLE table_name_94 (goal_difference INTEGER, goals_against VARCHAR, draws VARCHAR)
SELECT MIN(goal_difference) FROM table_name_94 WHERE goals_against = 61 AND draws < 11
### Context: CREATE TABLE table_name_94 (goal_difference INTEGER, goals_against VARCHAR, draws VARCHAR) ### Question: What is the lowest goal difference a club with 61 goals against and less than 11 draws has? ### Answer: SELECT MIN(goal_difference) FROM table_name_94 WHERE goals_against = 61 AND draws < 11
Which Crowd has a Venue of princes park?
CREATE TABLE table_name_25 (crowd INTEGER, venue VARCHAR)
SELECT MIN(crowd) FROM table_name_25 WHERE venue = "princes park"
### Context: CREATE TABLE table_name_25 (crowd INTEGER, venue VARCHAR) ### Question: Which Crowd has a Venue of princes park? ### Answer: SELECT MIN(crowd) FROM table_name_25 WHERE venue = "princes park"
Which Away team has a Venue of mcg?
CREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_82 WHERE venue = "mcg"
### Context: CREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR) ### Question: Which Away team has a Venue of mcg? ### Answer: SELECT away_team FROM table_name_82 WHERE venue = "mcg"
Which average Crowd has a Home team of essendon?
CREATE TABLE table_name_59 (crowd INTEGER, home_team VARCHAR)
SELECT AVG(crowd) FROM table_name_59 WHERE home_team = "essendon"
### Context: CREATE TABLE table_name_59 (crowd INTEGER, home_team VARCHAR) ### Question: Which average Crowd has a Home team of essendon? ### Answer: SELECT AVG(crowd) FROM table_name_59 WHERE home_team = "essendon"
When was terry cook picked?
CREATE TABLE table_name_92 (pick INTEGER, player VARCHAR)
SELECT AVG(pick) FROM table_name_92 WHERE player = "terry cook"
### Context: CREATE TABLE table_name_92 (pick INTEGER, player VARCHAR) ### Question: When was terry cook picked? ### Answer: SELECT AVG(pick) FROM table_name_92 WHERE player = "terry cook"
What position is todd hammel?
CREATE TABLE table_name_99 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_99 WHERE player = "todd hammel"
### Context: CREATE TABLE table_name_99 (position VARCHAR, player VARCHAR) ### Question: What position is todd hammel? ### Answer: SELECT position FROM table_name_99 WHERE player = "todd hammel"
What is the score of the away team that played Essendon?
CREATE TABLE table_name_98 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_98 WHERE home_team = "essendon"
### Context: CREATE TABLE table_name_98 (away_team VARCHAR, home_team VARCHAR) ### Question: What is the score of the away team that played Essendon? ### Answer: SELECT away_team AS score FROM table_name_98 WHERE home_team = "essendon"
How many people attended the North Melbourne game?
CREATE TABLE table_name_71 (crowd INTEGER, home_team VARCHAR)
SELECT AVG(crowd) FROM table_name_71 WHERE home_team = "north melbourne"
### Context: CREATE TABLE table_name_71 (crowd INTEGER, home_team VARCHAR) ### Question: How many people attended the North Melbourne game? ### Answer: SELECT AVG(crowd) FROM table_name_71 WHERE home_team = "north melbourne"
Where did Carlton play?
CREATE TABLE table_name_9 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_9 WHERE away_team = "carlton"
### Context: CREATE TABLE table_name_9 (venue VARCHAR, away_team VARCHAR) ### Question: Where did Carlton play? ### Answer: SELECT venue FROM table_name_9 WHERE away_team = "carlton"
Which team played at VFL Park?
CREATE TABLE table_name_95 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_95 WHERE venue = "vfl park"
### Context: CREATE TABLE table_name_95 (home_team VARCHAR, venue VARCHAR) ### Question: Which team played at VFL Park? ### Answer: SELECT home_team FROM table_name_95 WHERE venue = "vfl park"
Which player has a College of arizona?
CREATE TABLE table_name_83 (player VARCHAR, college VARCHAR)
SELECT player FROM table_name_83 WHERE college = "arizona"
### Context: CREATE TABLE table_name_83 (player VARCHAR, college VARCHAR) ### Question: Which player has a College of arizona? ### Answer: SELECT player FROM table_name_83 WHERE college = "arizona"
Which school has a Hometown of phoenix, az?
CREATE TABLE table_name_39 (school VARCHAR, hometown VARCHAR)
SELECT school FROM table_name_39 WHERE hometown = "phoenix, az"
### Context: CREATE TABLE table_name_39 (school VARCHAR, hometown VARCHAR) ### Question: Which school has a Hometown of phoenix, az? ### Answer: SELECT school FROM table_name_39 WHERE hometown = "phoenix, az"
Which NBA draft has a School of huntington high school?
CREATE TABLE table_name_57 (nba_draft VARCHAR, school VARCHAR)
SELECT nba_draft FROM table_name_57 WHERE school = "huntington high school"
### Context: CREATE TABLE table_name_57 (nba_draft VARCHAR, school VARCHAR) ### Question: Which NBA draft has a School of huntington high school? ### Answer: SELECT nba_draft FROM table_name_57 WHERE school = "huntington high school"
Which NBA draft has a School of st. mary's high school?
CREATE TABLE table_name_91 (nba_draft VARCHAR, school VARCHAR)
SELECT nba_draft FROM table_name_91 WHERE school = "st. mary's high school"
### Context: CREATE TABLE table_name_91 (nba_draft VARCHAR, school VARCHAR) ### Question: Which NBA draft has a School of st. mary's high school? ### Answer: SELECT nba_draft FROM table_name_91 WHERE school = "st. mary's high school"
Which school has a Player of donte greene?
CREATE TABLE table_name_6 (school VARCHAR, player VARCHAR)
SELECT school FROM table_name_6 WHERE player = "donte greene"
### Context: CREATE TABLE table_name_6 (school VARCHAR, player VARCHAR) ### Question: Which school has a Player of donte greene? ### Answer: SELECT school FROM table_name_6 WHERE player = "donte greene"
For R. Magjistari scores over 12, what is the highest number of points?
CREATE TABLE table_name_33 (points INTEGER, r_magjistari INTEGER)
SELECT MAX(points) FROM table_name_33 WHERE r_magjistari > 12
### Context: CREATE TABLE table_name_33 (points INTEGER, r_magjistari INTEGER) ### Question: For R. Magjistari scores over 12, what is the highest number of points? ### Answer: SELECT MAX(points) FROM table_name_33 WHERE r_magjistari > 12
For R. Magjistari scores under 6, D. Tukiqi scores of 6, and ranks under 5, what is the average A. Krajka score?
CREATE TABLE table_name_60 (a_krajka INTEGER, rank VARCHAR, r_magjistari VARCHAR, d_tukiqi VARCHAR)
SELECT AVG(a_krajka) FROM table_name_60 WHERE r_magjistari < 6 AND d_tukiqi = 6 AND rank < 5
### Context: CREATE TABLE table_name_60 (a_krajka INTEGER, rank VARCHAR, r_magjistari VARCHAR, d_tukiqi VARCHAR) ### Question: For R. Magjistari scores under 6, D. Tukiqi scores of 6, and ranks under 5, what is the average A. Krajka score? ### Answer: SELECT AVG(a_krajka) FROM table_name_60 WHERE r_magjistari < 6 AND d_tukiqi = 6 AND rank < 5
Where did the Vitória de Setúbal club place in the 2006-2007 season?
CREATE TABLE table_name_13 (club VARCHAR)
SELECT 2006 AS _2007_season FROM table_name_13 WHERE club = "vitória de setúbal"
### Context: CREATE TABLE table_name_13 (club VARCHAR) ### Question: Where did the Vitória de Setúbal club place in the 2006-2007 season? ### Answer: SELECT 2006 AS _2007_season FROM table_name_13 WHERE club = "vitória de setúbal"
Name the sum of Long for yards less than 197 and players of matt nagy
CREATE TABLE table_name_12 (long INTEGER, yards VARCHAR, player VARCHAR)
SELECT SUM(long) FROM table_name_12 WHERE yards < 197 AND player = "matt nagy"
### Context: CREATE TABLE table_name_12 (long INTEGER, yards VARCHAR, player VARCHAR) ### Question: Name the sum of Long for yards less than 197 and players of matt nagy ### Answer: SELECT SUM(long) FROM table_name_12 WHERE yards < 197 AND player = "matt nagy"
Who was the visitor team in tampa bay?
CREATE TABLE table_name_26 (visitor VARCHAR, home VARCHAR)
SELECT visitor FROM table_name_26 WHERE home = "tampa bay"
### Context: CREATE TABLE table_name_26 (visitor VARCHAR, home VARCHAR) ### Question: Who was the visitor team in tampa bay? ### Answer: SELECT visitor FROM table_name_26 WHERE home = "tampa bay"