answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT player FROM table_name_79 WHERE country = "south africa"
CREATE TABLE table_name_79 (player VARCHAR, country VARCHAR)
Which player is from South Africa?
SELECT country FROM table_name_97 WHERE score = 72 - 72 = 144
CREATE TABLE table_name_97 (country VARCHAR, score VARCHAR)
What country is the player with a score of 72-72=144 from?
SELECT geelong_dfl FROM table_name_87 WHERE wins > 4 AND losses = 8
CREATE TABLE table_name_87 (geelong_dfl VARCHAR, wins VARCHAR, losses VARCHAR)
Which Geelong DFL has 8 losses and more than 4 wins?
SELECT COUNT(number_of_examinees) FROM table_name_47 WHERE year > 2005 AND pass_percentage = "78.35%" AND number_of_passed_students < 297
CREATE TABLE table_name_47 (number_of_examinees VARCHAR, number_of_passed_students VARCHAR, year VARCHAR, pass_percentage VARCHAR)
What number of examines after 2005 has a pass percentage of 78.35% with less than 297 students?
SELECT venue FROM table_name_93 WHERE founded > 1967 AND league = "north american soccer league"
CREATE TABLE table_name_93 (venue VARCHAR, founded VARCHAR, league VARCHAR)
Which venue was founded after 1967 and had the league North American Soccer League?
SELECT venue FROM table_name_31 WHERE founded < 2000 AND sport = "basketball"
CREATE TABLE table_name_31 (venue VARCHAR, founded VARCHAR, sport VARCHAR)
Which venue was fouded before 2000 for basketball?
SELECT club FROM table_name_43 WHERE sport = "football" AND venue = "mitchel athletic field"
CREATE TABLE table_name_43 (club VARCHAR, sport VARCHAR, venue VARCHAR)
Which club had football at Mitchel Athletic Field?
SELECT club FROM table_name_25 WHERE founded = 1962
CREATE TABLE table_name_25 (club VARCHAR, founded VARCHAR)
Which club was founded in 1962?
SELECT SUM(total) FROM table_name_52 WHERE country = "united states" AND year_s__won = "1986"
CREATE TABLE table_name_52 (total INTEGER, country VARCHAR, year_s__won VARCHAR)
What is the total sum of the player from the United States who won in 1986?
SELECT year_s__won FROM table_name_36 WHERE total < 300 AND to_par = 9
CREATE TABLE table_name_36 (year_s__won VARCHAR, total VARCHAR, to_par VARCHAR)
What year did the player with a total less than 300 and a to par of 9 have a win?
SELECT COUNT(to_par) FROM table_name_9 WHERE player = "john mahaffey" AND total < 298
CREATE TABLE table_name_9 (to_par VARCHAR, player VARCHAR, total VARCHAR)
What is total number of the to par of player john mahaffey, who has a total less than 298?
SELECT SUM(total) FROM table_name_90 WHERE year_s__won = "1979"
CREATE TABLE table_name_90 (total INTEGER, year_s__won VARCHAR)
What is the sum of the total of the player who won in 1979?
SELECT country FROM table_name_70 WHERE total > 300
CREATE TABLE table_name_70 (country VARCHAR, total INTEGER)
What is the country of the player who has a total larger than 300?
SELECT shropshire_senior_cup FROM table_name_44 WHERE points > 78 AND fa_cup = "pre"
CREATE TABLE table_name_44 (shropshire_senior_cup VARCHAR, points VARCHAR, fa_cup VARCHAR)
What is the Shropshire Senior Cup when points are greater than 78 and FA Cup is pre?
SELECT season FROM table_name_17 WHERE points = 78
CREATE TABLE table_name_17 (season VARCHAR, points VARCHAR)
What season had 78 points?
SELECT score FROM table_name_64 WHERE result = "draw" AND opponent = "arema malang"
CREATE TABLE table_name_64 (score VARCHAR, result VARCHAR, opponent VARCHAR)
For the match against Arema Malang that ended in a draw, what was the final score?
SELECT score FROM table_name_68 WHERE date = "april 11, 2007"
CREATE TABLE table_name_68 (score VARCHAR, date VARCHAR)
What was the final score for the match held on April 11, 2007?
SELECT venue FROM table_name_90 WHERE score = "0-0" AND date = "april 11, 2007"
CREATE TABLE table_name_90 (venue VARCHAR, score VARCHAR, date VARCHAR)
What was the location for the match held on April 11, 2007, which ended with a score of 0-0?
SELECT venue FROM table_name_63 WHERE score = "0-0" AND date = "march 7, 2007"
CREATE TABLE table_name_63 (venue VARCHAR, score VARCHAR, date VARCHAR)
What was the location for the match held on March 7, 2007, which ended with a score of 0-0?
SELECT constituency_number FROM table_name_87 WHERE name = "amritpur"
CREATE TABLE table_name_87 (constituency_number VARCHAR, name VARCHAR)
Amritpur has what constituency number?
SELECT reserved_for___sc___st__none_ FROM table_name_87 WHERE name = "kaimganj"
CREATE TABLE table_name_87 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR)
Kaimganj has what reserved for (SC / ST /None)?
SELECT country FROM table_name_30 WHERE player = "bob tway"
CREATE TABLE table_name_30 (country VARCHAR, player VARCHAR)
Which country is bob tway from?
SELECT country FROM table_name_59 WHERE year_s__won = "1986"
CREATE TABLE table_name_59 (country VARCHAR, year_s__won VARCHAR)
Which country won in 1986?
SELECT MIN(total) FROM table_name_63 WHERE country = "fiji"
CREATE TABLE table_name_63 (total INTEGER, country VARCHAR)
What is Fiji's lowest total?
SELECT country FROM table_name_17 WHERE score = 72 - 66 - 72 = 210
CREATE TABLE table_name_17 (country VARCHAR, score VARCHAR)
What Country had a Player with a Score of 72-66-72=210?
SELECT place FROM table_name_96 WHERE to_par = "–6"
CREATE TABLE table_name_96 (place VARCHAR, to_par VARCHAR)
What is the Place of the Player with a To par of –6?
SELECT place FROM table_name_86 WHERE score = 68 - 73 - 76 = 217
CREATE TABLE table_name_86 (place VARCHAR, score VARCHAR)
What is the Place of the Player with a Score of 68-73-76=217?
SELECT to_par FROM table_name_59 WHERE player = "justin leonard"
CREATE TABLE table_name_59 (to_par VARCHAR, player VARCHAR)
What is Justin Leonard's To par?
SELECT architecture_version FROM table_name_10 WHERE model = "1b"
CREATE TABLE table_name_10 (architecture_version VARCHAR, model VARCHAR)
What is the architecture version of Model 1b?
SELECT name___generation FROM table_name_90 WHERE architecture_version = "mips-iii 64-bit" AND model = "2b"
CREATE TABLE table_name_90 (name___generation VARCHAR, architecture_version VARCHAR, model VARCHAR)
What is the name of the architecture version of the MIPS-III 64-bit, and model 2b?
SELECT event FROM table_name_1 WHERE time = "2:08"
CREATE TABLE table_name_1 (event VARCHAR, time VARCHAR)
What is the event with a 2:08 time?
SELECT wheels FROM table_name_99 WHERE builder = "baldwin locomotive works"
CREATE TABLE table_name_99 (wheels VARCHAR, builder VARCHAR)
What type of wheels did the locomotive have that was built by Baldwin Locomotive Works?
SELECT venue FROM table_name_89 WHERE against = 25
CREATE TABLE table_name_89 (venue VARCHAR, against VARCHAR)
Which Venue has Against of 25?
SELECT venue FROM table_name_82 WHERE against < 6
CREATE TABLE table_name_82 (venue VARCHAR, against INTEGER)
Which Venue has Against smaller than 6?
SELECT utah FROM table_name_7 WHERE colorado = "bush" AND new_mexico = "bush"
CREATE TABLE table_name_7 (utah VARCHAR, colorado VARCHAR, new_mexico VARCHAR)
What's the value for utah when colorado and new mexico are bush?
SELECT oklahoma FROM table_name_6 WHERE texas = "kennedy"
CREATE TABLE table_name_6 (oklahoma VARCHAR, texas VARCHAR)
What's the value for oklahoma when texas is kennedy?
SELECT utah FROM table_name_80 WHERE texas = "humphrey"
CREATE TABLE table_name_80 (utah VARCHAR, texas VARCHAR)
What's the value for utah when texas is humphrey?
SELECT arizona FROM table_name_83 WHERE colorado = "nixon" AND nevada = "nixon" AND texas = "humphrey"
CREATE TABLE table_name_83 (arizona VARCHAR, texas VARCHAR, colorado VARCHAR, nevada VARCHAR)
What's the value for arizona when colorado and nevada are nixon, and texas is humphrey?
SELECT oklahoma FROM table_name_94 WHERE nevada = "clinton" AND colorado = "clinton"
CREATE TABLE table_name_94 (oklahoma VARCHAR, nevada VARCHAR, colorado VARCHAR)
What's the value for oklahoma when nevada and colorado are clinton?
SELECT arizona FROM table_name_50 WHERE utah = "eisenhower"
CREATE TABLE table_name_50 (arizona VARCHAR, utah VARCHAR)
What's the value for arizona when utah is eisenhower?
SELECT ad_freq FROM table_name_84 WHERE show_name = "american top 40"
CREATE TABLE table_name_84 (ad_freq VARCHAR, show_name VARCHAR)
How often are there ads during American Top 40?
SELECT time FROM table_name_94 WHERE show_name = "classic hits"
CREATE TABLE table_name_94 (time VARCHAR, show_name VARCHAR)
When does Classic Hits air?
SELECT role FROM table_name_4 WHERE pick__number = 18
CREATE TABLE table_name_4 (role VARCHAR, pick__number VARCHAR)
What is Pick #18's Role?
SELECT foundation FROM table_name_5 WHERE name_in_english = "tanjung puteri technical secondary school"
CREATE TABLE table_name_5 (foundation VARCHAR, name_in_english VARCHAR)
What is the foundation for the institution whose name in English is tanjung puteri technical secondary school?
SELECT location FROM table_name_95 WHERE name_in_malay = "kolej kemahiran belia nasional, pontian"
CREATE TABLE table_name_95 (location VARCHAR, name_in_malay VARCHAR)
What is the location of the institution whose name in Malay is kolej kemahiran belia nasional, pontian?
SELECT AVG(money___) AS $__ FROM table_name_97 WHERE score = 68 - 69 - 68 - 72 = 277
CREATE TABLE table_name_97 (money___ INTEGER, score VARCHAR)
What was the average money when the score was 68-69-68-72=277?
SELECT MAX(money___) AS $__ FROM table_name_37 WHERE score = 69 - 68 - 67 - 69 = 273
CREATE TABLE table_name_37 (money___ INTEGER, score VARCHAR)
What was the highest money when the score was 69-68-67-69=273?
SELECT place FROM table_name_89 WHERE country = "south africa"
CREATE TABLE table_name_89 (place VARCHAR, country VARCHAR)
What did South Africa place?
SELECT country FROM table_name_95 WHERE place = "t2" AND score = 68 - 69 - 68 - 72 = 277
CREATE TABLE table_name_95 (country VARCHAR, place VARCHAR, score VARCHAR)
What county placed t2 and scored 68-69-68-72=277?
SELECT milan___san_remo FROM table_name_81 WHERE liège_bastogne_liège = "danilo di luca ( ita )"
CREATE TABLE table_name_81 (milan___san_remo VARCHAR, liège_bastogne_liège VARCHAR)
Name the Milan – San Remo which has a Liège–Bastogne–Liège of danilo di luca ( ita )?
SELECT giro_di_lombardia FROM table_name_38 WHERE paris_roubaix = "servais knaven ( ned )"
CREATE TABLE table_name_38 (giro_di_lombardia VARCHAR, paris_roubaix VARCHAR)
Which Giro di Lombardia has a Paris–Roubaix of servais knaven ( ned )?
SELECT giro_di_lombardia FROM table_name_22 WHERE tour_of_flanders = "tom boonen ( bel )" AND paris_roubaix = "fabian cancellara ( sui )"
CREATE TABLE table_name_22 (giro_di_lombardia VARCHAR, tour_of_flanders VARCHAR, paris_roubaix VARCHAR)
what kind of Giro di Lombardiahas a Tour of Flanders of tom boonen ( bel ), and a Paris–Roubaix of fabian cancellara ( sui )?
SELECT cargo__tonnes_ FROM table_name_90 WHERE international__non_cis_ = "297 421"
CREATE TABLE table_name_90 (cargo__tonnes_ VARCHAR, international__non_cis_ VARCHAR)
What are the cargo tonnes when the international (non-CIS) is 297 421?
SELECT aircraft_landings FROM table_name_27 WHERE cargo__tonnes_ = "18 344"
CREATE TABLE table_name_27 (aircraft_landings VARCHAR, cargo__tonnes_ VARCHAR)
How manu aircraft landings when the cargo tonnes are 18 344?
SELECT domestic FROM table_name_61 WHERE cargo__tonnes_ = "25 866"
CREATE TABLE table_name_61 (domestic VARCHAR, cargo__tonnes_ VARCHAR)
What is the domestic figure when cargo tonnes equal 25 866?
SELECT COUNT(year) FROM table_name_53 WHERE passenger_change = "+32,9%"
CREATE TABLE table_name_53 (year VARCHAR, passenger_change VARCHAR)
What is the year that saw a passenger change of +32,9%?
SELECT AVG(year) FROM table_name_32 WHERE cargo__tonnes_ = "13 585"
CREATE TABLE table_name_32 (year INTEGER, cargo__tonnes_ VARCHAR)
What year had cargo tonnes of 13 585?
SELECT round FROM table_name_31 WHERE event = "ufc 86"
CREATE TABLE table_name_31 (round VARCHAR, event VARCHAR)
What round did the event UFC 86 take place?
SELECT method FROM table_name_25 WHERE round = "1" AND location = "aruba"
CREATE TABLE table_name_25 (method VARCHAR, round VARCHAR, location VARCHAR)
What method was there in round 1 when the location was Aruba?
SELECT location FROM table_name_91 WHERE event = "ufc: fight for the troops"
CREATE TABLE table_name_91 (location VARCHAR, event VARCHAR)
What location was the event ufc: fight for the troops?
SELECT date FROM table_name_49 WHERE visiting_team = "st. louis rams" AND result = "26-0"
CREATE TABLE table_name_49 (date VARCHAR, visiting_team VARCHAR, result VARCHAR)
When was the game that had the St. Louis Rams as visiting team and resulted in a score of 26-0?
SELECT date FROM table_name_30 WHERE venue = "candlestick park"
CREATE TABLE table_name_30 (date VARCHAR, venue VARCHAR)
What date(s) was the game(s) at Candlestick Park?
SELECT year FROM table_name_45 WHERE opponent_in_the_final = "john higgins category:articles with hcards"
CREATE TABLE table_name_45 (year VARCHAR, opponent_in_the_final VARCHAR)
What year was the opponent in the final john higgins category:articles with hcards?
SELECT church_name FROM table_name_38 WHERE year_built = 1600
CREATE TABLE table_name_38 (church_name VARCHAR, year_built VARCHAR)
Which church was built in 1600?
SELECT location_of_the_church FROM table_name_51 WHERE year_built = 1914
CREATE TABLE table_name_51 (location_of_the_church VARCHAR, year_built VARCHAR)
What is the Location of the Church that was built in the year 1914?
SELECT location_of_the_church FROM table_name_64 WHERE sub_parish__sokn_ = "rugsund"
CREATE TABLE table_name_64 (location_of_the_church VARCHAR, sub_parish__sokn_ VARCHAR)
Where is the Church that has a Sub-Parish (Sokn) of rugsund?
SELECT AVG(year_built) FROM table_name_67 WHERE parish___prestegjeld__ = "bremanger parish" AND location_of_the_church = "bremanger"
CREATE TABLE table_name_67 (year_built INTEGER, parish___prestegjeld__ VARCHAR, location_of_the_church VARCHAR)
Which Year Built has a Parish (Prestegjeld) of bremanger parish, and a Location of the Church of bremanger?
SELECT actor_required FROM table_name_29 WHERE actor_in_original_production = "robert austin"
CREATE TABLE table_name_29 (actor_required VARCHAR, actor_in_original_production VARCHAR)
Who is the required actor when Robert Austin was the actor in the original production?
SELECT actor_in_original_production FROM table_name_69 WHERE gameplan = "troy stephens"
CREATE TABLE table_name_69 (actor_in_original_production VARCHAR, gameplan VARCHAR)
Who is the actor in the original production when Troy Stephens is the GamePlan?
SELECT gameplan FROM table_name_71 WHERE actor_in_original_production = "jacqueline king"
CREATE TABLE table_name_71 (gameplan VARCHAR, actor_in_original_production VARCHAR)
Who is the GamePlan when Jacqueline King is the actor in the original production?
SELECT gameplan FROM table_name_29 WHERE roleplay = "arabella lazenby"
CREATE TABLE table_name_29 (gameplan VARCHAR, roleplay VARCHAR)
Who is the GamePlan when Arabella Lazenby is the RolePlay actor?
SELECT actor_required FROM table_name_24 WHERE flatspin = "edna stricken"
CREATE TABLE table_name_24 (actor_required VARCHAR, flatspin VARCHAR)
Who is the actor required when Edna Stricken is the FlatSpin actor?
SELECT 1 AS st_round FROM table_name_33 WHERE team_1 = "lb châteauroux (d2)"
CREATE TABLE table_name_33 (team_1 VARCHAR)
What shows for the 1st round when the team 1 was Lb Châteauroux (d2)?
SELECT 2 AS nd_round FROM table_name_63 WHERE team_1 = "rc strasbourg (d1)"
CREATE TABLE table_name_63 (team_1 VARCHAR)
What shows for 2nd round when the team 1 was Rc Strasbourg (d1)?
SELECT home_team FROM table_name_80 WHERE tie_no = 23
CREATE TABLE table_name_80 (home_team VARCHAR, tie_no VARCHAR)
Who was the Home team in Tie #23?
SELECT score FROM table_name_90 WHERE tie_no = 28
CREATE TABLE table_name_90 (score VARCHAR, tie_no VARCHAR)
What was the final score in Tie #28?
SELECT score FROM table_name_81 WHERE to_par > 15 AND money___$__ > 116 AND player = "billy burke"
CREATE TABLE table_name_81 (score VARCHAR, player VARCHAR, to_par VARCHAR, money___$__ VARCHAR)
What score has a to par greater than 15, money ($) greater than 116, with billy burke as the player?
SELECT player FROM table_name_57 WHERE place = "t3" AND country = "england united states"
CREATE TABLE table_name_57 (player VARCHAR, place VARCHAR, country VARCHAR)
What player has t3 as the place, with england united states as the country?
SELECT MIN(money___) AS $__ FROM table_name_75 WHERE place = "t8" AND to_par > 19
CREATE TABLE table_name_75 (money___ INTEGER, place VARCHAR, to_par VARCHAR)
What is the lowest money ($) that has t8 as the place, with a to par greater than 19?
SELECT score FROM table_name_99 WHERE money___$__ > 400 AND player = "gene sarazen"
CREATE TABLE table_name_99 (score VARCHAR, money___$__ VARCHAR, player VARCHAR)
What score has money ($) greater than 400, with gene sarazen as the player?
SELECT country FROM table_name_38 WHERE to_par < 7 AND total = 148
CREATE TABLE table_name_38 (country VARCHAR, to_par VARCHAR, total VARCHAR)
Which Country has a To par smaller than 7, and a Total of 148?
SELECT player FROM table_name_93 WHERE country = "south africa"
CREATE TABLE table_name_93 (player VARCHAR, country VARCHAR)
Which player is from south africa?
SELECT year_s__won FROM table_name_61 WHERE total > 148 AND to_par < 17 AND country = "new zealand"
CREATE TABLE table_name_61 (year_s__won VARCHAR, country VARCHAR, total VARCHAR, to_par VARCHAR)
Which Year(s) won has a Total larger than 148, and a To par smaller than 17, and a Country of new zealand?
SELECT event FROM table_name_86 WHERE name = "dorcus inzikuru"
CREATE TABLE table_name_86 (event VARCHAR, name VARCHAR)
In what Event did Dorcus Inzikuru compete?
SELECT games FROM table_name_60 WHERE name = "patrick etolu"
CREATE TABLE table_name_60 (games VARCHAR, name VARCHAR)
In what Games did Patrick Etolu compete?
SELECT medal FROM table_name_71 WHERE sport = "boxing" AND games = "1970 edinburgh" AND name = "james odwori"
CREATE TABLE table_name_71 (medal VARCHAR, name VARCHAR, sport VARCHAR, games VARCHAR)
What Medal did James Odwori receive for Boxing in the 1970 Edinburgh Games?
SELECT medal FROM table_name_25 WHERE event = "light heavyweight"
CREATE TABLE table_name_25 (medal VARCHAR, event VARCHAR)
What is the Medal for the Player in the Light Heavyweight event?
SELECT games FROM table_name_54 WHERE medal = "silver" AND event = "light heavyweight"
CREATE TABLE table_name_54 (games VARCHAR, medal VARCHAR, event VARCHAR)
At what Games did the competitor win a Silver medal in the light heavyweight event?
SELECT tie_no FROM table_name_26 WHERE away_team = "ipswich town"
CREATE TABLE table_name_26 (tie_no VARCHAR, away_team VARCHAR)
What is the Tie no for Away Team Ipswich Town?
SELECT date FROM table_name_42 WHERE home_team = "middlesbrough"
CREATE TABLE table_name_42 (date VARCHAR, home_team VARCHAR)
What is the Date of the Middlesbrough Home game?
SELECT home_team FROM table_name_40 WHERE score = "1–0"
CREATE TABLE table_name_40 (home_team VARCHAR, score VARCHAR)
What is the Home team in the Game with a Score of 1–0?
SELECT date FROM table_name_95 WHERE away_team = "everton"
CREATE TABLE table_name_95 (date VARCHAR, away_team VARCHAR)
What is the Date of the Everton Away game?
SELECT to_par FROM table_name_28 WHERE finish = "t31"
CREATE TABLE table_name_28 (to_par VARCHAR, finish VARCHAR)
When the finish was t31 what was the To par?
SELECT player FROM table_name_67 WHERE finish = "t15"
CREATE TABLE table_name_67 (player VARCHAR, finish VARCHAR)
Who had a finish of t15?
SELECT to_par FROM table_name_59 WHERE total = 290
CREATE TABLE table_name_59 (to_par VARCHAR, total VARCHAR)
When the total was 290 what was the To par?
SELECT SUM(total) FROM table_name_47 WHERE player = "seve ballesteros"
CREATE TABLE table_name_47 (total INTEGER, player VARCHAR)
What is the Total for Seve Ballesteros?
SELECT result FROM table_name_23 WHERE nominee = "declan donnellan"
CREATE TABLE table_name_23 (result VARCHAR, nominee VARCHAR)
What was the result of Declan Donnellan's nomination?
SELECT result FROM table_name_81 WHERE category = "best actor in a musical"
CREATE TABLE table_name_81 (result VARCHAR, category VARCHAR)
What was the result of the Best Actor in a Musical category?
SELECT player FROM table_name_26 WHERE total = 287
CREATE TABLE table_name_26 (player VARCHAR, total VARCHAR)
WHAT IS THE PLAYER WITH 287?
SELECT country FROM table_name_25 WHERE player = "jack nicklaus"
CREATE TABLE table_name_25 (country VARCHAR, player VARCHAR)
WHAT COUNTRY HAS A PLAYER NAMED JACK NICKLAUS?