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