answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT report FROM table_name_98 WHERE location = "buenos aires"
CREATE TABLE table_name_98 (report VARCHAR, location VARCHAR)
What was the report in Buenos Aires?
SELECT date FROM table_name_12 WHERE race = "italian grand prix"
CREATE TABLE table_name_12 (date VARCHAR, race VARCHAR)
What date was the Italian Grand Prix?
SELECT report FROM table_name_54 WHERE pole_position = "mario andretti" AND fastest_lap = "jean-pierre jarier"
CREATE TABLE table_name_54 (report VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)
What was the report when Mario Andretti held pole position and Jean-Pierre Jarier had the fastest lap?
SELECT report FROM table_name_5 WHERE race = "belgian grand prix"
CREATE TABLE table_name_5 (report VARCHAR, race VARCHAR)
What was the report in the Belgian Grand Prix?
SELECT race AS Winner FROM table_name_48 WHERE pole_position = "niki lauda"
CREATE TABLE table_name_48 (race VARCHAR, pole_position VARCHAR)
Who was the winner when Niki Lauda held pole position?
SELECT fastest_lap FROM table_name_98 WHERE race = "monaco grand prix"
CREATE TABLE table_name_98 (fastest_lap VARCHAR, race VARCHAR)
Who had the fastest lap in the Monaco Grand Prix?
SELECT object_type FROM table_name_58 WHERE constellation = "cancer"
CREATE TABLE table_name_58 (object_type VARCHAR, constellation VARCHAR)
Which Object type has a Constellation of cancer?
SELECT MAX(ngc_number) FROM table_name_1 WHERE constellation = "ursa major"
CREATE TABLE table_name_1 (ngc_number INTEGER, constellation VARCHAR)
Which NGC number has a Constellation of ursa major?
SELECT constellation FROM table_name_3 WHERE ngc_number < 2775 AND declination___j2000__ = "Β°05β€²07β€³"
CREATE TABLE table_name_3 (constellation VARCHAR, ngc_number VARCHAR, declination___j2000__ VARCHAR)
Which Constellation has a NGC number smaller than 2775, and a Declination (J2000) of Β°05β€²07β€³?
SELECT object_type FROM table_name_19 WHERE ngc_number = 2787
CREATE TABLE table_name_19 (object_type VARCHAR, ngc_number VARCHAR)
Which Object type has a NGC number of 2787?
SELECT venue FROM table_name_46 WHERE away_team = "st kilda"
CREATE TABLE table_name_46 (venue VARCHAR, away_team VARCHAR)
Where did St KIlda play their away game?
SELECT score FROM table_name_79 WHERE visitor = "philadelphia" AND record = "7–4–0"
CREATE TABLE table_name_79 (score VARCHAR, visitor VARCHAR, record VARCHAR)
What is the score when Philadelphia was the visitor with a Record of 7–4–0?
SELECT nominee FROM table_name_65 WHERE category = "outstanding featured actor in a musical" AND result = "nominated"
CREATE TABLE table_name_65 (nominee VARCHAR, category VARCHAR, result VARCHAR)
What was nominee nominated for outstanding featured actor in a musical?
SELECT result FROM table_name_17 WHERE award = "drama desk award" AND nominee = "patricia mcgourty"
CREATE TABLE table_name_17 (result VARCHAR, award VARCHAR, nominee VARCHAR)
What is the result of nominee, Patricia McGourty, for the drama desk award?
SELECT year FROM table_name_41 WHERE nominee = "patricia mcgourty" AND award = "tony award"
CREATE TABLE table_name_41 (year VARCHAR, nominee VARCHAR, award VARCHAR)
What year was Patricia Mcgourty nominated for a Tony award?
SELECT driver FROM table_name_44 WHERE laps > 16 AND constructor = "ferrari" AND grid < 15
CREATE TABLE table_name_44 (driver VARCHAR, grid VARCHAR, laps VARCHAR, constructor VARCHAR)
I want the driver with Laps larger than 16 with a ferrari and grid less than 15
SELECT d_46_√ FROM table_name_2 WHERE d_43_√ = "r 3"
CREATE TABLE table_name_2 (d_46_√ VARCHAR, d_43_√ VARCHAR)
What is the D 46 √ with a D 43 √ with r 3?
SELECT d_43_√ FROM table_name_64 WHERE d_49_√ = "d 49 √"
CREATE TABLE table_name_64 (d_43_√ VARCHAR, d_49_√ VARCHAR)
What is the D 43 √ with a D 49 √ with d 49 √?
SELECT d_48_√ FROM table_name_87 WHERE d_46_√ = "r 33 o"
CREATE TABLE table_name_87 (d_48_√ VARCHAR, d_46_√ VARCHAR)
What is the D 48 √ with a D 46 √ with r 33 o?
SELECT d_48_√ FROM table_name_27 WHERE d_49_√ = "r 9"
CREATE TABLE table_name_27 (d_48_√ VARCHAR, d_49_√ VARCHAR)
What is the D 48 √ with a D 49 √ with r 9?
SELECT d_46_√ FROM table_name_94 WHERE d_41_√ = "d 38 √"
CREATE TABLE table_name_94 (d_46_√ VARCHAR, d_41_√ VARCHAR)
What is the D 46 √ with a D 41 √ with d 38 √?
SELECT d_45_√ FROM table_name_99 WHERE d_46_√ = "d 46 √"
CREATE TABLE table_name_99 (d_45_√ VARCHAR, d_46_√ VARCHAR)
What is the D 45 √ with a D 46 √ with d 46 √?
SELECT constructor FROM table_name_31 WHERE laps = 25
CREATE TABLE table_name_31 (constructor VARCHAR, laps VARCHAR)
Which constructor was there for the race with 25 laps?
SELECT driver FROM table_name_99 WHERE constructor = "brm" AND time_retired = "engine"
CREATE TABLE table_name_99 (driver VARCHAR, constructor VARCHAR, time_retired VARCHAR)
Which driver had brm as a constructor and a time/retired of engine?
SELECT call_sign FROM table_name_69 WHERE class = "a"
CREATE TABLE table_name_69 (call_sign VARCHAR, class VARCHAR)
What is the call sign for a class of A?
SELECT AVG(frequency_mhz) FROM table_name_24 WHERE city_of_license = "eastville, virginia"
CREATE TABLE table_name_24 (frequency_mhz INTEGER, city_of_license VARCHAR)
What is the average frequency MHz for license of eastville, virginia?
SELECT AVG(erp_w) FROM table_name_15 WHERE call_sign = "whre"
CREATE TABLE table_name_15 (erp_w INTEGER, call_sign VARCHAR)
What is the average ERP W when the call sign is whre?
SELECT name FROM table_name_12 WHERE area = "hillcrest"
CREATE TABLE table_name_12 (name VARCHAR, area VARCHAR)
What is the name of the school in Hillcrest?
SELECT years FROM table_name_58 WHERE authority = "state" AND roll > 333 AND name = "bayview school"
CREATE TABLE table_name_58 (years VARCHAR, name VARCHAR, authority VARCHAR, roll VARCHAR)
What are the years available at Bayview School, which has state authority and a roll number larger than 333?
SELECT date_of_birth__age_ FROM table_name_71 WHERE club_province = "wild knights" AND player = "tomokazu soma"
CREATE TABLE table_name_71 (date_of_birth__age_ VARCHAR, club_province VARCHAR, player VARCHAR)
When was Tomokazu Soma born who plays for the wild knights?
SELECT score FROM table_name_13 WHERE date = "november 19, 2008"
CREATE TABLE table_name_13 (score VARCHAR, date VARCHAR)
On November 19, 2008 what was the score?
SELECT score FROM table_name_81 WHERE date = "february 23, 2005"
CREATE TABLE table_name_81 (score VARCHAR, date VARCHAR)
What is the score on February 23, 2005?
SELECT result FROM table_name_75 WHERE date = "october 12, 2005"
CREATE TABLE table_name_75 (result VARCHAR, date VARCHAR)
What is the result foe October 12, 2005?
SELECT SUM(events) FROM table_name_67 WHERE rank > 3 AND player = "orville moody"
CREATE TABLE table_name_67 (events INTEGER, rank VARCHAR, player VARCHAR)
How many events for orville moody, ranking below 3?
SELECT MIN(rank) FROM table_name_65 WHERE wins > 2 AND player = "don january" AND events > 17
CREATE TABLE table_name_65 (rank INTEGER, events VARCHAR, wins VARCHAR, player VARCHAR)
What is the rank for don january with over 2 wins and over 17 events?
SELECT home_team AS score FROM table_name_74 WHERE home_team = "geelong"
CREATE TABLE table_name_74 (home_team VARCHAR)
What is the score of the Home team of geelong?
SELECT away_team FROM table_name_63 WHERE home_team = "south melbourne"
CREATE TABLE table_name_63 (away_team VARCHAR, home_team VARCHAR)
Which Away team has a Home team of south melbourne?
SELECT away_team FROM table_name_32 WHERE venue = "arden street oval"
CREATE TABLE table_name_32 (away_team VARCHAR, venue VARCHAR)
Which Away team has a Venue of arden street oval?
SELECT away_team AS score FROM table_name_82 WHERE venue = "scg"
CREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR)
Which Away team score has a Venue of scg?
SELECT school FROM table_name_28 WHERE player = "mike rosario"
CREATE TABLE table_name_28 (school VARCHAR, player VARCHAR)
What school has the player of mike rosario?
SELECT nba_draft FROM table_name_53 WHERE player = "al-farouq aminu"
CREATE TABLE table_name_53 (nba_draft VARCHAR, player VARCHAR)
What was the nba draft for al-farouq aminu?
SELECT AVG(attendance) FROM table_name_16 WHERE record = "38–31–8"
CREATE TABLE table_name_16 (attendance INTEGER, record VARCHAR)
What was the average attendance of a team with a 38–31–8 record?
SELECT MIN(grid) FROM table_name_89 WHERE driver = "bob anderson"
CREATE TABLE table_name_89 (grid INTEGER, driver VARCHAR)
What is the smallest grid for Bob Anderson?
SELECT time FROM table_name_67 WHERE score = "0–3"
CREATE TABLE table_name_67 (time VARCHAR, score VARCHAR)
What was the time when the score was 0–3?
SELECT set_1 FROM table_name_87 WHERE set_3 = "25–21"
CREATE TABLE table_name_87 (set_1 VARCHAR, set_3 VARCHAR)
What was the first set with a third set of 25–21?
SELECT total_games FROM table_name_84 WHERE years = 117 AND pac_12 = "california"
CREATE TABLE table_name_84 (total_games VARCHAR, years VARCHAR, pac_12 VARCHAR)
How many total games associated with the Pac-12 of california and 117 years?
SELECT AVG(years) FROM table_name_60 WHERE tied = 51 AND total_games > 1184
CREATE TABLE table_name_60 (years INTEGER, tied VARCHAR, total_games VARCHAR)
What is the average number of years associated with 51 games tied and over 1184 total games?
SELECT MAX(tied) FROM table_name_8 WHERE pct < 0.5593 AND lost = 551
CREATE TABLE table_name_8 (tied INTEGER, pct VARCHAR, lost VARCHAR)
What is the highest number of games tied for teams with under 551 games and a percentage of under 0.5593?
SELECT country FROM table_name_33 WHERE airline = "gol"
CREATE TABLE table_name_33 (country VARCHAR, airline VARCHAR)
Name the country for airline of gol
SELECT airline FROM table_name_98 WHERE rank = 4
CREATE TABLE table_name_98 (airline VARCHAR, rank VARCHAR)
Name the airline for rank of 4
SELECT hot_digital_songs_reaction FROM table_name_81 WHERE hot_100_reaction = "4 (+4)"
CREATE TABLE table_name_81 (hot_digital_songs_reaction VARCHAR, hot_100_reaction VARCHAR)
What digital reaction has a hot 100 reaction of 4 (+4)?
SELECT hot_digital_songs_reaction FROM table_name_89 WHERE hot_100_reaction = "2 (+1)"
CREATE TABLE table_name_89 (hot_digital_songs_reaction VARCHAR, hot_100_reaction VARCHAR)
What digital reaction has hot 100 reaction of 2 (+1)?
SELECT week FROM table_name_71 WHERE hot_100_reaction = "did not debut" AND performer_s_ = "natalie cole"
CREATE TABLE table_name_71 (week VARCHAR, hot_100_reaction VARCHAR, performer_s_ VARCHAR)
Which week has hot 100 reaction as did not debut for Natalie Cole?
SELECT hot_100_reaction FROM table_name_41 WHERE week = "top 13" AND performer_s_ = "kanye west"
CREATE TABLE table_name_41 (hot_100_reaction VARCHAR, week VARCHAR, performer_s_ VARCHAR)
What is the hot 100 reaction in week of top 13 for Kanye West?
SELECT hot_digital_songs_reaction FROM table_name_20 WHERE week = "top 5" AND performer_s_ = "taylor hicks"
CREATE TABLE table_name_20 (hot_digital_songs_reaction VARCHAR, week VARCHAR, performer_s_ VARCHAR)
What is the digital reaction for week of top 5 for Taylor Hicks?
SELECT time_retired FROM table_name_78 WHERE grid > 1 AND driver = "damon hill"
CREATE TABLE table_name_78 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)
Which Time/Retired had a grid number bigger than 1 and whose driver was Damon Hill?
SELECT laps FROM table_name_98 WHERE driver = "olivier panis"
CREATE TABLE table_name_98 (laps VARCHAR, driver VARCHAR)
Which lap number had Olivier Panis as a driver?
SELECT AVG(grid) FROM table_name_15 WHERE time_retired = "oil pressure" AND laps > 50
CREATE TABLE table_name_15 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
what is the grid when the time/retired is oil pressure and the laps are more than 50?
SELECT SUM(grid) FROM table_name_61 WHERE time_retired = "1:46:42.3"
CREATE TABLE table_name_61 (grid INTEGER, time_retired VARCHAR)
what is the grid when the time/retired is 1:46:42.3?
SELECT COUNT(crowd) FROM table_name_76 WHERE away_team = "fitzroy"
CREATE TABLE table_name_76 (crowd VARCHAR, away_team VARCHAR)
What was the attendance when Fitzroy played as the away team?
SELECT home_team AS score FROM table_name_4 WHERE venue = "western oval"
CREATE TABLE table_name_4 (home_team VARCHAR, venue VARCHAR)
What did the home team score at Western Oval?
SELECT home_team FROM table_name_5 WHERE crowd > 20 OFFSET 283
CREATE TABLE table_name_5 (home_team VARCHAR, crowd INTEGER)
Who was the home team when the attendance was more than 20,283?
SELECT high_points FROM table_name_25 WHERE game > 2 AND date = "april 29"
CREATE TABLE table_name_25 (high_points VARCHAR, game VARCHAR, date VARCHAR)
On April 29, with a game larger than 2, what is the high points?
SELECT score FROM table_name_18 WHERE game = 3
CREATE TABLE table_name_18 (score VARCHAR, game VARCHAR)
What was the score for Game 3?
SELECT SUM(grid) FROM table_name_60 WHERE laps = 17
CREATE TABLE table_name_60 (grid INTEGER, laps VARCHAR)
What is the grid total for cars that went 17 laps?
SELECT MAX(gold) FROM table_name_80 WHERE rank > 5 AND bronze < 1
CREATE TABLE table_name_80 (gold INTEGER, rank VARCHAR, bronze VARCHAR)
How many golds for the nation ranked below 5 and over 1 bronze medals?
SELECT away_team AS score FROM table_name_33 WHERE home_team = "footscray"
CREATE TABLE table_name_33 (away_team VARCHAR, home_team VARCHAR)
During footscray's home match, who was the away team?
SELECT format FROM table_name_92 WHERE region = "united states" AND date = "august 11, 2009"
CREATE TABLE table_name_92 (format VARCHAR, region VARCHAR, date VARCHAR)
Which format had a United States region and a date of August 11, 2009?
SELECT date FROM table_name_76 WHERE region = "japan"
CREATE TABLE table_name_76 (date VARCHAR, region VARCHAR)
Which date had a Japan region?
SELECT region FROM table_name_89 WHERE catalogue = "9362482872"
CREATE TABLE table_name_89 (region VARCHAR, catalogue VARCHAR)
Which region had a catalogue number of 9362482872?
SELECT region FROM table_name_41 WHERE date = "november 18, 2002"
CREATE TABLE table_name_41 (region VARCHAR, date VARCHAR)
Which region had the date of November 18, 2002?
SELECT label FROM table_name_53 WHERE region = "japan" AND date = "november 3, 2004"
CREATE TABLE table_name_53 (label VARCHAR, region VARCHAR, date VARCHAR)
Which label had a Japan region and a date of November 3, 2004?
SELECT label FROM table_name_38 WHERE format = "cd" AND date = "june 25, 2002"
CREATE TABLE table_name_38 (label VARCHAR, format VARCHAR, date VARCHAR)
Which label had a CD format and a date of June 25, 2002?
SELECT award FROM table_name_76 WHERE result = "nominated" AND year = 2007
CREATE TABLE table_name_76 (award VARCHAR, result VARCHAR, year VARCHAR)
What award was nominated in 2007?
SELECT AVG(year) FROM table_name_41 WHERE result = "won" AND award = "inside soap awards"
CREATE TABLE table_name_41 (year INTEGER, result VARCHAR, award VARCHAR)
What year did was the Inside Soap Awards won?
SELECT record FROM table_name_9 WHERE date = "april 9, 2008"
CREATE TABLE table_name_9 (record VARCHAR, date VARCHAR)
What was the record for the game on April 9, 2008?
SELECT leading_scorer FROM table_name_34 WHERE date = "april 9, 2008"
CREATE TABLE table_name_34 (leading_scorer VARCHAR, date VARCHAR)
Who was the leading scorer on April 9, 2008?
SELECT away_team FROM table_name_33 WHERE home_team = "st kilda"
CREATE TABLE table_name_33 (away_team VARCHAR, home_team VARCHAR)
in a game against st kilda, what was the away team's score?
SELECT home_team FROM table_name_46 WHERE away_team = "geelong"
CREATE TABLE table_name_46 (home_team VARCHAR, away_team VARCHAR)
In the match where geelong was the away team, who was the home team?
SELECT COUNT(votes) FROM table_name_67 WHERE seats > 28
CREATE TABLE table_name_67 (votes VARCHAR, seats INTEGER)
What is the number of votes for the party which got more than 28 seats?
SELECT MIN(votes) FROM table_name_86 WHERE party = "labour"
CREATE TABLE table_name_86 (votes INTEGER, party VARCHAR)
What is the number of votes for the Party of Labour?
SELECT percentage FROM table_name_15 WHERE seats = 80
CREATE TABLE table_name_15 (percentage VARCHAR, seats VARCHAR)
What is the percentage of votes for the party that has Seats of 80?
SELECT leader FROM table_name_18 WHERE seats < 28 AND percentage = "54.03" AND votes > 120 OFFSET 801
CREATE TABLE table_name_18 (leader VARCHAR, votes VARCHAR, seats VARCHAR, percentage VARCHAR)
Who is the leader of the party which has Seats less than 28, a percentage of votes 54.03, and more votes than 120,801?
SELECT MAX(seats) FROM table_name_83 WHERE votes = 244 OFFSET 867
CREATE TABLE table_name_83 (seats INTEGER, votes VARCHAR)
Which highest number of Seats has votes of 244,867?
SELECT date FROM table_name_89 WHERE home_team = "melbourne"
CREATE TABLE table_name_89 (date VARCHAR, home_team VARCHAR)
What was the Date of the game of the Home team of melbourne?
SELECT home_team AS score FROM table_name_29 WHERE away_team = "south melbourne"
CREATE TABLE table_name_29 (home_team VARCHAR, away_team VARCHAR)
What was the score of the Home team in the game that had the Away team of south melbourne?
SELECT away_team FROM table_name_60 WHERE home_team = "north melbourne"
CREATE TABLE table_name_60 (away_team VARCHAR, home_team VARCHAR)
what was the away team for the north melbourne home team?
SELECT away_team AS score FROM table_name_31 WHERE home_team = "melbourne"
CREATE TABLE table_name_31 (away_team VARCHAR, home_team VARCHAR)
what was the away team score in a game with north melbourne as home team?
SELECT away_team AS score FROM table_name_15 WHERE away_team = "st kilda"
CREATE TABLE table_name_15 (away_team VARCHAR)
what was the away team with st kilda as the away team?
SELECT MAX(yards) FROM table_name_25 WHERE solo = 1 AND sack > 0
CREATE TABLE table_name_25 (yards INTEGER, solo VARCHAR, sack VARCHAR)
How many yards for the player with 1 solo tackle and over 0 sacks?
SELECT 3 AS _credits FROM table_name_34 WHERE hand = "theoretical return"
CREATE TABLE table_name_34 (hand VARCHAR)
What does a hand of Theoretical return have as a 3 credit?
SELECT 5 AS _credits FROM table_name_58 WHERE hand = "full house"
CREATE TABLE table_name_58 (hand VARCHAR)
What does full house have as a 5 credits?
SELECT 4 AS _credits FROM table_name_28 WHERE hand = "straight"
CREATE TABLE table_name_28 (hand VARCHAR)
What would be the 4 credits result of a straight?
SELECT home FROM table_name_96 WHERE score = "2 – 2"
CREATE TABLE table_name_96 (home VARCHAR, score VARCHAR)
Who was the home team at the game that had a score of 2 – 2?
SELECT date FROM table_name_36 WHERE visitor = "colorado" AND home = "chicago"
CREATE TABLE table_name_36 (date VARCHAR, visitor VARCHAR, home VARCHAR)
What was the date of the game when Colorado was the visiting team and Chicago was the home team?
SELECT date FROM table_name_34 WHERE record = "8–3–1"
CREATE TABLE table_name_34 (date VARCHAR, record VARCHAR)
What was the date of the game when the Avalanche had a record of 8–3–1?
SELECT opponents FROM table_name_3 WHERE wicket_partnership = "5th"
CREATE TABLE table_name_3 (opponents VARCHAR, wicket_partnership VARCHAR)
Who was the opponents of the 5th Wicket Partnership?
SELECT season FROM table_name_70 WHERE competition = "champions league"
CREATE TABLE table_name_70 (season VARCHAR, competition VARCHAR)
In which season was there a competition in the Champions League?
SELECT score FROM table_name_68 WHERE club = "rsc anderlecht"
CREATE TABLE table_name_68 (score VARCHAR, club VARCHAR)
What scores did the RSC Anderlecht club have?
SELECT MAX(opening_week_nett_gross) FROM table_name_42 WHERE rank < 5 AND studio_s_ = "reliance entertainment"
CREATE TABLE table_name_42 (opening_week_nett_gross INTEGER, rank VARCHAR, studio_s_ VARCHAR)
What is the highest opening week net gross of the movie ranked higher than 5 from Reliance Entertainment?