answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT site_stadium FROM table_name_21 WHERE date = "may 9"
CREATE TABLE table_name_21 (site_stadium VARCHAR, date VARCHAR)
Where was the game on May 9 played?
SELECT MAX(position) FROM table_name_78 WHERE points < 21 AND played > 14
CREATE TABLE table_name_78 (position INTEGER, points VARCHAR, played VARCHAR)
What is the greatest position when the points are less than 21, and the played greater than 14?
SELECT MIN(lost) FROM table_name_69 WHERE difference = "9" AND drawn < 3
CREATE TABLE table_name_69 (lost INTEGER, difference VARCHAR, drawn VARCHAR)
What is the fewest lost with a difference of 9 and a less than 3 drawn?
SELECT AVG(against) FROM table_name_78 WHERE team = "estudantes paulista" AND position < 4
CREATE TABLE table_name_78 (against INTEGER, team VARCHAR, position VARCHAR)
Team Estudantes Paulista with a position less than 4 has what average against?
SELECT margin_of_victory FROM table_name_28 WHERE date = "apr 8, 1979"
CREATE TABLE table_name_28 (margin_of_victory VARCHAR, date VARCHAR)
What was the margin of victory on Apr 8, 1979?
SELECT winning_score FROM table_name_69 WHERE margin_of_victory = "2 strokes" AND runner_s__up = "pat bradley"
CREATE TABLE table_name_69 (winning_score VARCHAR, margin_of_victory VARCHAR, runner_s__up VARCHAR)
What was the winning score when the margin of victory was 2 strokes and the runner-up was Pat Bradley?
SELECT margin_of_victory FROM table_name_21 WHERE winning_score = −5(69 - 69 - 73 = 211)
CREATE TABLE table_name_21 (margin_of_victory VARCHAR, winning_score VARCHAR)
What was the margin of victory when the winning score was −5 (69-69-73=211)?
SELECT tournament FROM table_name_37 WHERE winning_score = −5(69 - 69 - 73 = 211)
CREATE TABLE table_name_37 (tournament VARCHAR, winning_score VARCHAR)
Which tournament had a winning score of −5 (69-69-73=211)?
SELECT date FROM table_name_7 WHERE winning_score = −6(69 - 69 - 73 - 71 = 282)
CREATE TABLE table_name_7 (date VARCHAR, winning_score VARCHAR)
When was the winning score −6 (69-69-73-71=282)?
SELECT opponent FROM table_name_66 WHERE date = "november 20, 1995"
CREATE TABLE table_name_66 (opponent VARCHAR, date VARCHAR)
Who is the opponent of the game played on November 20, 1995?
SELECT MAX(grid) FROM table_name_67 WHERE name = "jamie whincup"
CREATE TABLE table_name_67 (grid INTEGER, name VARCHAR)
What is the highest Grid with a Name that is jamie whincup?
SELECT team FROM table_name_48 WHERE laps = 5
CREATE TABLE table_name_48 (team VARCHAR, laps VARCHAR)
What is the Team with a Lap that is 5?
SELECT MIN(round) FROM table_name_62 WHERE name = "justin forsett" AND pick > 233
CREATE TABLE table_name_62 (round INTEGER, name VARCHAR, pick VARCHAR)
What's the lowest round Justin Forsett was drafted in, with a draft pick larger than 233?
SELECT AVG(round) FROM table_name_90 WHERE position = "rb"
CREATE TABLE table_name_90 (round INTEGER, position VARCHAR)
What's the average round the position of RB was drafted?
SELECT AVG(round) FROM table_name_29 WHERE name = "red bryant" AND pick > 121
CREATE TABLE table_name_29 (round INTEGER, name VARCHAR, pick VARCHAR)
What's the average round Red Bryant was drafted with a pick larger than 121?
SELECT overall_record FROM table_name_46 WHERE away_team = "miami"
CREATE TABLE table_name_46 (overall_record VARCHAR, away_team VARCHAR)
Can you tell me the Overall Record that has the Away Team of miami?
SELECT overall_record FROM table_name_81 WHERE week = 3
CREATE TABLE table_name_81 (overall_record VARCHAR, week VARCHAR)
Can you tell me the Overall Record that has the Week of 3?
SELECT divisional_record FROM table_name_58 WHERE away_team = "dallas"
CREATE TABLE table_name_58 (divisional_record VARCHAR, away_team VARCHAR)
Can you tell me the Divisional Record that has the Away Team of dallas?
SELECT overall_record FROM table_name_42 WHERE week < 16 AND divisional_record = "(1-0)" AND away_team = "miami"
CREATE TABLE table_name_42 (overall_record VARCHAR, away_team VARCHAR, week VARCHAR, divisional_record VARCHAR)
Can you tell me the Overall Record that has the Week smaller than 16, and the Divisional Record of (1-0), and the Away Team of miami?
SELECT week FROM table_name_40 WHERE home_team = "detroit" AND divisional_record = "(3-0)" AND overall_record = "(5-1)" AND away_team = "minnesota"
CREATE TABLE table_name_40 (week VARCHAR, away_team VARCHAR, overall_record VARCHAR, home_team VARCHAR, divisional_record VARCHAR)
Can you tell me the Week that has the Home Team of detroit, and the Divisional Record of (3-0), and the Overall Record of (5-1), and the Away Team of minnesota?
SELECT choreographer_s_ FROM table_name_10 WHERE style = "pas de deux"
CREATE TABLE table_name_10 (choreographer_s_ VARCHAR, style VARCHAR)
Who is the choreographer with the style pas de deux?
SELECT title FROM table_name_63 WHERE start_of_reign = 1999
CREATE TABLE table_name_63 (title VARCHAR, start_of_reign VARCHAR)
What is the title of the person who started their reign in 1999?
SELECT Birth AS name FROM table_name_61 WHERE start_of_reign = 1986
CREATE TABLE table_name_61 (Birth VARCHAR, start_of_reign VARCHAR)
What is the date of birth of the person who started their reign in 1986?
SELECT COUNT(average) FROM table_name_23 WHERE goals < 73
CREATE TABLE table_name_23 (average VARCHAR, goals INTEGER)
What is the average number for goals less than 73?
SELECT COUNT(average) FROM table_name_40 WHERE career = "1990-1995" AND goals < 90
CREATE TABLE table_name_40 (average VARCHAR, career VARCHAR, goals VARCHAR)
What is the total average for 1990-1995, and goals less than 90?
SELECT MIN(position) FROM table_name_43 WHERE lost < 3 AND difference = "1" AND played > 7
CREATE TABLE table_name_43 (position INTEGER, played VARCHAR, lost VARCHAR, difference VARCHAR)
What was the lowest Position for a Team with fewer than 3 Lost, a Difference of 1, and more than 7 games Played?
SELECT SUM(played) FROM table_name_12 WHERE team = "vasco da gama" AND against < 12
CREATE TABLE table_name_12 (played INTEGER, team VARCHAR, against VARCHAR)
What is the sum of games Played by the Team Vasco Da Gama, with fewer than 12 Against?
SELECT difference FROM table_name_8 WHERE position < 2
CREATE TABLE table_name_8 (difference VARCHAR, position INTEGER)
What was the Difference of the Team that had a Position less than 2?
SELECT attendance FROM table_name_54 WHERE date = "november 21, 2004"
CREATE TABLE table_name_54 (attendance VARCHAR, date VARCHAR)
Which attendance number was taken on november 21, 2004?
SELECT attendance FROM table_name_39 WHERE week < 16 AND opponent = "washington redskins"
CREATE TABLE table_name_39 (attendance VARCHAR, week VARCHAR, opponent VARCHAR)
Which attendance number was taken in a week less than 16 when the Washington Redskins were the opponents?
SELECT SUM(week) FROM table_name_74 WHERE opponent = "green bay packers"
CREATE TABLE table_name_74 (week INTEGER, opponent VARCHAR)
How many weeks had the Green Bay packers as opponents?
SELECT country FROM table_name_76 WHERE score = 71 - 67 = 138
CREATE TABLE table_name_76 (country VARCHAR, score VARCHAR)
What Country had a Score of 71-67=138?
SELECT country FROM table_name_91 WHERE score = 75 - 68 = 143
CREATE TABLE table_name_91 (country VARCHAR, score VARCHAR)
What Country had a Score of 75-68=143?
SELECT SUM(innings) FROM table_name_35 WHERE average < 6.33 AND sr < 71.43 AND balls_faced > 36 AND runs_scored < 19
CREATE TABLE table_name_35 (innings INTEGER, runs_scored VARCHAR, balls_faced VARCHAR, average VARCHAR, sr VARCHAR)
How many total innings have an average under 6.33, strike rate under 71.43, balls faced over 36, and smaller than 19 runs scored?
SELECT COUNT(average) FROM table_name_34 WHERE balls_faced > 297 AND innings > 7
CREATE TABLE table_name_34 (average VARCHAR, balls_faced VARCHAR, innings VARCHAR)
What is the number of averages having a balls faced over 297 and more than 7 innings?
SELECT MIN(innings) FROM table_name_89 WHERE sr = 72.05 AND balls_faced < 297
CREATE TABLE table_name_89 (innings INTEGER, sr VARCHAR, balls_faced VARCHAR)
What is the smallest number of innings with a strike rate of 72.05 and under 297 balls faced?
SELECT SUM(balls_faced) FROM table_name_99 WHERE sr > 48.28 AND innings = 3 AND average < 5
CREATE TABLE table_name_99 (balls_faced INTEGER, average VARCHAR, sr VARCHAR, innings VARCHAR)
What is the sum of balls faced associated with a strike rate over 48.28, 3 innings, and an average under 5?
SELECT nation FROM table_name_51 WHERE date = "may 6, 1991"
CREATE TABLE table_name_51 (nation VARCHAR, date VARCHAR)
What is the Nation with a Date that is may 6, 1991?
SELECT record FROM table_name_73 WHERE date = "may 20, 1961"
CREATE TABLE table_name_73 (record VARCHAR, date VARCHAR)
What is the Record with a Date that is may 20, 1961?
SELECT partner FROM table_name_46 WHERE outcome = "winner"
CREATE TABLE table_name_46 (partner VARCHAR, outcome VARCHAR)
Who was the partner of the winner?
SELECT COUNT(place__posición_) FROM table_name_53 WHERE draw__pe_ > 2 AND team__equipo_ = "paraíso" AND won__pg_ > 6
CREATE TABLE table_name_53 (place__posición_ VARCHAR, won__pg_ VARCHAR, draw__pe_ VARCHAR, team__equipo_ VARCHAR)
How many Places (Posición) has a Draw (PE) larger than 2 and a Team (Equipo) of paraíso and a Won (PG) larger than 6?
SELECT COUNT(league) AS Cup FROM table_name_88 WHERE club = "yeovil town" AND league < 16
CREATE TABLE table_name_88 (league VARCHAR, club VARCHAR)
How many league cups have yeovil town as the club, with a league less than 16?
SELECT AVG(fa_cup) FROM table_name_15 WHERE player = "gary jones" AND fa_trophy > 5
CREATE TABLE table_name_15 (fa_cup INTEGER, player VARCHAR, fa_trophy VARCHAR)
What is the average FA Cup that has gary jones as the player, and an FA trophy greater than 5?
SELECT SUM(fa_trophy) FROM table_name_98 WHERE player = "tony hemmings" AND league > 15
CREATE TABLE table_name_98 (fa_trophy INTEGER, player VARCHAR, league VARCHAR)
What FA trophys have tony hemmings as the player, with a league greater than 15?
SELECT score FROM table_name_95 WHERE country = "japan"
CREATE TABLE table_name_95 (score VARCHAR, country VARCHAR)
What is the score where the country is Japan?
SELECT province FROM table_name_82 WHERE capital = "muju"
CREATE TABLE table_name_82 (province VARCHAR, capital VARCHAR)
Which province has muju as the capital?
SELECT modern_equivalent FROM table_name_17 WHERE hanja = "良州"
CREATE TABLE table_name_17 (modern_equivalent VARCHAR, hanja VARCHAR)
What is the modern equivalent of 良州 in Hanja?
SELECT capital FROM table_name_21 WHERE hangul = "양주"
CREATE TABLE table_name_21 (capital VARCHAR, hangul VARCHAR)
What is the capital of the province with 양주 in Hangul?
SELECT capital FROM table_name_88 WHERE hanja = "漢州"
CREATE TABLE table_name_88 (capital VARCHAR, hanja VARCHAR)
What is the capital of the province with 漢州 in Hanja?
SELECT hanja FROM table_name_78 WHERE province = "sakju"
CREATE TABLE table_name_78 (hanja VARCHAR, province VARCHAR)
What is the Hanja for the sakju province?
SELECT MIN(top_25) FROM table_name_17 WHERE wins > 0
CREATE TABLE table_name_17 (top_25 INTEGER, wins INTEGER)
What is the fewest number of top-25s for events with more than 0 wins?
SELECT MAX(top_10) FROM table_name_46 WHERE wins > 0
CREATE TABLE table_name_46 (top_10 INTEGER, wins INTEGER)
What is the highest number of top-10s in events with more than 0 wins?
SELECT top_25 FROM table_name_47 WHERE events < 13 AND cuts_made < 3 AND top_10 = 1
CREATE TABLE table_name_47 (top_25 VARCHAR, top_10 VARCHAR, events VARCHAR, cuts_made VARCHAR)
What is the number of top-25s in events under 13, cuts made under 3, and 1 top-10?
SELECT season FROM table_name_7 WHERE average < 28 AND rank < 10 AND professional_partner = "janja lesar"
CREATE TABLE table_name_7 (season VARCHAR, professional_partner VARCHAR, average VARCHAR, rank VARCHAR)
Which season had an average under 28, a rank under 10, and a partner of Janja Lesar?
SELECT MAX(season) FROM table_name_45 WHERE rank < 1
CREATE TABLE table_name_45 (season INTEGER, rank INTEGER)
What is the highest season that had rank under 1?
SELECT professional_partner FROM table_name_29 WHERE season = 4
CREATE TABLE table_name_29 (professional_partner VARCHAR, season VARCHAR)
Who was the professional partner in season 4?
SELECT high_rebounds FROM table_name_65 WHERE team = "detroit"
CREATE TABLE table_name_65 (high_rebounds VARCHAR, team VARCHAR)
Who had the highest rebounds against detroit?
SELECT MAX(gold) FROM table_name_93 WHERE nation = "uzbekistan (uzb)"
CREATE TABLE table_name_93 (gold INTEGER, nation VARCHAR)
How much gold received by nation of uzbekistan (uzb)?
SELECT MIN(gold) FROM table_name_68 WHERE silver < 0
CREATE TABLE table_name_68 (gold INTEGER, silver INTEGER)
Which team has the lowest gold and 0 silver?
SELECT MAX(gold) FROM table_name_27 WHERE silver < 1 AND bronze = 1 AND total < 1
CREATE TABLE table_name_27 (gold INTEGER, total VARCHAR, silver VARCHAR, bronze VARCHAR)
How much gold when silver, bronze and total is smaller than 1?
SELECT icao FROM table_name_2 WHERE commenced_operations < 1989
CREATE TABLE table_name_2 (icao VARCHAR, commenced_operations INTEGER)
What is the ICAO with commenced operations before 1989?
SELECT MIN(commenced_operations) FROM table_name_90 WHERE callsign = "nouvelair"
CREATE TABLE table_name_90 (commenced_operations INTEGER, callsign VARCHAR)
What is the lowest commenced operations that has a nouvelair callsign?
SELECT callsign FROM table_name_34 WHERE commenced_operations = 2011
CREATE TABLE table_name_34 (callsign VARCHAR, commenced_operations VARCHAR)
What callsign has commenced operations in 2011?
SELECT language FROM table_name_19 WHERE package_option = "qualsiasi" AND television_service = "sky primafila 10"
CREATE TABLE table_name_19 (language VARCHAR, package_option VARCHAR, television_service VARCHAR)
What language is used when the service is sky primafila 10 and the package/option is qualsiasi?
SELECT content FROM table_name_13 WHERE package_option = "qualsiasi" AND television_service = "sky primafila 14"
CREATE TABLE table_name_13 (content VARCHAR, package_option VARCHAR, television_service VARCHAR)
What is the content when the package/option is qualsiasi and sky primafila 14 is the television service?
SELECT hdtv FROM table_name_26 WHERE content = "general television" AND television_service = "tv 8 mont blanc"
CREATE TABLE table_name_26 (hdtv VARCHAR, content VARCHAR, television_service VARCHAR)
What is the HDTV that has television service of tv 8 mont blanc and content is general television?
SELECT city FROM table_name_64 WHERE iata = "nkg"
CREATE TABLE table_name_64 (city VARCHAR, iata VARCHAR)
Which city's IATA is nkg?
SELECT airport FROM table_name_45 WHERE province = "xinjiang" AND city = "kuqa"
CREATE TABLE table_name_45 (airport VARCHAR, province VARCHAR, city VARCHAR)
Which airport is in Xinjiang province in the city Kuqa?
SELECT province FROM table_name_21 WHERE iata = "kix"
CREATE TABLE table_name_21 (province VARCHAR, iata VARCHAR)
Which province's IATA is kix?
SELECT airport FROM table_name_31 WHERE iata = "pen"
CREATE TABLE table_name_31 (airport VARCHAR, iata VARCHAR)
Which airport's IATA is pen?
SELECT event FROM table_name_90 WHERE record = "4:02.54"
CREATE TABLE table_name_90 (event VARCHAR, record VARCHAR)
Which Event has a Record of 4:02.54?
SELECT date FROM table_name_6 WHERE event = "3000 m"
CREATE TABLE table_name_6 (date VARCHAR, event VARCHAR)
Whcih Date has an Event of 3000 m?
SELECT record FROM table_name_20 WHERE date = "23 february 1986"
CREATE TABLE table_name_20 (record VARCHAR, date VARCHAR)
Which Record has a Date of 23 february 1986?
SELECT date FROM table_name_95 WHERE record = "8:39.49"
CREATE TABLE table_name_95 (date VARCHAR, record VARCHAR)
Which Date has a Record of 8:39.49?
SELECT record FROM table_name_71 WHERE date = "3 march 2013"
CREATE TABLE table_name_71 (record VARCHAR, date VARCHAR)
Which Record has a Date of 3 march 2013?
SELECT nation FROM table_name_84 WHERE record = "15.16 m"
CREATE TABLE table_name_84 (nation VARCHAR, record VARCHAR)
Which Nation has a Record of 15.16 m?
SELECT nationality FROM table_name_5 WHERE goals > 8 AND apps = 52
CREATE TABLE table_name_5 (nationality VARCHAR, goals VARCHAR, apps VARCHAR)
What is the Nationality of the Player with more than 8 Goals and Apps of 52?
SELECT AVG(apps) FROM table_name_64 WHERE player = "gilberto" AND goals > 1
CREATE TABLE table_name_64 (apps INTEGER, player VARCHAR, goals VARCHAR)
How many Apps did Player Gilberto with more than 1 Goals have?
SELECT date FROM table_name_4 WHERE round = "4th" AND home_team = "itabuna"
CREATE TABLE table_name_4 (date VARCHAR, round VARCHAR, home_team VARCHAR)
On what date was the 4th round, with home team Itabuna, played?
SELECT away_team FROM table_name_96 WHERE round = "6th" AND home_team = "bahia"
CREATE TABLE table_name_96 (away_team VARCHAR, round VARCHAR, home_team VARCHAR)
In the 6th round match with home team Bahia, who was the away team?
SELECT score FROM table_name_65 WHERE round = "5th" AND away_team = "bahia"
CREATE TABLE table_name_65 (score VARCHAR, round VARCHAR, away_team VARCHAR)
For the 5th round match with away team of Bahia, what was the final score?
SELECT league FROM table_name_58 WHERE regular_season = "2nd, southeast"
CREATE TABLE table_name_58 (league VARCHAR, regular_season VARCHAR)
Which League has a Regular Season of 2nd, southeast?
SELECT playoffs FROM table_name_99 WHERE regular_season = "on hiatus."
CREATE TABLE table_name_99 (playoffs VARCHAR, regular_season VARCHAR)
Who Playoffs has a Regular Season of on hiatus.?
SELECT MIN(population) FROM table_name_17 WHERE city = "kragerø"
CREATE TABLE table_name_17 (population INTEGER, city VARCHAR)
What is the population of Kragerø?
SELECT MAX(population) FROM table_name_91 WHERE town_status = "2010"
CREATE TABLE table_name_91 (population INTEGER, town_status VARCHAR)
What is the highest population of a city that has a town status of 2010?
SELECT MAX(population) FROM table_name_28 WHERE municipality = "porsgrunn"
CREATE TABLE table_name_28 (population INTEGER, municipality VARCHAR)
What is the highest population within the municipality of Porsgrunn?
SELECT birthplace FROM table_name_79 WHERE position = "d" AND height__cm_ = 190 AND jersey_number = 11
CREATE TABLE table_name_79 (birthplace VARCHAR, jersey_number VARCHAR, position VARCHAR, height__cm_ VARCHAR)
What is the birthplace of the player who is 190 CM tall, plays the D position, and wears number 11?
SELECT SUM(points) FROM table_name_60 WHERE year < 1971 AND entrant = "scuderia ferrari" AND engine = "ferrari v12"
CREATE TABLE table_name_60 (points INTEGER, engine VARCHAR, year VARCHAR, entrant VARCHAR)
What's the total points that Scuderia Ferrari with a Ferrari V12 engine have before 1971?
SELECT MIN(points) FROM table_name_3 WHERE year > 1974 AND entrant = "walter wolf racing"
CREATE TABLE table_name_3 (points INTEGER, year VARCHAR, entrant VARCHAR)
What's the least amount of points that Walter Wolf Racing had after 1974?
SELECT SUM(year) FROM table_name_68 WHERE position = "6th" AND competition = "commonwealth games"
CREATE TABLE table_name_68 (year INTEGER, position VARCHAR, competition VARCHAR)
What is the sum of Year(s), when Postion is 6th, and when Competition is Commonwealth Games?
SELECT MAX(year) FROM table_name_54 WHERE venue = "beijing, pr china"
CREATE TABLE table_name_54 (year INTEGER, venue VARCHAR)
What is the highest Year, when the Venue is Beijing, PR China?
SELECT AVG(year) FROM table_name_89 WHERE competition = "oceania youth championships"
CREATE TABLE table_name_89 (year INTEGER, competition VARCHAR)
What is the average Year, when Competition is Oceania Youth Championships?
SELECT event FROM table_name_94 WHERE position = "4th"
CREATE TABLE table_name_94 (event VARCHAR, position VARCHAR)
What is Event, when Position is 4th?
SELECT date FROM table_name_87 WHERE format = "cd"
CREATE TABLE table_name_87 (date VARCHAR, format VARCHAR)
What is the Date with a Format that is cd?
SELECT catalog FROM table_name_9 WHERE date = "march 13, 2002"
CREATE TABLE table_name_9 (catalog VARCHAR, date VARCHAR)
What is the Catalog with a Date that is march 13, 2002?
SELECT label FROM table_name_45 WHERE catalog = "mhcl-20017"
CREATE TABLE table_name_45 (label VARCHAR, catalog VARCHAR)
What is the Label with a Catalog that is mhcl-20017?
SELECT catalog FROM table_name_89 WHERE date = "february 20, 2002"
CREATE TABLE table_name_89 (catalog VARCHAR, date VARCHAR)
What is the Catalog with a Date that is february 20, 2002?
SELECT MIN(weight__kg_) FROM table_name_62 WHERE jersey__number > 22 AND position = "f" AND birthdate = "march 19, 1980"
CREATE TABLE table_name_62 (weight__kg_ INTEGER, birthdate VARCHAR, jersey__number VARCHAR, position VARCHAR)
What is the lightest Weight (kg), when the Jersey # is greater than 22, when the Position is F, and when the Birthdate is March 19, 1980?
SELECT position FROM table_name_92 WHERE birthplace = "buffalo, new york"
CREATE TABLE table_name_92 (position VARCHAR, birthplace VARCHAR)
What is the Position, when the Birthplace is Buffalo, New York?
SELECT birthplace FROM table_name_24 WHERE jersey__number < 18 AND height__cm_ > 185 AND birthdate = "march 3, 1980"
CREATE TABLE table_name_24 (birthplace VARCHAR, birthdate VARCHAR, jersey__number VARCHAR, height__cm_ VARCHAR)
What is the Birthplace, when the Jersey # is less than 18, when the Height (cm) is higher than 185, and when the Birthdate is March 3, 1980?