answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT grid FROM table_name_84 WHERE team = "racing professionals"
CREATE TABLE table_name_84 (grid VARCHAR, team VARCHAR)
What grid did the team racing professionals race on?
SELECT car_no FROM table_name_43 WHERE time_retired = "+0.3844"
CREATE TABLE table_name_43 (car_no VARCHAR, time_retired VARCHAR)
What car number had a race time of +0.3844?
SELECT points FROM table_name_20 WHERE time_retired = "collision" AND car_no = "10"
CREATE TABLE table_name_20 (points VARCHAR, time_retired VARCHAR, car_no VARCHAR)
How many points were scored by car number 10 that ended with a collision?
SELECT driver FROM table_name_19 WHERE fin_pos = "14"
CREATE TABLE table_name_19 (driver VARCHAR, fin_pos VARCHAR)
Who was the driver who had a final position of 14?
SELECT money___$__ FROM table_name_99 WHERE player = "justin leonard"
CREATE TABLE table_name_99 (money___$__ VARCHAR, player VARCHAR)
what is the money ($) for player justin leonard?
SELECT place FROM table_name_34 WHERE score = 76 - 69 - 71 - 70 = 286
CREATE TABLE table_name_34 (place VARCHAR, score VARCHAR)
what is the place when the score is 76-69-71-70=286?
SELECT place FROM table_name_13 WHERE player = "costantino rocca"
CREATE TABLE table_name_13 (place VARCHAR, player VARCHAR)
what is the place for costantino rocca?
SELECT MAX(money___) AS $__ FROM table_name_22 WHERE player = "bernhard langer"
CREATE TABLE table_name_22 (money___ INTEGER, player VARCHAR)
what is the highest money ($) for bernhard langer?
SELECT score FROM table_name_97 WHERE report = "fifa" AND date = "october 13, 2007"
CREATE TABLE table_name_97 (score VARCHAR, report VARCHAR, date VARCHAR)
What is the score of the FIFA report on October 13, 2007?
SELECT venue FROM table_name_31 WHERE report = "eaff" AND date = "june 24, 2007"
CREATE TABLE table_name_31 (venue VARCHAR, report VARCHAR, date VARCHAR)
What venue has a EAFF report on June 24, 2007?
SELECT venue FROM table_name_60 WHERE date = "october 13, 2007"
CREATE TABLE table_name_60 (venue VARCHAR, date VARCHAR)
What is the venue on October 13, 2007?
SELECT site FROM table_name_59 WHERE result = "w13-7"
CREATE TABLE table_name_59 (site VARCHAR, result VARCHAR)
At what Site was the Result W13-7?
SELECT attendance FROM table_name_88 WHERE date = "11/09/1946"
CREATE TABLE table_name_88 (attendance VARCHAR, date VARCHAR)
What was the Attendance on 11/09/1946?
SELECT site FROM table_name_20 WHERE attendance = "45,000"
CREATE TABLE table_name_20 (site VARCHAR, attendance VARCHAR)
What Site had an Attendance of 45,000?
SELECT result FROM table_name_84 WHERE date = "11/02/1946"
CREATE TABLE table_name_84 (result VARCHAR, date VARCHAR)
What was the Result on 11/02/1946?
SELECT mark FROM table_name_51 WHERE points > 813 AND country = "united states" AND react > 0.152
CREATE TABLE table_name_51 (mark VARCHAR, react VARCHAR, points VARCHAR, country VARCHAR)
What mark has over 813 points in the United States, and a 0.152 react?
SELECT MIN(total) FROM table_name_79 WHERE year_s__won = "1968 , 1971" AND to_par < 11
CREATE TABLE table_name_79 (total INTEGER, year_s__won VARCHAR, to_par VARCHAR)
What is the lowest Total, when Year(s) Won is "1968 , 1971", and when To Par is less than 11?
SELECT MIN(to_par) FROM table_name_76 WHERE player = "johnny miller"
CREATE TABLE table_name_76 (to_par INTEGER, player VARCHAR)
What is the lowest To Par, when Player is "Johnny Miller"?
SELECT player FROM table_name_83 WHERE total > 148 AND to_par = 12
CREATE TABLE table_name_83 (player VARCHAR, total VARCHAR, to_par VARCHAR)
What is Player, when Total is greater than 148, and when To Par is "12"?
SELECT SUM(to_par) FROM table_name_35 WHERE year_s__won = "1978 , 1985"
CREATE TABLE table_name_35 (to_par INTEGER, year_s__won VARCHAR)
What is the sum of To Par, when Year(s) Won is "1978 , 1985"?
SELECT to_par FROM table_name_99 WHERE year_s__won = "1968 , 1971"
CREATE TABLE table_name_99 (to_par VARCHAR, year_s__won VARCHAR)
What is To Par, when Year(s) Won is "1968 , 1971"?
SELECT points_difference FROM table_name_20 WHERE points_against = "786"
CREATE TABLE table_name_20 (points_difference VARCHAR, points_against VARCHAR)
Which Points difference has Points against of 786?
SELECT played FROM table_name_50 WHERE points_difference = "+261"
CREATE TABLE table_name_50 (played VARCHAR, points_difference VARCHAR)
Which Played has a Points difference of +261?
SELECT points_against FROM table_name_9 WHERE lost = "13" AND points_for = "671"
CREATE TABLE table_name_9 (points_against VARCHAR, lost VARCHAR, points_for VARCHAR)
Which Points against has a Lost of 13, and Points for of 671?
SELECT points_difference FROM table_name_23 WHERE played = "32" AND points_for = "840"
CREATE TABLE table_name_23 (points_difference VARCHAR, played VARCHAR, points_for VARCHAR)
Which Points difference has Played of 32, and Points for of 840?
SELECT drawn FROM table_name_2 WHERE points_for = "782"
CREATE TABLE table_name_2 (drawn VARCHAR, points_for VARCHAR)
Which Drawn has Points for of 782?
SELECT lost FROM table_name_33 WHERE "club" = "club"
CREATE TABLE table_name_33 (lost VARCHAR)
Which Lost has a Club of club?
SELECT record FROM table_name_57 WHERE date = "january 29"
CREATE TABLE table_name_57 (record VARCHAR, date VARCHAR)
Can you tell me the Record that has the Date of january 29?
SELECT record FROM table_name_67 WHERE visitor = "vancouver"
CREATE TABLE table_name_67 (record VARCHAR, visitor VARCHAR)
Can you tell me the Record that has the Visitor of vancouver?
SELECT date FROM table_name_94 WHERE opponent_in_final = "john mcenroe"
CREATE TABLE table_name_94 (date VARCHAR, opponent_in_final VARCHAR)
What date has the opponent competing in the final of john mcenroe?
SELECT location FROM table_name_96 WHERE opponent = "ny rangers" AND time = "7:00 pm"
CREATE TABLE table_name_96 (location VARCHAR, opponent VARCHAR, time VARCHAR)
Where did the Lightning play the NY Rangers at 7:00 pm?
SELECT opponent FROM table_name_97 WHERE location = "mellon arena"
CREATE TABLE table_name_97 (opponent VARCHAR, location VARCHAR)
Who did the Lightning play at the Mellon Arena?
SELECT result FROM table_name_16 WHERE time = "7:00 pm"
CREATE TABLE table_name_16 (result VARCHAR, time VARCHAR)
What was the final score for the game played at 7:00 pm?
SELECT location FROM table_name_64 WHERE result = "4-1 w"
CREATE TABLE table_name_64 (location VARCHAR, result VARCHAR)
Where was the game which ended in a 4-1 w?
SELECT date FROM table_name_65 WHERE time = "7:00 pm"
CREATE TABLE table_name_65 (date VARCHAR, time VARCHAR)
When was a game played at 7:00 pm?
SELECT top_speed FROM table_name_69 WHERE model_name = "d14/4 supreme d14/4 sports & bushman"
CREATE TABLE table_name_69 (top_speed VARCHAR, model_name VARCHAR)
Which Top Speed has a Model Name of d14/4 supreme d14/4 sports & bushman?
SELECT electrics FROM table_name_28 WHERE engine = "175cc, bhp (kw)" AND model_name = "d10 sports & bushman"
CREATE TABLE table_name_28 (electrics VARCHAR, engine VARCHAR, model_name VARCHAR)
Which Electrics has an Engine of 175cc, bhp (kw), and a Model Name of d10 sports & bushman?
SELECT country FROM table_name_72 WHERE player = "pΓ‘draig harrington"
CREATE TABLE table_name_72 (country VARCHAR, player VARCHAR)
Who does pΓ‘draig harrington play for?
SELECT stadium FROM table_name_77 WHERE club = "seongnam ilhwa chunma"
CREATE TABLE table_name_77 (stadium VARCHAR, club VARCHAR)
Which stadium has Seongnam Ilhwa Chunma?
SELECT city FROM table_name_2 WHERE stadium = "gwang-yang stadium"
CREATE TABLE table_name_2 (city VARCHAR, stadium VARCHAR)
What city is Gwang-Yang stadium in?
SELECT stadium FROM table_name_65 WHERE club = "fc seoul"
CREATE TABLE table_name_65 (stadium VARCHAR, club VARCHAR)
Which stadium has FC Seoul?
SELECT stadium FROM table_name_56 WHERE city = "seoul"
CREATE TABLE table_name_56 (stadium VARCHAR, city VARCHAR)
What stadium is in Seoul?
SELECT 1993 FROM table_name_68 WHERE tournament = "french open"
CREATE TABLE table_name_68 (tournament VARCHAR)
What is the 1993 value of the French open?
SELECT 1990 FROM table_name_87 WHERE 1995 = "24"
CREATE TABLE table_name_87 (Id VARCHAR)
What is the 1990 value with a 24 in 1995?
SELECT 1993 FROM table_name_75 WHERE 1991 = "1r" AND 1990 = "sf"
CREATE TABLE table_name_75 (Id VARCHAR)
What is the 1993 value with a 1r in 1991 and sf in 1990?
SELECT 1994 FROM table_name_42 WHERE 1996 = "2r" AND 1993 = "a" AND 1991 = "2r"
CREATE TABLE table_name_42 (Id VARCHAR)
What is the 1994 value with a 2r in 1996, A in 1993, and 2r in 1991?
SELECT 1993 FROM table_name_59 WHERE 1994 = "atp masters series"
CREATE TABLE table_name_59 (Id VARCHAR)
What is the 1993 value of the 1994 atp masters series?
SELECT 1993 FROM table_name_15 WHERE 1996 = "atp masters series"
CREATE TABLE table_name_15 (Id VARCHAR)
What is the 1993 value of the 1996 atp masters series?
SELECT team FROM table_name_29 WHERE location_attendance = "staples center 18,997" AND series = "1–0"
CREATE TABLE table_name_29 (team VARCHAR, location_attendance VARCHAR, series VARCHAR)
Which Team has a Location Attendance of staples center 18,997, and a Series of 1–0?
SELECT high_points FROM table_name_80 WHERE high_rebounds = "lamar odom (15)" AND date = "april 27"
CREATE TABLE table_name_80 (high_points VARCHAR, high_rebounds VARCHAR, date VARCHAR)
Which High points have High rebounds of lamar odom (15), and a Date of april 27?
SELECT date FROM table_name_42 WHERE high_rebounds = "pau gasol (9)"
CREATE TABLE table_name_42 (date VARCHAR, high_rebounds VARCHAR)
Which Date has High rebounds of pau gasol (9)?
SELECT score FROM table_name_5 WHERE game = 2
CREATE TABLE table_name_5 (score VARCHAR, game VARCHAR)
What was the score of game 2?
SELECT to_par FROM table_name_57 WHERE player = "steve elkington"
CREATE TABLE table_name_57 (to_par VARCHAR, player VARCHAR)
What was steve elkington's to par?
SELECT season AS premiere FROM table_name_33 WHERE average_series_rating = "1.85 million viewers"
CREATE TABLE table_name_33 (season VARCHAR, average_series_rating VARCHAR)
Which show has a season premiere with a Average series rating of 1.85 million viewers?
SELECT MAX(founded) FROM table_name_7 WHERE nickname = "bruins"
CREATE TABLE table_name_7 (founded INTEGER, nickname VARCHAR)
What is the most recent year founded that has a nickname of bruins?
SELECT MAX(founded) FROM table_name_81 WHERE enrollment = 42 OFFSET 708
CREATE TABLE table_name_81 (founded INTEGER, enrollment VARCHAR)
What is the most recent year founded with an enrollment of 42,708?
SELECT score FROM table_name_48 WHERE home = "new york rangers" AND record = "8–27–5"
CREATE TABLE table_name_48 (score VARCHAR, home VARCHAR, record VARCHAR)
What is the Score of the game with the New York Rangers Home team with a Record of 8–27–5?
SELECT date FROM table_name_61 WHERE home = "detroit red wings" AND record = "10–41–6"
CREATE TABLE table_name_61 (date VARCHAR, home VARCHAR, record VARCHAR)
On what Date was the Home team Detroit Red Wings with a Record of 10–41–6?
SELECT visitor FROM table_name_98 WHERE record = "11–49–7"
CREATE TABLE table_name_98 (visitor VARCHAR, record VARCHAR)
What is the Visitor in the game with a Record of 11–49–7?
SELECT record FROM table_name_28 WHERE home = "chicago black hawks" AND visitor = "new york rangers" AND score = "3–2"
CREATE TABLE table_name_28 (record VARCHAR, score VARCHAR, home VARCHAR, visitor VARCHAR)
What is the Record of the Chicago Black Hawks Home game with the New York Rangers and a Score of 3–2?
SELECT home FROM table_name_21 WHERE score = "1–2" AND date = "october 17"
CREATE TABLE table_name_21 (home VARCHAR, score VARCHAR, date VARCHAR)
What is the Home team on October 17 with a Score of 1–2?
SELECT record FROM table_name_74 WHERE visitor = "detroit red wings" AND date = "january 31"
CREATE TABLE table_name_74 (record VARCHAR, visitor VARCHAR, date VARCHAR)
What is the Record of the game on January 31 with Visitors Detroit Red Wings?
SELECT report FROM table_name_35 WHERE date = "7 february" AND away_team = "new zealand breakers"
CREATE TABLE table_name_35 (report VARCHAR, date VARCHAR, away_team VARCHAR)
Name the Report of 7 february with an Away team of new zealand breakers?
SELECT date FROM table_name_72 WHERE crowd < 4 OFFSET 485
CREATE TABLE table_name_72 (date VARCHAR, crowd INTEGER)
Which Date has a Crowd smaller than 4,485?
SELECT MIN(crowd) FROM table_name_29 WHERE venue = "hisense arena" AND date = "8 february"
CREATE TABLE table_name_29 (crowd INTEGER, venue VARCHAR, date VARCHAR)
Name the lowest Crowd of hisense arena on 8 february?
SELECT Box AS score FROM table_name_68 WHERE away_team = "new zealand breakers" AND date = "7 february"
CREATE TABLE table_name_68 (Box VARCHAR, away_team VARCHAR, date VARCHAR)
Name the Box Score which has an Away team of new zealand breakers on 7 february?
SELECT MIN(year) FROM table_name_42 WHERE venue = "rio de janeiro, brazil"
CREATE TABLE table_name_42 (year INTEGER, venue VARCHAR)
What is the lowest Year, when Venue is Rio De Janeiro, Brazil?
SELECT event FROM table_name_59 WHERE year = 2008
CREATE TABLE table_name_59 (event VARCHAR, year VARCHAR)
What is Event, when Year is 2008?
SELECT MAX(march) FROM table_name_94 WHERE opponent = "boston bruins" AND game < 66
CREATE TABLE table_name_94 (march INTEGER, opponent VARCHAR, game VARCHAR)
What is the latest date in March when the opponent was the Boston Bruins and the game number was smaller than 66?
SELECT method FROM table_name_70 WHERE opponent = "chris ade"
CREATE TABLE table_name_70 (method VARCHAR, opponent VARCHAR)
What is the method of the match with chris ade as the opponent?
SELECT AVG(pole) FROM table_name_26 WHERE race < 16 AND flap > 8 AND podium > 11
CREATE TABLE table_name_26 (pole INTEGER, podium VARCHAR, race VARCHAR, flap VARCHAR)
What was the pole for a race lower than 16 with a Flap higher than 8 and a podium higher than 11?
SELECT COUNT(podium) FROM table_name_91 WHERE race > 14 AND season = "1996" AND flap < 9
CREATE TABLE table_name_91 (podium VARCHAR, flap VARCHAR, race VARCHAR, season VARCHAR)
How many podiums had a race higher than 14 in 1996 and a Flap lower than 9?
SELECT SUM(race) FROM table_name_64 WHERE podium = 4 AND pole = 5 AND flap > 3
CREATE TABLE table_name_64 (race INTEGER, flap VARCHAR, podium VARCHAR, pole VARCHAR)
How many races had 4 podiums, 5 poles and more than 3 Flaps?
SELECT MIN(podium) FROM table_name_30 WHERE season = "2005" AND pole < 0
CREATE TABLE table_name_30 (podium INTEGER, season VARCHAR, pole VARCHAR)
What are the fewest podiums in 2005 with fewer than 0 poles?
SELECT player FROM table_name_8 WHERE to_par = "+9"
CREATE TABLE table_name_8 (player VARCHAR, to_par VARCHAR)
Which Player has a To par of +9?
SELECT year_s__won FROM table_name_43 WHERE player = "raymond floyd"
CREATE TABLE table_name_43 (year_s__won VARCHAR, player VARCHAR)
Which years did raymond floyd win?
SELECT COUNT(total) FROM table_name_65 WHERE to_par = "+9"
CREATE TABLE table_name_65 (total VARCHAR, to_par VARCHAR)
How much total has a To par of +9?
SELECT AVG(total) FROM table_name_12 WHERE country = "united states" AND player = "andy north"
CREATE TABLE table_name_12 (total INTEGER, country VARCHAR, player VARCHAR)
Which Total has a Country of united states, and a Player of andy north?
SELECT MAX(grid) FROM table_name_43 WHERE manufacturer = "aprilia" AND time = "retirement" AND laps > 5
CREATE TABLE table_name_43 (grid INTEGER, laps VARCHAR, manufacturer VARCHAR, time VARCHAR)
What is the highest grid for Aprilia vehicles, laps over 5, and a retirement finish?
SELECT AVG(laps) FROM table_name_90 WHERE time = "+2:11.524"
CREATE TABLE table_name_90 (laps INTEGER, time VARCHAR)
What is the average laps completed by riders with times of +2:11.524?
SELECT rider FROM table_name_92 WHERE time = "+2:11.524"
CREATE TABLE table_name_92 (rider VARCHAR, time VARCHAR)
Which rider has a time of +2:11.524?
SELECT AVG(grid) FROM table_name_2 WHERE manufacturer = "aprilia" AND laps > 16
CREATE TABLE table_name_2 (grid INTEGER, manufacturer VARCHAR, laps VARCHAR)
What is the average grid for vehicles manufactured by Aprilia and having run more than 16 laps?
SELECT record FROM table_name_49 WHERE date = "january 27"
CREATE TABLE table_name_49 (record VARCHAR, date VARCHAR)
What record has January 27 for the date?
SELECT team FROM table_name_76 WHERE high_assists = "brad miller (8)"
CREATE TABLE table_name_76 (team VARCHAR, high_assists VARCHAR)
What team has brad miller (8) as the high assists?
SELECT high_assists FROM table_name_93 WHERE team = "@ detroit"
CREATE TABLE table_name_93 (high_assists VARCHAR, team VARCHAR)
What is the high assists that has @ detroit as the team?
SELECT date FROM table_name_82 WHERE winner = "new york giants" AND year > 1985 AND result = "17-14"
CREATE TABLE table_name_82 (date VARCHAR, result VARCHAR, winner VARCHAR, year VARCHAR)
Which date had a game with the New York Giants as the winner, year over 1985, and a result of 17-14?
SELECT date FROM table_name_68 WHERE year < 1988 AND loser = "philadelphia eagles" AND location = "giants stadium" AND result = "21-0"
CREATE TABLE table_name_68 (date VARCHAR, result VARCHAR, location VARCHAR, year VARCHAR, loser VARCHAR)
Which date had a year under 1988, loser of Philadelphia Eagles, location of Giants Stadium, and a result of 21-0?
SELECT date FROM table_name_77 WHERE loser = "new york giants" AND result = "23-17"
CREATE TABLE table_name_77 (date VARCHAR, loser VARCHAR, result VARCHAR)
Which date had a loser of New York Giants and a result of 23-17?
SELECT MAX(silver) FROM table_name_43 WHERE nation = "south korea" AND gold > 2
CREATE TABLE table_name_43 (silver INTEGER, nation VARCHAR, gold VARCHAR)
HOW MANY SILVER METALS DOES SOUTH KOREA HAVE WITH 2 GOLD METALS?
SELECT MAX(bronze) FROM table_name_46 WHERE silver > 1 AND rank > 1
CREATE TABLE table_name_46 (bronze INTEGER, silver VARCHAR, rank VARCHAR)
WHAT COUNTRY HAS THE HIGHEST BRONZE COUNT, MORE THAN 1 SILVER METAL, AND LESS THAN 1ST PLACE?
SELECT MAX(runners_up) FROM table_name_30 WHERE champions < 0
CREATE TABLE table_name_30 (runners_up INTEGER, champions INTEGER)
What is the highest Runners-Up, when Champions is less than 0?
SELECT SUM(runners_up) FROM table_name_2 WHERE champions > 5
CREATE TABLE table_name_2 (runners_up INTEGER, champions INTEGER)
What is the sum of Runners-Up, when Champions is greater than 5?
SELECT AVG(total) FROM table_name_97 WHERE silver > 0 AND gold > 0
CREATE TABLE table_name_97 (total INTEGER, silver VARCHAR, gold VARCHAR)
What is the total medals for nation with more than 0 silvers and more than 0 golds?
SELECT MIN(gold) FROM table_name_21 WHERE silver < 1 AND total < 4 AND bronze > 1
CREATE TABLE table_name_21 (gold INTEGER, bronze VARCHAR, silver VARCHAR, total VARCHAR)
What is the fewest gold medals for a team with fewer than 1 silver, more than 1 bronze and a total less than 4?
SELECT MIN(rank) FROM table_name_10 WHERE silver < 1 AND gold = 4 AND bronze < 0
CREATE TABLE table_name_10 (rank INTEGER, bronze VARCHAR, silver VARCHAR, gold VARCHAR)
What is the smallest rank when there are fewer than 1 silver, 4 golds and less than 0 bronze?
SELECT AVG(gold) FROM table_name_27 WHERE rank < 5 AND silver > 0 AND total = 2
CREATE TABLE table_name_27 (gold INTEGER, total VARCHAR, rank VARCHAR, silver VARCHAR)
How many gold medals for a nation with rank less than 5, more than 0 silvers and a total of 2 medals?
SELECT SUM(total) FROM table_name_37 WHERE gold > 2 AND bronze > 0
CREATE TABLE table_name_37 (total INTEGER, gold VARCHAR, bronze VARCHAR)
What is the total for the team with more than 2 golds and more than 0 bronze?
SELECT rider FROM table_name_59 WHERE time = "+19.751"
CREATE TABLE table_name_59 (rider VARCHAR, time VARCHAR)
Which rider has time of +19.751?
SELECT MAX(laps) FROM table_name_75 WHERE manufacturer = "aprilia" AND time = "+1:36.557"
CREATE TABLE table_name_75 (laps INTEGER, manufacturer VARCHAR, time VARCHAR)
Which manufacturer of aprilia wth time of +1:36.557 has the highest lap?
SELECT time FROM table_name_56 WHERE grid = 21
CREATE TABLE table_name_56 (time VARCHAR, grid VARCHAR)
What is time of manufacturer with grid 21?