question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
tell me the authority that has a decile less than 6 and roll less than 65. | CREATE TABLE table_name_43 (authority VARCHAR, decile VARCHAR, roll VARCHAR) | SELECT authority FROM table_name_43 WHERE decile < 6 AND roll < 65 |
tell me the average roll for pirinoa school. | CREATE TABLE table_name_83 (roll INTEGER, name VARCHAR) | SELECT AVG(roll) FROM table_name_83 WHERE name = "pirinoa school" |
tell me the total number of decile with a roll showing 251. | CREATE TABLE table_name_90 (decile VARCHAR, roll VARCHAR) | SELECT COUNT(decile) FROM table_name_90 WHERE roll = 251 |
What is the score for 2004? | CREATE TABLE table_name_69 (score VARCHAR, year VARCHAR) | SELECT score FROM table_name_69 WHERE year = 2004 |
what is the location when the champion is brigham young-hawaii, defeated is western oregon and the score is 3-0 (15-5, 15-9, 15-6)? | CREATE TABLE table_name_72 (location VARCHAR, score VARCHAR, champion VARCHAR, defeated VARCHAR) | SELECT location FROM table_name_72 WHERE champion = "brigham young-hawaii" AND defeated = "western oregon" AND score = "3-0 (15-5, 15-9, 15-6)" |
what is the year when the location is san diego, california and defeated is houston baptist (texas)? | CREATE TABLE table_name_96 (year VARCHAR, location VARCHAR, defeated VARCHAR) | SELECT COUNT(year) FROM table_name_96 WHERE location = "san diego, california" AND defeated = "houston baptist (texas)" |
Operation start of 2015 has what gross mw? | CREATE TABLE table_name_56 (gross_mw VARCHAR, operation_start VARCHAR) | SELECT gross_mw FROM table_name_56 WHERE operation_start = "2015" |
Gross MW of 220, and a Unit of kakrapar 1 involves what operation start? | CREATE TABLE table_name_44 (operation_start VARCHAR, gross_mw VARCHAR, unit VARCHAR) | SELECT operation_start FROM table_name_44 WHERE gross_mw = "220" AND unit = "kakrapar 1" |
Type of phase ii has what gross mw? | CREATE TABLE table_name_94 (gross_mw VARCHAR, type VARCHAR) | SELECT gross_mw FROM table_name_94 WHERE type = "phase ii" |
Construction start of phase i includes what type? | CREATE TABLE table_name_61 (type VARCHAR, construction_start VARCHAR) | SELECT type FROM table_name_61 WHERE construction_start = "phase i" |
Construction start of 1 december 1984 is what unit? | CREATE TABLE table_name_75 (unit VARCHAR, construction_start VARCHAR) | SELECT unit FROM table_name_75 WHERE construction_start = "1 december 1984" |
Construction start of phase ii has what operation start? | CREATE TABLE table_name_51 (operation_start VARCHAR, construction_start VARCHAR) | SELECT operation_start FROM table_name_51 WHERE construction_start = "phase ii" |
what's the ungen for ត្រីទស? | CREATE TABLE table_name_70 (ungegn VARCHAR, word_form VARCHAR) | SELECT ungegn FROM table_name_70 WHERE word_form = "ត្រីទស" |
what notes have the khmer ២៨? | CREATE TABLE table_name_59 (notes VARCHAR, khmer VARCHAR) | SELECT notes FROM table_name_59 WHERE khmer = "២៨" |
what's the ungegn for the ១០០ khmer? | CREATE TABLE table_name_23 (ungegn VARCHAR, khmer VARCHAR) | SELECT ungegn FROM table_name_23 WHERE khmer = "១០០" |
What was the population of Puerto Rico in 2010? | CREATE TABLE table_name_22 (population___2010__ INTEGER, territory VARCHAR) | SELECT MAX(population___2010__) FROM table_name_22 WHERE territory = "puerto rico" |
What is the territory that was acquired past 1899 and has a capital of saipan? | CREATE TABLE table_name_37 (territory VARCHAR, acquired VARCHAR, capital VARCHAR) | SELECT territory FROM table_name_37 WHERE acquired > 1899 AND capital = "saipan" |
Name the termination of mission for appointed by of franklin pierce | CREATE TABLE table_name_76 (termination_of_mission VARCHAR, appointed_by VARCHAR) | SELECT termination_of_mission FROM table_name_76 WHERE appointed_by = "franklin pierce" |
Name the representative with presentation of credentials of august 16, 1928 | CREATE TABLE table_name_45 (representative VARCHAR, presentation_of_credentials VARCHAR) | SELECT representative FROM table_name_45 WHERE presentation_of_credentials = "august 16, 1928" |
Name the representative appointed by george w. bush with presentation of credentials 9 november 2007 | CREATE TABLE table_name_65 (representative VARCHAR, appointed_by VARCHAR, presentation_of_credentials VARCHAR) | SELECT representative FROM table_name_65 WHERE appointed_by = "george w. bush" AND presentation_of_credentials = "9 november 2007" |
Name the title with representative edward h. strobel | CREATE TABLE table_name_21 (title VARCHAR, representative VARCHAR) | SELECT title FROM table_name_21 WHERE representative = "edward h. strobel" |
Which Country that has 600? | CREATE TABLE table_name_43 (country VARCHAR, money___$__ VARCHAR) | SELECT country FROM table_name_43 WHERE money___$__ = 600 |
What is the to par that has macdonald smith as the player? | CREATE TABLE table_name_41 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_41 WHERE player = "macdonald smith" |
Which country has t6 as a place and 75-70=145 as the score? | CREATE TABLE table_name_9 (country VARCHAR, place VARCHAR, score VARCHAR) | SELECT country FROM table_name_9 WHERE place = "t6" AND score = 75 - 70 = 145 |
What is the to par that has jimmy hines as the player? | CREATE TABLE table_name_46 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_46 WHERE player = "jimmy hines" |
Which score has t3 as the place? | CREATE TABLE table_name_27 (score VARCHAR, place VARCHAR) | SELECT score FROM table_name_27 WHERE place = "t3" |
Which place has horton smith as the player? | CREATE TABLE table_name_10 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_10 WHERE player = "horton smith" |
Which place has United States as the country and Craig Wood as the player? | CREATE TABLE table_name_88 (place VARCHAR, country VARCHAR, player VARCHAR) | SELECT place FROM table_name_88 WHERE country = "united states" AND player = "craig wood" |
What was the 2013 finish for the tournament that had a 2007 finish of A? | CREATE TABLE table_name_94 (Id VARCHAR) | SELECT 2013 FROM table_name_94 WHERE 2007 = "a" |
What was the 2012 finish in the US Open? | CREATE TABLE table_name_62 (tournament VARCHAR) | SELECT 2012 FROM table_name_62 WHERE tournament = "us open" |
Which tournament had a 2010 finish of 4R? | CREATE TABLE table_name_42 (tournament VARCHAR) | SELECT tournament FROM table_name_42 WHERE 2010 = "4r" |
What is the qualification for rank of 29 in 1957? | CREATE TABLE table_name_70 (qual VARCHAR, rank VARCHAR, year VARCHAR) | SELECT qual FROM table_name_70 WHERE rank = "29" AND year = "1957" |
What is the Place when the To par was +3 and Score was 74-73=147? | CREATE TABLE table_name_46 (place VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT place FROM table_name_46 WHERE to_par = "+3" AND score = 74 - 73 = 147 |
When the To par is E, what is the Score? | CREATE TABLE table_name_62 (score VARCHAR, to_par VARCHAR) | SELECT score FROM table_name_62 WHERE to_par = "e" |
What was Lloyd Mangrum's Score? | CREATE TABLE table_name_63 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_63 WHERE player = "lloyd mangrum" |
What Dave Douglas' Place? | CREATE TABLE table_name_66 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_66 WHERE player = "dave douglas" |
What's Chick Harbert's To par? | CREATE TABLE table_name_21 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_21 WHERE player = "chick harbert" |
What United States Player has a To par of +4 and a Score of 71-77=148? | CREATE TABLE table_name_67 (player VARCHAR, country VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT player FROM table_name_67 WHERE country = "united states" AND to_par = "+4" AND score = 71 - 77 = 148 |
What is South Korea's to par value? | CREATE TABLE table_name_69 (to_par VARCHAR, country VARCHAR) | SELECT to_par FROM table_name_69 WHERE country = "south korea" |
What are Tiger Woods' average earnings? | CREATE TABLE table_name_86 (money___ INTEGER, player VARCHAR) | SELECT AVG(money___) AS $__ FROM table_name_86 WHERE player = "tiger woods" |
What's the method for a record of 4-2 and round smaller than 3? | CREATE TABLE table_name_78 (method VARCHAR, round VARCHAR, record VARCHAR) | SELECT method FROM table_name_78 WHERE round < 3 AND record = "4-2" |
Where's the location for the opponent James Zikic and 3 rounds? | CREATE TABLE table_name_99 (location VARCHAR, round VARCHAR, opponent VARCHAR) | SELECT location FROM table_name_99 WHERE round = 3 AND opponent = "james zikic" |
Name the spouse for louise of hesse-kassel | CREATE TABLE table_name_83 (spouse VARCHAR, name VARCHAR) | SELECT spouse FROM table_name_83 WHERE name = "louise of hesse-kassel" |
Name the became consort for christian ix spouse | CREATE TABLE table_name_31 (became_consort VARCHAR, spouse VARCHAR) | SELECT became_consort FROM table_name_31 WHERE spouse = "christian ix" |
Name the marriagefor ceased to be consort of 29 september 1898 | CREATE TABLE table_name_6 (marriage VARCHAR, ceased_to_be_consort VARCHAR) | SELECT marriage FROM table_name_6 WHERE ceased_to_be_consort = "29 september 1898" |
Tell me the name of the person married to frederick ix | CREATE TABLE table_name_71 (name VARCHAR, spouse VARCHAR) | SELECT name FROM table_name_71 WHERE spouse = "frederick ix" |
Name the birth of the person married 24 may 1935 | CREATE TABLE table_name_8 (birth VARCHAR, marriage VARCHAR) | SELECT birth FROM table_name_8 WHERE marriage = "24 may 1935" |
What was the rank of the player in lane 6? | CREATE TABLE table_name_73 (rank INTEGER, lane VARCHAR) | SELECT AVG(rank) FROM table_name_73 WHERE lane = 6 |
Name the average year with Laps of 6 | CREATE TABLE table_name_11 (year INTEGER, laps VARCHAR) | SELECT AVG(year) FROM table_name_11 WHERE laps = 6 |
Which Language has a Number of 553 633? | CREATE TABLE table_name_64 (language VARCHAR, number VARCHAR) | SELECT language FROM table_name_64 WHERE number = "553 633" |
Which Males have a percentage of 0.42? | CREATE TABLE table_name_76 (males VARCHAR, percentage___percentage_ VARCHAR) | SELECT males FROM table_name_76 WHERE percentage___percentage_ = "0.42" |
What's the Language with a percentage of 6.49? | CREATE TABLE table_name_69 (language VARCHAR, percentage___percentage_ VARCHAR) | SELECT language FROM table_name_69 WHERE percentage___percentage_ = "6.49" |
What Number has a Language listed as other? | CREATE TABLE table_name_33 (number VARCHAR, language VARCHAR) | SELECT number FROM table_name_33 WHERE language = "other" |
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? | CREATE TABLE table_name_28 (gold INTEGER, silver VARCHAR, nation VARCHAR, total VARCHAR, bronze VARCHAR) | SELECT MAX(gold) FROM table_name_28 WHERE total > 3 AND bronze < 3 AND nation = "belarus" AND silver > 2 |
with silver count at 0, what is the lowest bronze count? | CREATE TABLE table_name_82 (bronze INTEGER, silver INTEGER) | SELECT MIN(bronze) FROM table_name_82 WHERE silver < 0 |
what is the gold count with total less than 3 and more than 1 silver? | CREATE TABLE table_name_68 (gold INTEGER, total VARCHAR, silver VARCHAR) | SELECT MIN(gold) FROM table_name_68 WHERE total < 3 AND silver > 1 |
Who built the ship that is 42.8 m long and was delivered in 2007? | CREATE TABLE table_name_83 (builder VARCHAR, length VARCHAR, delivery VARCHAR) | SELECT builder FROM table_name_83 WHERE length = "42.8 m" AND delivery = 2007 |
Who was the Human Resources & Operations person between 2003-2004? | CREATE TABLE table_name_14 (human_resources_ VARCHAR, _operations VARCHAR, year VARCHAR) | SELECT human_resources_ & _operations FROM table_name_14 WHERE year = "2003-2004" |
Who was in local affairs when the Human Resources & Operations was N. Charles Hamilton? | CREATE TABLE table_name_9 (local_affairs VARCHAR, human_resources_ VARCHAR, _operations VARCHAR) | SELECT local_affairs FROM table_name_9 WHERE human_resources_ & _operations = "n. charles hamilton" |
Who was in Human Resources & Operations when David Hornsby was in Academic & University Affairs? | CREATE TABLE table_name_56 (human_resources_ VARCHAR, _operations VARCHAR, academic_ VARCHAR, _university_affairs VARCHAR) | SELECT human_resources_ & _operations FROM table_name_56 WHERE academic_ & _university_affairs = "david hornsby" |
Who was in external affairs when Jakki Doyle was in Human Resources & Operations? | CREATE TABLE table_name_81 (external_affairs VARCHAR, human_resources_ VARCHAR, _operations VARCHAR) | SELECT external_affairs FROM table_name_81 WHERE human_resources_ & _operations = "jakki doyle" |
Who was in local affairs in 2012-2013? | CREATE TABLE table_name_9 (local_affairs VARCHAR, year VARCHAR) | SELECT local_affairs FROM table_name_9 WHERE year = "2012-2013" |
Who was in Academic & University Affairs when Andrew Langille was in local affairs? | CREATE TABLE table_name_72 (academic_ VARCHAR, _university_affairs VARCHAR, local_affairs VARCHAR) | SELECT academic_ & _university_affairs FROM table_name_72 WHERE local_affairs = "andrew langille" |
Which Perth's gold coast and Adelaide were yes when Auckland was no? | CREATE TABLE table_name_51 (perth VARCHAR, auckland VARCHAR, gold_coast VARCHAR, adelaide VARCHAR) | SELECT perth FROM table_name_51 WHERE gold_coast = "yes" AND adelaide = "yes" AND auckland = "no" |
Which Melbourne had a gold coast and sydney which were yes, but an adelaide that was no? | CREATE TABLE table_name_59 (melbourne VARCHAR, sydney VARCHAR, gold_coast VARCHAR, adelaide VARCHAR) | SELECT melbourne FROM table_name_59 WHERE gold_coast = "yes" AND adelaide = "no" AND sydney = "yes" |
Which Adelaide's Melbourne and Perth were yes when Auckland was no? | CREATE TABLE table_name_20 (adelaide VARCHAR, perth VARCHAR, melbourne VARCHAR, auckland VARCHAR) | SELECT adelaide FROM table_name_20 WHERE melbourne = "yes" AND auckland = "no" AND perth = "yes" |
Which Sydney's Melbourne was no, when Auckland was yes? | CREATE TABLE table_name_94 (sydney VARCHAR, melbourne VARCHAR, auckland VARCHAR) | SELECT sydney FROM table_name_94 WHERE melbourne = "no" AND auckland = "yes" |
Which Syndney's Gold coast, Adelaide, Melbourne, and Auckland were all no? | CREATE TABLE table_name_47 (sydney VARCHAR, auckland VARCHAR, melbourne VARCHAR, gold_coast VARCHAR, adelaide VARCHAR) | SELECT sydney FROM table_name_47 WHERE gold_coast = "no" AND adelaide = "no" AND melbourne = "no" AND auckland = "no" |
Which Adelaide's Melbourne, Sydney, and Gold Coast were all no? | CREATE TABLE table_name_30 (adelaide VARCHAR, gold_coast VARCHAR, melbourne VARCHAR, sydney VARCHAR) | SELECT adelaide FROM table_name_30 WHERE melbourne = "no" AND sydney = "no" AND gold_coast = "no" |
Name the date which has type of plain stage | CREATE TABLE table_name_2 (date VARCHAR, type VARCHAR) | SELECT date FROM table_name_2 WHERE type = "plain stage" |
Name the distance for Course of vittorio veneto to marina romea | CREATE TABLE table_name_3 (distance VARCHAR, course VARCHAR) | SELECT distance FROM table_name_3 WHERE course = "vittorio veneto to marina romea" |
Who was the partner that played a match on a grass court? | CREATE TABLE table_name_52 (partner VARCHAR, surface VARCHAR) | SELECT partner FROM table_name_52 WHERE surface = "grass" |
What was the score of the match in which mardy fish was the partner? | CREATE TABLE table_name_72 (score VARCHAR, partner VARCHAR) | SELECT score FROM table_name_72 WHERE partner = "mardy fish" |
Who were the opponents in the match that was played on a hard court and had a runner-up outcome? | CREATE TABLE table_name_84 (opponents VARCHAR, surface VARCHAR, outcome VARCHAR) | SELECT opponents FROM table_name_84 WHERE surface = "hard" AND outcome = "runner-up" |
What is the time when the opponent is phil collins? | CREATE TABLE table_name_86 (time VARCHAR, opponent VARCHAR) | SELECT time FROM table_name_86 WHERE opponent = "phil collins" |
what is the total number of rounds when method is tko (punches) and time is 0:40? | CREATE TABLE table_name_22 (round VARCHAR, method VARCHAR, time VARCHAR) | SELECT COUNT(round) FROM table_name_22 WHERE method = "tko (punches)" AND time = "0:40" |
what is the method when the time is 0:51? | CREATE TABLE table_name_5 (method VARCHAR, time VARCHAR) | SELECT method FROM table_name_5 WHERE time = "0:51" |
what is the time when the event is bellator 89? | CREATE TABLE table_name_15 (time VARCHAR, event VARCHAR) | SELECT time FROM table_name_15 WHERE event = "bellator 89" |
Name the average debt as % of value for operating income more than -16 and % change on year being 62 | CREATE TABLE table_name_7 (debt_as__percentage_of_value INTEGER, _percentage_change_on_year VARCHAR, operating_income__$m_ VARCHAR) | SELECT AVG(debt_as__percentage_of_value) FROM table_name_7 WHERE _percentage_change_on_year = "62" AND operating_income__$m_ > -16 |
Name the country where % change on year is 21 and value is less than 86 | CREATE TABLE table_name_12 (country VARCHAR, debt_as__percentage_of_value VARCHAR, _percentage_change_on_year VARCHAR) | SELECT country FROM table_name_12 WHERE debt_as__percentage_of_value < 86 AND _percentage_change_on_year = "21" |
Name the total number of revenue for italy with team of internazionale with operating income less than 27 | CREATE TABLE table_name_21 (revenue__ VARCHAR, operating_income__$m_ VARCHAR, country VARCHAR, team VARCHAR) | SELECT COUNT(revenue__) AS $m_ FROM table_name_21 WHERE country = "italy" AND team = "internazionale" AND operating_income__$m_ < 27 |
Name the most revenue for operating income more than 27 for hamburg and debt as % of value less than 0 | CREATE TABLE table_name_92 (revenue__ INTEGER, debt_as__percentage_of_value VARCHAR, operating_income__$m_ VARCHAR, team VARCHAR) | SELECT MAX(revenue__) AS $m_ FROM table_name_92 WHERE operating_income__$m_ > 27 AND team = "hamburg" AND debt_as__percentage_of_value < 0 |
What is the result for an H/A of H and a round value of R6 replay? | CREATE TABLE table_name_29 (result VARCHAR, h___a VARCHAR, round VARCHAR) | SELECT result FROM table_name_29 WHERE h___a = "h" AND round = "r6 replay" |
What was the kickoff date for the round value of R4? | CREATE TABLE table_name_23 (kick_off VARCHAR, round VARCHAR) | SELECT kick_off FROM table_name_23 WHERE round = "r4" |
What country was Henry Picard from? | CREATE TABLE table_name_22 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_22 WHERE player = "henry picard" |
Name the sum of inversions for opened of april 20, 2002 | CREATE TABLE table_name_89 (inversions INTEGER, opened VARCHAR) | SELECT SUM(inversions) FROM table_name_89 WHERE opened = "april 20, 2002" |
Name the opened for spain | CREATE TABLE table_name_59 (opened VARCHAR, country VARCHAR) | SELECT opened FROM table_name_59 WHERE country = "spain" |
Name the status for six flags new england | CREATE TABLE table_name_29 (status VARCHAR, park VARCHAR) | SELECT status FROM table_name_29 WHERE park = "six flags new england" |
Name the to par with money of 200,000 for australia | CREATE TABLE table_name_30 (to_par VARCHAR, money___£__ VARCHAR, country VARCHAR) | SELECT to_par FROM table_name_30 WHERE money___£__ = "200,000" AND country = "australia" |
Name the money for ireland | CREATE TABLE table_name_73 (money___£__ VARCHAR, country VARCHAR) | SELECT money___£__ FROM table_name_73 WHERE country = "ireland" |
Name the money for pádraig harrington | CREATE TABLE table_name_56 (money___£__ VARCHAR, player VARCHAR) | SELECT money___£__ FROM table_name_56 WHERE player = "pádraig harrington" |
Name the to par for score of 69-73-68-70=280 | CREATE TABLE table_name_84 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_84 WHERE score = 69 - 73 - 68 - 70 = 280 |
Name the money for the to par of -6 | CREATE TABLE table_name_49 (money___£__ VARCHAR, to_par VARCHAR) | SELECT money___£__ FROM table_name_49 WHERE to_par = "-6" |
On what date or dates did the term with the Centre Party end? | CREATE TABLE table_name_85 (term_end VARCHAR, party VARCHAR) | SELECT term_end FROM table_name_85 WHERE party = "centre party" |
When did the term end for the term that had government 27 and Minister Tzachi Hanegbi? | CREATE TABLE table_name_72 (term_end VARCHAR, governments VARCHAR, minister VARCHAR) | SELECT term_end FROM table_name_72 WHERE governments = "27" AND minister = "tzachi hanegbi" |
What is the location/state of the race on the Wanneroo raceway? | CREATE TABLE table_name_5 (location___state VARCHAR, circuit VARCHAR) | SELECT location___state FROM table_name_5 WHERE circuit = "wanneroo raceway" |
What is the location/state of the Launceston race? | CREATE TABLE table_name_60 (location___state VARCHAR, race_title VARCHAR) | SELECT location___state FROM table_name_60 WHERE race_title = "launceston" |
What is the team of winner Dick Johnson? | CREATE TABLE table_name_55 (team VARCHAR, winner VARCHAR) | SELECT team FROM table_name_55 WHERE winner = "dick johnson" |
What is the race title of the Oran Park raceway circuit with team jps team bmw? | CREATE TABLE table_name_8 (race_title VARCHAR, team VARCHAR, circuit VARCHAR) | SELECT race_title FROM table_name_8 WHERE team = "jps team bmw" AND circuit = "oran park raceway" |
Name the total number of population hervey bay with population woocoo less than 640 and population of maryborough less than 19,257 | CREATE TABLE table_name_94 (population__hervey_bay_ VARCHAR, population__woocoo_ VARCHAR, population__maryborough_ VARCHAR) | SELECT COUNT(population__hervey_bay_) FROM table_name_94 WHERE population__woocoo_ < 640 AND population__maryborough_ < 19 OFFSET 257 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.