answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT country FROM table_name_43 WHERE money___$__ = 600 | CREATE TABLE table_name_43 (country VARCHAR, money___$__ VARCHAR) | Which Country that has 600? |
SELECT to_par FROM table_name_41 WHERE player = "macdonald smith" | CREATE TABLE table_name_41 (to_par VARCHAR, player VARCHAR) | What is the to par that has macdonald smith as the player? |
SELECT country FROM table_name_9 WHERE place = "t6" AND score = 75 - 70 = 145 | CREATE TABLE table_name_9 (country VARCHAR, place VARCHAR, score VARCHAR) | Which country has t6 as a place and 75-70=145 as the score? |
SELECT to_par FROM table_name_46 WHERE player = "jimmy hines" | CREATE TABLE table_name_46 (to_par VARCHAR, player VARCHAR) | What is the to par that has jimmy hines as the player? |
SELECT score FROM table_name_27 WHERE place = "t3" | CREATE TABLE table_name_27 (score VARCHAR, place VARCHAR) | Which score has t3 as the place? |
SELECT place FROM table_name_10 WHERE player = "horton smith" | CREATE TABLE table_name_10 (place VARCHAR, player VARCHAR) | Which place has horton smith as the player? |
SELECT place FROM table_name_88 WHERE country = "united states" AND player = "craig wood" | CREATE TABLE table_name_88 (place VARCHAR, country VARCHAR, player VARCHAR) | Which place has United States as the country and Craig Wood as the player? |
SELECT 2013 FROM table_name_94 WHERE 2007 = "a" | CREATE TABLE table_name_94 (Id VARCHAR) | What was the 2013 finish for the tournament that had a 2007 finish of A? |
SELECT 2012 FROM table_name_62 WHERE tournament = "us open" | CREATE TABLE table_name_62 (tournament VARCHAR) | What was the 2012 finish in the US Open? |
SELECT tournament FROM table_name_42 WHERE 2010 = "4r" | CREATE TABLE table_name_42 (tournament VARCHAR) | Which tournament had a 2010 finish of 4R? |
SELECT qual FROM table_name_70 WHERE rank = "29" AND year = "1957" | CREATE TABLE table_name_70 (qual VARCHAR, rank VARCHAR, year VARCHAR) | What is the qualification for rank of 29 in 1957? |
SELECT place FROM table_name_46 WHERE to_par = "+3" AND score = 74 - 73 = 147 | CREATE TABLE table_name_46 (place VARCHAR, to_par VARCHAR, score VARCHAR) | What is the Place when the To par was +3 and Score was 74-73=147? |
SELECT score FROM table_name_62 WHERE to_par = "e" | CREATE TABLE table_name_62 (score VARCHAR, to_par VARCHAR) | When the To par is E, what is the Score? |
SELECT score FROM table_name_63 WHERE player = "lloyd mangrum" | CREATE TABLE table_name_63 (score VARCHAR, player VARCHAR) | What was Lloyd Mangrum's Score? |
SELECT place FROM table_name_66 WHERE player = "dave douglas" | CREATE TABLE table_name_66 (place VARCHAR, player VARCHAR) | What Dave Douglas' Place? |
SELECT to_par FROM table_name_21 WHERE player = "chick harbert" | CREATE TABLE table_name_21 (to_par VARCHAR, player VARCHAR) | What's Chick Harbert's To par? |
SELECT player FROM table_name_67 WHERE country = "united states" AND to_par = "+4" AND score = 71 - 77 = 148 | CREATE TABLE table_name_67 (player VARCHAR, country VARCHAR, to_par VARCHAR, score VARCHAR) | What United States Player has a To par of +4 and a Score of 71-77=148? |
SELECT to_par FROM table_name_69 WHERE country = "south korea" | CREATE TABLE table_name_69 (to_par VARCHAR, country VARCHAR) | What is South Korea's to par value? |
SELECT AVG(money___) AS $__ FROM table_name_86 WHERE player = "tiger woods" | CREATE TABLE table_name_86 (money___ INTEGER, player VARCHAR) | What are Tiger Woods' average earnings? |
SELECT method FROM table_name_78 WHERE round < 3 AND record = "4-2" | CREATE TABLE table_name_78 (method VARCHAR, round VARCHAR, record VARCHAR) | What's the method for a record of 4-2 and round smaller than 3? |
SELECT location FROM table_name_99 WHERE round = 3 AND opponent = "james zikic" | CREATE TABLE table_name_99 (location VARCHAR, round VARCHAR, opponent VARCHAR) | Where's the location for the opponent James Zikic and 3 rounds? |
SELECT spouse FROM table_name_83 WHERE name = "louise of hesse-kassel" | CREATE TABLE table_name_83 (spouse VARCHAR, name VARCHAR) | Name the spouse for louise of hesse-kassel |
SELECT became_consort FROM table_name_31 WHERE spouse = "christian ix" | CREATE TABLE table_name_31 (became_consort VARCHAR, spouse VARCHAR) | Name the became consort for christian ix spouse |
SELECT marriage FROM table_name_6 WHERE ceased_to_be_consort = "29 september 1898" | CREATE TABLE table_name_6 (marriage VARCHAR, ceased_to_be_consort VARCHAR) | Name the marriagefor ceased to be consort of 29 september 1898 |
SELECT name FROM table_name_71 WHERE spouse = "frederick ix" | CREATE TABLE table_name_71 (name VARCHAR, spouse VARCHAR) | Tell me the name of the person married to frederick ix |
SELECT birth FROM table_name_8 WHERE marriage = "24 may 1935" | CREATE TABLE table_name_8 (birth VARCHAR, marriage VARCHAR) | Name the birth of the person married 24 may 1935 |
SELECT AVG(rank) FROM table_name_73 WHERE lane = 6 | CREATE TABLE table_name_73 (rank INTEGER, lane VARCHAR) | What was the rank of the player in lane 6? |
SELECT AVG(year) FROM table_name_11 WHERE laps = 6 | CREATE TABLE table_name_11 (year INTEGER, laps VARCHAR) | Name the average year with Laps of 6 |
SELECT language FROM table_name_64 WHERE number = "553 633" | CREATE TABLE table_name_64 (language VARCHAR, number VARCHAR) | Which Language has a Number of 553 633? |
SELECT males FROM table_name_76 WHERE percentage___percentage_ = "0.42" | CREATE TABLE table_name_76 (males VARCHAR, percentage___percentage_ VARCHAR) | Which Males have a percentage of 0.42? |
SELECT language FROM table_name_69 WHERE percentage___percentage_ = "6.49" | CREATE TABLE table_name_69 (language VARCHAR, percentage___percentage_ VARCHAR) | What's the Language with a percentage of 6.49? |
SELECT number FROM table_name_33 WHERE language = "other" | CREATE TABLE table_name_33 (number VARCHAR, language VARCHAR) | What Number has a Language listed as other? |
SELECT MAX(gold) FROM table_name_28 WHERE total > 3 AND bronze < 3 AND nation = "belarus" AND silver > 2 | CREATE TABLE table_name_28 (gold INTEGER, silver VARCHAR, nation VARCHAR, total VARCHAR, bronze VARCHAR) | what is the highest gold count when total is more than 3, bronze less than 3, and nation of belarus with silver count more than 2? |
SELECT MIN(bronze) FROM table_name_82 WHERE silver < 0 | CREATE TABLE table_name_82 (bronze INTEGER, silver INTEGER) | with silver count at 0, what is the lowest bronze count? |
SELECT MIN(gold) FROM table_name_68 WHERE total < 3 AND silver > 1 | CREATE TABLE table_name_68 (gold INTEGER, total VARCHAR, silver VARCHAR) | what is the gold count with total less than 3 and more than 1 silver? |
SELECT builder FROM table_name_83 WHERE length = "42.8 m" AND delivery = 2007 | CREATE TABLE table_name_83 (builder VARCHAR, length VARCHAR, delivery VARCHAR) | Who built the ship that is 42.8 m long and was delivered in 2007? |
SELECT human_resources_ & _operations FROM table_name_14 WHERE year = "2003-2004" | CREATE TABLE table_name_14 (human_resources_ VARCHAR, _operations VARCHAR, year VARCHAR) | Who was the Human Resources & Operations person between 2003-2004? |
SELECT local_affairs FROM table_name_9 WHERE human_resources_ & _operations = "n. charles hamilton" | CREATE TABLE table_name_9 (local_affairs VARCHAR, human_resources_ VARCHAR, _operations VARCHAR) | Who was in local affairs when the Human Resources & Operations was N. Charles Hamilton? |
SELECT human_resources_ & _operations FROM table_name_56 WHERE academic_ & _university_affairs = "david hornsby" | CREATE TABLE table_name_56 (human_resources_ VARCHAR, _operations VARCHAR, academic_ VARCHAR, _university_affairs VARCHAR) | Who was in Human Resources & Operations when David Hornsby was in Academic & University Affairs? |
SELECT external_affairs FROM table_name_81 WHERE human_resources_ & _operations = "jakki doyle" | CREATE TABLE table_name_81 (external_affairs VARCHAR, human_resources_ VARCHAR, _operations VARCHAR) | Who was in external affairs when Jakki Doyle was in Human Resources & Operations? |
SELECT local_affairs FROM table_name_9 WHERE year = "2012-2013" | CREATE TABLE table_name_9 (local_affairs VARCHAR, year VARCHAR) | Who was in local affairs in 2012-2013? |
SELECT academic_ & _university_affairs FROM table_name_72 WHERE local_affairs = "andrew langille" | CREATE TABLE table_name_72 (academic_ VARCHAR, _university_affairs VARCHAR, local_affairs VARCHAR) | Who was in Academic & University Affairs when Andrew Langille was in local affairs? |
SELECT perth FROM table_name_51 WHERE gold_coast = "yes" AND adelaide = "yes" AND auckland = "no" | CREATE TABLE table_name_51 (perth VARCHAR, auckland VARCHAR, gold_coast VARCHAR, adelaide VARCHAR) | Which Perth's gold coast and Adelaide were yes when Auckland was no? |
SELECT melbourne FROM table_name_59 WHERE gold_coast = "yes" AND adelaide = "no" AND sydney = "yes" | CREATE TABLE table_name_59 (melbourne VARCHAR, sydney VARCHAR, gold_coast VARCHAR, adelaide VARCHAR) | Which Melbourne had a gold coast and sydney which were yes, but an adelaide that was no? |
SELECT adelaide FROM table_name_20 WHERE melbourne = "yes" AND auckland = "no" AND perth = "yes" | CREATE TABLE table_name_20 (adelaide VARCHAR, perth VARCHAR, melbourne VARCHAR, auckland VARCHAR) | Which Adelaide's Melbourne and Perth were yes when Auckland was no? |
SELECT sydney FROM table_name_94 WHERE melbourne = "no" AND auckland = "yes" | CREATE TABLE table_name_94 (sydney VARCHAR, melbourne VARCHAR, auckland VARCHAR) | Which Sydney's Melbourne was no, when Auckland was yes? |
SELECT sydney FROM table_name_47 WHERE gold_coast = "no" AND adelaide = "no" AND melbourne = "no" AND auckland = "no" | CREATE TABLE table_name_47 (sydney VARCHAR, auckland VARCHAR, melbourne VARCHAR, gold_coast VARCHAR, adelaide VARCHAR) | Which Syndney's Gold coast, Adelaide, Melbourne, and Auckland were all no? |
SELECT adelaide FROM table_name_30 WHERE melbourne = "no" AND sydney = "no" AND gold_coast = "no" | CREATE TABLE table_name_30 (adelaide VARCHAR, gold_coast VARCHAR, melbourne VARCHAR, sydney VARCHAR) | Which Adelaide's Melbourne, Sydney, and Gold Coast were all no? |
SELECT date FROM table_name_2 WHERE type = "plain stage" | CREATE TABLE table_name_2 (date VARCHAR, type VARCHAR) | Name the date which has type of plain stage |
SELECT distance FROM table_name_3 WHERE course = "vittorio veneto to marina romea" | CREATE TABLE table_name_3 (distance VARCHAR, course VARCHAR) | Name the distance for Course of vittorio veneto to marina romea |
SELECT partner FROM table_name_52 WHERE surface = "grass" | CREATE TABLE table_name_52 (partner VARCHAR, surface VARCHAR) | Who was the partner that played a match on a grass court? |
SELECT score FROM table_name_72 WHERE partner = "mardy fish" | CREATE TABLE table_name_72 (score VARCHAR, partner VARCHAR) | What was the score of the match in which mardy fish was the partner? |
SELECT opponents FROM table_name_84 WHERE surface = "hard" AND outcome = "runner-up" | CREATE TABLE table_name_84 (opponents VARCHAR, surface VARCHAR, outcome VARCHAR) | Who were the opponents in the match that was played on a hard court and had a runner-up outcome? |
SELECT time FROM table_name_86 WHERE opponent = "phil collins" | CREATE TABLE table_name_86 (time VARCHAR, opponent VARCHAR) | What is the time when the opponent is phil collins? |
SELECT COUNT(round) FROM table_name_22 WHERE method = "tko (punches)" AND time = "0:40" | CREATE TABLE table_name_22 (round VARCHAR, method VARCHAR, time VARCHAR) | what is the total number of rounds when method is tko (punches) and time is 0:40? |
SELECT method FROM table_name_5 WHERE time = "0:51" | CREATE TABLE table_name_5 (method VARCHAR, time VARCHAR) | what is the method when the time is 0:51? |
SELECT time FROM table_name_15 WHERE event = "bellator 89" | CREATE TABLE table_name_15 (time VARCHAR, event VARCHAR) | what is the time when the event is bellator 89? |
SELECT AVG(debt_as__percentage_of_value) FROM table_name_7 WHERE _percentage_change_on_year = "62" AND operating_income__$m_ > -16 | CREATE TABLE table_name_7 (debt_as__percentage_of_value INTEGER, _percentage_change_on_year VARCHAR, operating_income__$m_ VARCHAR) | Name the average debt as % of value for operating income more than -16 and % change on year being 62 |
SELECT country FROM table_name_12 WHERE debt_as__percentage_of_value < 86 AND _percentage_change_on_year = "21" | CREATE TABLE table_name_12 (country VARCHAR, debt_as__percentage_of_value VARCHAR, _percentage_change_on_year VARCHAR) | Name the country where % change on year is 21 and value is less than 86 |
SELECT COUNT(revenue__) AS $m_ FROM table_name_21 WHERE country = "italy" AND team = "internazionale" AND operating_income__$m_ < 27 | CREATE TABLE table_name_21 (revenue__ VARCHAR, operating_income__$m_ VARCHAR, country VARCHAR, team VARCHAR) | Name the total number of revenue for italy with team of internazionale with operating income less than 27 |
SELECT MAX(revenue__) AS $m_ FROM table_name_92 WHERE operating_income__$m_ > 27 AND team = "hamburg" AND debt_as__percentage_of_value < 0 | CREATE TABLE table_name_92 (revenue__ INTEGER, debt_as__percentage_of_value VARCHAR, operating_income__$m_ VARCHAR, team VARCHAR) | Name the most revenue for operating income more than 27 for hamburg and debt as % of value less than 0 |
SELECT result FROM table_name_29 WHERE h___a = "h" AND round = "r6 replay" | CREATE TABLE table_name_29 (result VARCHAR, h___a VARCHAR, round VARCHAR) | What is the result for an H/A of H and a round value of R6 replay? |
SELECT kick_off FROM table_name_23 WHERE round = "r4" | CREATE TABLE table_name_23 (kick_off VARCHAR, round VARCHAR) | What was the kickoff date for the round value of R4? |
SELECT country FROM table_name_22 WHERE player = "henry picard" | CREATE TABLE table_name_22 (country VARCHAR, player VARCHAR) | What country was Henry Picard from? |
SELECT SUM(inversions) FROM table_name_89 WHERE opened = "april 20, 2002" | CREATE TABLE table_name_89 (inversions INTEGER, opened VARCHAR) | Name the sum of inversions for opened of april 20, 2002 |
SELECT opened FROM table_name_59 WHERE country = "spain" | CREATE TABLE table_name_59 (opened VARCHAR, country VARCHAR) | Name the opened for spain |
SELECT status FROM table_name_29 WHERE park = "six flags new england" | CREATE TABLE table_name_29 (status VARCHAR, park VARCHAR) | Name the status for six flags new england |
SELECT to_par FROM table_name_30 WHERE money___£__ = "200,000" AND country = "australia" | CREATE TABLE table_name_30 (to_par VARCHAR, money___£__ VARCHAR, country VARCHAR) | Name the to par with money of 200,000 for australia |
SELECT money___£__ FROM table_name_73 WHERE country = "ireland" | CREATE TABLE table_name_73 (money___£__ VARCHAR, country VARCHAR) | Name the money for ireland |
SELECT money___£__ FROM table_name_56 WHERE player = "pádraig harrington" | CREATE TABLE table_name_56 (money___£__ VARCHAR, player VARCHAR) | Name the money for pádraig harrington |
SELECT to_par FROM table_name_84 WHERE score = 69 - 73 - 68 - 70 = 280 | CREATE TABLE table_name_84 (to_par VARCHAR, score VARCHAR) | Name the to par for score of 69-73-68-70=280 |
SELECT money___£__ FROM table_name_49 WHERE to_par = "-6" | CREATE TABLE table_name_49 (money___£__ VARCHAR, to_par VARCHAR) | Name the money for the to par of -6 |
SELECT term_end FROM table_name_85 WHERE party = "centre party" | CREATE TABLE table_name_85 (term_end VARCHAR, party VARCHAR) | On what date or dates did the term with the Centre Party end? |
SELECT term_end FROM table_name_72 WHERE governments = "27" AND minister = "tzachi hanegbi" | CREATE TABLE table_name_72 (term_end VARCHAR, governments VARCHAR, minister VARCHAR) | When did the term end for the term that had government 27 and Minister Tzachi Hanegbi? |
SELECT location___state FROM table_name_5 WHERE circuit = "wanneroo raceway" | CREATE TABLE table_name_5 (location___state VARCHAR, circuit VARCHAR) | What is the location/state of the race on the Wanneroo raceway? |
SELECT location___state FROM table_name_60 WHERE race_title = "launceston" | CREATE TABLE table_name_60 (location___state VARCHAR, race_title VARCHAR) | What is the location/state of the Launceston race? |
SELECT team FROM table_name_55 WHERE winner = "dick johnson" | CREATE TABLE table_name_55 (team VARCHAR, winner VARCHAR) | What is the team of winner Dick Johnson? |
SELECT race_title FROM table_name_8 WHERE team = "jps team bmw" AND circuit = "oran park raceway" | CREATE TABLE table_name_8 (race_title VARCHAR, team VARCHAR, circuit VARCHAR) | What is the race title of the Oran Park raceway circuit with team jps team bmw? |
SELECT COUNT(population__hervey_bay_) FROM table_name_94 WHERE population__woocoo_ < 640 AND population__maryborough_ < 19 OFFSET 257 | CREATE TABLE table_name_94 (population__hervey_bay_ VARCHAR, population__woocoo_ VARCHAR, population__maryborough_ VARCHAR) | Name the total number of population hervey bay with population woocoo less than 640 and population of maryborough less than 19,257 |
SELECT manufacturer FROM table_name_20 WHERE rider = "shoya tomizawa" | CREATE TABLE table_name_20 (manufacturer VARCHAR, rider VARCHAR) | Which manufacturer made Shoya Tomizawa's motorcycle? |
SELECT COUNT(laps) FROM table_name_24 WHERE time_retired = "+37.351" | CREATE TABLE table_name_24 (laps VARCHAR, time_retired VARCHAR) | How many laps were ridden in the race that had a Time/Retired of +37.351? |
SELECT MIN(laps) FROM table_name_16 WHERE rider = "mattia pasini" | CREATE TABLE table_name_16 (laps INTEGER, rider VARCHAR) | How many laps did Mattia Pasini ride? |
SELECT position FROM table_name_58 WHERE appearances = 244 AND leeds_career = "1981–1989" | CREATE TABLE table_name_58 (position VARCHAR, appearances VARCHAR, leeds_career VARCHAR) | What position does the player who has made 244 appearances with a Leeds career of 1981–1989 play? |
SELECT position FROM table_name_56 WHERE appearances > 167 AND nationality = "wales" AND goals > 0 AND leeds_career = "1977–1982" | CREATE TABLE table_name_56 (position VARCHAR, leeds_career VARCHAR, goals VARCHAR, appearances VARCHAR, nationality VARCHAR) | What position does the Wales player who made more than 167 appearances, had more than 0 goals, and had a Leeds career from 1977–1982 play? |
SELECT AVG(goals) FROM table_name_68 WHERE leeds_career = "1960–1964" AND appearances < 120 | CREATE TABLE table_name_68 (goals INTEGER, leeds_career VARCHAR, appearances VARCHAR) | What is the average number of goals for a player who had a Leeds career from 1960–1964 and made fewer than 120 appearances? |
SELECT 2008 FROM table_name_15 WHERE 2005 = "deandria hill" | CREATE TABLE table_name_15 (Id VARCHAR) | Who attended the school in 2008, that Deandria Hill attended in 2005? |
SELECT 2006 FROM table_name_70 WHERE 2005 = "jasmine wilson" | CREATE TABLE table_name_70 (Id VARCHAR) | Who attended the school in 2006, that Jasmine Wilson attended in 2005? |
SELECT 2009 FROM table_name_60 WHERE 2007 = "lakita hall" | CREATE TABLE table_name_60 (Id VARCHAR) | Who attended the school in 2009, that Lakita Hall attended in 2007? |
SELECT 2007 FROM table_name_20 WHERE 2008 = "kiara spivey" | CREATE TABLE table_name_20 (Id VARCHAR) | Who attended the school in 2007, that Kiara Spivey attended in 2008? |
SELECT 2006 FROM table_name_32 WHERE 2007 = "whitney powell" | CREATE TABLE table_name_32 (Id VARCHAR) | Who attended the school in 2006, that Whitney Powell attended in 2007? |
SELECT 2008 FROM table_name_42 WHERE 2006 = "brikajdri wilson" | CREATE TABLE table_name_42 (Id VARCHAR) | Who attended the school in 2008, that Brikajdri Wilson attended in 2006? |
SELECT MIN(rank) FROM table_name_85 WHERE lane > 5 AND name = "elizabeth van welie" | CREATE TABLE table_name_85 (rank INTEGER, lane VARCHAR, name VARCHAR) | What is the lowest rank of a swimmer named Elizabeth Van Welie with a lane larger than 5? |
SELECT rank FROM table_name_35 WHERE time = "2:11.83" | CREATE TABLE table_name_35 (rank VARCHAR, time VARCHAR) | What is the rank of the swimmer with a time of 2:11.83? |
SELECT MIN(lane) FROM table_name_17 WHERE time = "2:07.57" AND rank > 1 | CREATE TABLE table_name_17 (lane INTEGER, time VARCHAR, rank VARCHAR) | What is the lowest lane of a swimmer with a time of 2:07.57 and a rank larger than 1? |
SELECT rank FROM table_name_34 WHERE name = "petria thomas" | CREATE TABLE table_name_34 (rank VARCHAR, name VARCHAR) | What is the rank of the swimmer named Petria Thomas? |
SELECT attendance FROM table_name_56 WHERE group_position = "3rd" | CREATE TABLE table_name_56 (attendance VARCHAR, group_position VARCHAR) | How many people were in attendance when the group position was 3rd? |
SELECT result_f___a FROM table_name_39 WHERE group_position = "1st" AND opponents = "dynamo kyiv" | CREATE TABLE table_name_39 (result_f___a VARCHAR, group_position VARCHAR, opponents VARCHAR) | What was the final score agains Dynamo Kyiv, when the group position was 1st? |
SELECT AVG(attendance) FROM table_name_51 WHERE date = "18 october 2000" | CREATE TABLE table_name_51 (attendance INTEGER, date VARCHAR) | What was the average attendance on 18 October 2000? |
SELECT player FROM table_name_35 WHERE year_s__won = "2007" | CREATE TABLE table_name_35 (player VARCHAR, year_s__won VARCHAR) | In 2007, what player won player of the year? |
SELECT year_s__won FROM table_name_45 WHERE player = "mike weir" | CREATE TABLE table_name_45 (year_s__won VARCHAR, player VARCHAR) | What year(s) did Mike Weir win player of the year? |
Subsets and Splits