conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_29743928_3 (assists INTEGER, country VARCHAR)" }, { "from": "human", "value": "How many is the high assist total for players from panama?" }, { "from": "gpt", "value": "SELECT MAX(assists) FROM table_29743928_3 WHERE country = \"Panama...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29728596_1 (result VARCHAR, away_team VARCHAR)" }, { "from": "human", "value": "What was the result of the home match against FK Rudar Ugljevik?" }, { "from": "gpt", "value": "SELECT result FROM table_29728596_1 WHERE away_team = \"FK ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29728596_1 (location VARCHAR, away_team VARCHAR)" }, { "from": "human", "value": "Where was the home match against FK Rudar Ugljevik played?" }, { "from": "gpt", "value": "SELECT location FROM table_29728596_1 WHERE away_team = \"FK Ru...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29728787_1 (la_roche VARCHAR, year VARCHAR)" }, { "from": "human", "value": "When 1971 is the year what is the la roche?" }, { "from": "gpt", "value": "SELECT la_roche FROM table_29728787_1 WHERE year = \"1971\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29728787_1 (clairon VARCHAR, label VARCHAR)" }, { "from": "human", "value": "When deutsche grammophon is the label how many clairons are there?" }, { "from": "gpt", "value": "SELECT COUNT(clairon) FROM table_29728787_1 WHERE label = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29728787_1 (conductor VARCHAR, count VARCHAR)" }, { "from": "human", "value": "When hermann uhde is the count who is the conductor?" }, { "from": "gpt", "value": "SELECT conductor FROM table_29728787_1 WHERE count = \"Hermann Uhde\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29728787_1 (conductor VARCHAR, olivier VARCHAR)" }, { "from": "human", "value": "When dietrich fischer-dieskau is the olivier who is the conductor?" }, { "from": "gpt", "value": "SELECT conductor FROM table_29728787_1 WHERE olivier = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29728787_1 (olivier VARCHAR, la_roche VARCHAR)" }, { "from": "human", "value": "When karl ridderbusch is the la roche who is the olivier?" }, { "from": "gpt", "value": "SELECT olivier FROM table_29728787_1 WHERE la_roche = \"Karl Ridde...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29753553_1 (year VARCHAR, sar_no VARCHAR)" }, { "from": "human", "value": "For what year is the SAR no. 874?" }, { "from": "gpt", "value": "SELECT year FROM table_29753553_1 WHERE sar_no = 874" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29747178_2 (written_by VARCHAR, directed_by VARCHAR)" }, { "from": "human", "value": "Who is the writer when the director is bob berlinger?" }, { "from": "gpt", "value": "SELECT written_by FROM table_29747178_2 WHERE directed_by = \"Bo...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29747178_2 (us_viewers__million_ VARCHAR, directed_by VARCHAR)" }, { "from": "human", "value": "How many millions of U.S viewers are there when the director is andy wolk?" }, { "from": "gpt", "value": "SELECT us_viewers__million_ FROM ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29747178_2 (series__number VARCHAR, directed_by VARCHAR)" }, { "from": "human", "value": "What is the series # when the director is john showalter?" }, { "from": "gpt", "value": "SELECT series__number FROM table_29747178_2 WHERE direct...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29747178_2 (title VARCHAR, series__number VARCHAR)" }, { "from": "human", "value": "What is the title when the series # is 7?" }, { "from": "gpt", "value": "SELECT title FROM table_29747178_2 WHERE series__number = 7" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29773532_21 (episode INTEGER, share_16_39 VARCHAR)" }, { "from": "human", "value": "Which episode had a share 16-19 of 23,22%?" }, { "from": "gpt", "value": "SELECT MAX(episode) FROM table_29773532_21 WHERE share_16_39 = \"23,22%\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29773532_21 (official_rating_16_39 VARCHAR, episode VARCHAR)" }, { "from": "human", "value": "What was the official rating 16-39 of episode 9?" }, { "from": "gpt", "value": "SELECT official_rating_16_39 FROM table_29773532_21 WHERE epi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29778616_1 (intro_date VARCHAR, interface VARCHAR)" }, { "from": "human", "value": "What is the intro date for the interface that equals pci?" }, { "from": "gpt", "value": "SELECT intro_date FROM table_29778616_1 WHERE interface = \"PC...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29778616_1 (intro_date VARCHAR, throughput VARCHAR)" }, { "from": "human", "value": "What is the intro date for the throughput of 16 mbit/s?" }, { "from": "gpt", "value": "SELECT intro_date FROM table_29778616_1 WHERE throughput = \"16...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29778616_1 (intro_date VARCHAR, price VARCHAR)" }, { "from": "human", "value": "How many intro dates have the price of 686€?" }, { "from": "gpt", "value": "SELECT COUNT(intro_date) FROM table_29778616_1 WHERE price = \"686€\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29778616_1 (price VARCHAR, manufacturer VARCHAR)" }, { "from": "human", "value": "What is the price for the manufacturer LETech?" }, { "from": "gpt", "value": "SELECT price FROM table_29778616_1 WHERE manufacturer = \"LETech\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29778616_1 (price__usd_ INTEGER, model VARCHAR)" }, { "from": "human", "value": "What is the price (usd) for the model pq32mu?" }, { "from": "gpt", "value": "SELECT MIN(price__usd_) FROM table_29778616_1 WHERE model = \"PQ32MU\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29778616_1 (manufacturer VARCHAR, intro_date VARCHAR, throughput VARCHAR)" }, { "from": "human", "value": "Who is the manufacturer whose intro date is 2006 and their throughput is 4 mbit/s?" }, { "from": "gpt", "value": "SELECT manufac...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29785324_5 (lok_sabha VARCHAR, vidhan_sabha_constituency VARCHAR)" }, { "from": "human", "value": "What was the Lok Sabha in Karakat (Vidhan Sabha Constituency)?" }, { "from": "gpt", "value": "SELECT lok_sabha FROM table_29785324_5 WHE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29785324_5 (constituency_no INTEGER, vidhan_sabha_constituency VARCHAR)" }, { "from": "human", "value": "How many were in the Kargahar (vidhan sabha constituency)?" }, { "from": "gpt", "value": "SELECT MIN(constituency_no) FROM table_2...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29785324_5 (district VARCHAR, constituency_no VARCHAR)" }, { "from": "human", "value": "What district has 213 constituents?" }, { "from": "gpt", "value": "SELECT COUNT(district) FROM table_29785324_5 WHERE constituency_no = 213" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29785324_5 (lok_sabha VARCHAR, constituency_no VARCHAR)" }, { "from": "human", "value": "How many Lok Sabha are in the one with 216 constituents?" }, { "from": "gpt", "value": "SELECT lok_sabha FROM table_29785324_5 WHERE constituency_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29789_3 (rank_2012 INTEGER, international_tourism_expenditure_2011 VARCHAR)" }, { "from": "human", "value": "How many countries spent at least $51.0 billion in international tourism in 2012?" }, { "from": "gpt", "value": "SELECT MAX(ra...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29789_3 (_percentage_change VARCHAR, international_tourism_expenditure_2012 VARCHAR)" }, { "from": "human", "value": "How many countries spent $83.7 billion on international tourism in 2012?" }, { "from": "gpt", "value": "SELECT COUNT(...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29789_3 (_percentage_change VARCHAR, international_tourism_expenditure_2011 VARCHAR)" }, { "from": "human", "value": "What was the percentage increase in spending on international tourism from 2011 to 2012 of the country that spent $85.9 billion i...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29789_3 (country VARCHAR, _percentage_change VARCHAR)" }, { "from": "human", "value": "Which country saw a 5.7% increase in spending on international tourism between 2011 and 2012?" }, { "from": "gpt", "value": "SELECT country FROM tab...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2979789_1 (other_apps INTEGER, league_goals VARCHAR)" }, { "from": "human", "value": "Name the most other apps for league goals being 1" }, { "from": "gpt", "value": "SELECT MAX(other_apps) FROM table_2979789_1 WHERE league_goals = 1" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2979789_1 (fa_cup_apps INTEGER, league_apps VARCHAR)" }, { "from": "human", "value": "Name the most fa cup apps for league apps being 27" }, { "from": "gpt", "value": "SELECT MAX(fa_cup_apps) FROM table_2979789_1 WHERE league_apps = 27...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2979789_1 (division VARCHAR, fa_cup_apps VARCHAR)" }, { "from": "human", "value": "Name the total number of division for fa cups being 9" }, { "from": "gpt", "value": "SELECT COUNT(division) FROM table_2979789_1 WHERE fa_cup_apps = 9" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29789_1 (international_tourist_arrivals__2012_ VARCHAR, country VARCHAR)" }, { "from": "human", "value": "How many international tourists visited Russia in 2012?" }, { "from": "gpt", "value": "SELECT international_tourist_arrivals__201...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29799700_2 (series_premiere VARCHAR, alternante_title VARCHAR)" }, { "from": "human", "value": "What was the premiere date for the episode whose alternate title was miłość i przeznaczenie?" }, { "from": "gpt", "value": "SELECT series_p...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29799700_2 (tv_network_s_ VARCHAR, series_finale VARCHAR)" }, { "from": "human", "value": "Which TV network had its series finale on May 7, 2012?" }, { "from": "gpt", "value": "SELECT tv_network_s_ FROM table_29799700_2 WHERE series_fi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29799700_2 (series_premiere VARCHAR, tv_network_s_ VARCHAR)" }, { "from": "human", "value": "What was the date of the series premiere whose TV network was TV3?" }, { "from": "gpt", "value": "SELECT series_premiere FROM table_29799700_2...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29799700_2 (tv_network_s_ VARCHAR, country VARCHAR)" }, { "from": "human", "value": "Which TV network has a country of origin of Iran?" }, { "from": "gpt", "value": "SELECT tv_network_s_ FROM table_29799700_2 WHERE country = \"Iran\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29799700_2 (series_finale VARCHAR, country VARCHAR)" }, { "from": "human", "value": "What was the date of the series finale for Peru?" }, { "from": "gpt", "value": "SELECT series_finale FROM table_29799700_2 WHERE country = \"Peru\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29803475_2 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)" }, { "from": "human", "value": "What is every original air date with U.S. viewers of 0.23 million?" }, { "from": "gpt", "value": "SELECT original_air_date FROM table...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29803475_2 (no_in_series INTEGER, us_viewers__million_ VARCHAR)" }, { "from": "human", "value": "What is the lowest number in series when U.S. viewers is 0.23 million?" }, { "from": "gpt", "value": "SELECT MIN(no_in_series) FROM table_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2980024_1 (total_apps VARCHAR, league_goals VARCHAR)" }, { "from": "human", "value": "What were the total apps for Dunne in season where he had 0 league goals? " }, { "from": "gpt", "value": "SELECT total_apps FROM table_2980024_1 WHER...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2980024_1 (league_goals VARCHAR, league_apps VARCHAR)" }, { "from": "human", "value": "How many league goals did Dunne have in the season where he had 2 league apps?" }, { "from": "gpt", "value": "SELECT league_goals FROM table_2980024...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2980024_1 (other_goals VARCHAR, league_goals VARCHAR)" }, { "from": "human", "value": "How many other goals did Dunne have in the season where he had 1 league goal?" }, { "from": "gpt", "value": "SELECT other_goals FROM table_2980024_1...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29846807_5 (record VARCHAR, team VARCHAR)" }, { "from": "human", "value": "When boston university is the team what is the record?" }, { "from": "gpt", "value": "SELECT record FROM table_29846807_5 WHERE team = \"Boston University\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29842201_1 (subject VARCHAR, highest_mark VARCHAR)" }, { "from": "human", "value": "What is the subject when the highest mark is 79?" }, { "from": "gpt", "value": "SELECT subject FROM table_29842201_1 WHERE highest_mark = 79" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29842201_1 (lowest_mark VARCHAR, _percentage_pass VARCHAR)" }, { "from": "human", "value": "How many lowest mark entries are there when % passed is 76?" }, { "from": "gpt", "value": "SELECT COUNT(lowest_mark) FROM table_29842201_1 WHER...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29826467_2 (lmp2_winning_team VARCHAR, flm_winning_team VARCHAR)" }, { "from": "human", "value": "if the flm winning team is no. 99 jmb racing what is the name of the lmp2 winning team " }, { "from": "gpt", "value": "SELECT lmp2_winni...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29846807_4 (high_rebounds VARCHAR, team VARCHAR)" }, { "from": "human", "value": "Who is every high rebound when the team is Mount St. Mary's?" }, { "from": "gpt", "value": "SELECT high_rebounds FROM table_29846807_4 WHERE team = \"Mou...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29857115_4 (position VARCHAR, singer VARCHAR)" }, { "from": "human", "value": "What position was serena abrami in?" }, { "from": "gpt", "value": "SELECT position FROM table_29857115_4 WHERE singer = \"Serena Abrami\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29857115_4 (singer VARCHAR)" }, { "from": "human", "value": "What was gabriella ferrone's result on the 5th evening?" }, { "from": "gpt", "value": "SELECT 5 AS th_evening FROM table_29857115_4 WHERE singer = \"Gabriella Ferrone\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2985714_2 (_number INTEGER)" }, { "from": "human", "value": "What is the maximum overall number?" }, { "from": "gpt", "value": "SELECT MAX(_number) FROM table_2985714_2" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2985714_2 (al_wehdat_wins INTEGER, _number VARCHAR)" }, { "from": "human", "value": "When the number is 2 what is the lowest amount of al-wedhat wins?" }, { "from": "gpt", "value": "SELECT MIN(al_wehdat_wins) FROM table_2985714_2 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2985714_2 (draws VARCHAR, tournament VARCHAR)" }, { "from": "human", "value": "When jordan fa cup is the tournament how many draws?" }, { "from": "gpt", "value": "SELECT COUNT(draws) FROM table_2985714_2 WHERE tournament = \"Jordan FA ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_298550_1 (area__km²_ INTEGER, capital VARCHAR)" }, { "from": "human", "value": "What is the highest value of area when capital is San Juan?" }, { "from": "gpt", "value": "SELECT MAX(area__km²_) FROM table_298550_1 WHERE capital = \"San...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_298550_1 (area__km²_ VARCHAR, population_density__per_km²_ VARCHAR)" }, { "from": "human", "value": "How many entries for area correspond to a population density of 207.9?" }, { "from": "gpt", "value": "SELECT COUNT(area__km²_) FROM ta...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_298550_1 (area__km²_ VARCHAR, capital VARCHAR)" }, { "from": "human", "value": "What is every entry for area if capital is Port-au-Prince?" }, { "from": "gpt", "value": "SELECT area__km²_ FROM table_298550_1 WHERE capital = \"Port-au-P...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_298550_1 (country_with_flag VARCHAR, population__1_july_2005_est_ VARCHAR)" }, { "from": "human", "value": "What is every country with a flag with population of 11346670?" }, { "from": "gpt", "value": "SELECT country_with_flag FROM tab...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_298550_1 (population__1_july_2005_est_ INTEGER, area__km²_ VARCHAR)" }, { "from": "human", "value": "What is the highest value for population when area is 9104?" }, { "from": "gpt", "value": "SELECT MAX(population__1_july_2005_est_) FR...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2985987_2 (date VARCHAR, race VARCHAR)" }, { "from": "human", "value": "What many times was the victoria derby raced?" }, { "from": "gpt", "value": "SELECT COUNT(date) FROM table_2985987_2 WHERE race = \"Victoria Derby\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2985987_2 (weight__kg_ VARCHAR, race VARCHAR)" }, { "from": "human", "value": "What is the autumn classic weight?" }, { "from": "gpt", "value": "SELECT weight__kg_ FROM table_2985987_2 WHERE race = \"Autumn Classic\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29897962_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)" }, { "from": "human", "value": "Who directed the episode that had 3.55 million viewers?" }, { "from": "gpt", "value": "SELECT directed_by FROM table_29897962_1 WHERE us_vi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_298883_5 (dimensions VARCHAR, value VARCHAR)" }, { "from": "human", "value": "What are the dimensions of the coin worth ₩200?" }, { "from": "gpt", "value": "SELECT dimensions FROM table_298883_5 WHERE value = \"₩200\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_298883_5 (date_of_issue VARCHAR, obverse VARCHAR)" }, { "from": "human", "value": "How many different dates of issue are the for the coin with kumsusan memorial palace on the obverse?" }, { "from": "gpt", "value": "SELECT COUNT(date_of...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_298883_5 (dimensions VARCHAR, obverse VARCHAR, date_of_issue VARCHAR)" }, { "from": "human", "value": "What are the dimensions of the coin issued in 1992 with kim il-sung on the obverse?" }, { "from": "gpt", "value": "SELECT dimensions...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_298883_5 (reverse VARCHAR, value VARCHAR)" }, { "from": "human", "value": "What is on the reverse side of the ₩500 coin?" }, { "from": "gpt", "value": "SELECT reverse FROM table_298883_5 WHERE value = \"₩500\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_298883_5 (reverse VARCHAR, value VARCHAR)" }, { "from": "human", "value": "What is on the reverse side of the ₩100 coin?" }, { "from": "gpt", "value": "SELECT reverse FROM table_298883_5 WHERE value = \"₩100\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_298883_5 (dimensions VARCHAR, reverse VARCHAR)" }, { "from": "human", "value": "What are the dimensions of the coin with western sea barrage and locks at taedong gang on the reverse side?" }, { "from": "gpt", "value": "SELECT dimension...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29860752_11 (name__namesake_ VARCHAR)" }, { "from": "human", "value": "What are all the name(namesakes) for the entire chart?" }, { "from": "gpt", "value": "SELECT name__namesake_ FROM table_29860752_11" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_299121_2 (tv_season VARCHAR, season VARCHAR)" }, { "from": "human", "value": "What TV season was the 1st season?" }, { "from": "gpt", "value": "SELECT tv_season FROM table_299121_2 WHERE season = \"1st\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_299121_2 (season VARCHAR)" }, { "from": "human", "value": "When was the 3rd season premiere originally aired?" }, { "from": "gpt", "value": "SELECT season AS premiere FROM table_299121_2 WHERE season = \"3rd\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_299121_2 (ranking VARCHAR, season VARCHAR)" }, { "from": "human", "value": "What was the 2nd's season's ranking?" }, { "from": "gpt", "value": "SELECT ranking FROM table_299121_2 WHERE season = \"2nd\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_299121_2 (season VARCHAR, viewers__in_millions_ VARCHAR)" }, { "from": "human", "value": "When did the season premiere that saw 8.4 million viewers first air?" }, { "from": "gpt", "value": "SELECT season AS premiere FROM table_299121_2...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29920800_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)" }, { "from": "human", "value": "Who directed the episode that was watched by 2.97 million U.S. viewers? " }, { "from": "gpt", "value": "SELECT directed_by FROM table_29920...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29920800_1 (original_air_date VARCHAR, written_by VARCHAR)" }, { "from": "human", "value": "What is the original air date of the episode written by Liz Feldman?" }, { "from": "gpt", "value": "SELECT original_air_date FROM table_2992080...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29920800_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)" }, { "from": "human", "value": "Who wrote the episode that was watched by 2.97 million U.S. viewers? " }, { "from": "gpt", "value": "SELECT written_by FROM table_29920800_1...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29920800_1 (us_viewers__million_ VARCHAR, written_by VARCHAR)" }, { "from": "human", "value": "How many millions of U.S viewers watched the episode written by Liz Feldman? " }, { "from": "gpt", "value": "SELECT us_viewers__million_ FRO...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_299271_2 (attendance VARCHAR, competition VARCHAR)" }, { "from": "human", "value": "How many people attended the uefa champions league competition?" }, { "from": "gpt", "value": "SELECT attendance FROM table_299271_2 WHERE competition ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29942205_1 (miss_international INTEGER, rank VARCHAR)" }, { "from": "human", "value": "How many women has reached the title of Miss International representing the country ranked as number 1?" }, { "from": "gpt", "value": "SELECT MIN(mi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29942205_1 (country_territory VARCHAR)" }, { "from": "human", "value": "How many women has got the first runner-up position in representation of Philippines?" }, { "from": "gpt", "value": "SELECT 1 AS st_runner_up FROM table_29942205_1...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29942205_1 (miss_international INTEGER)" }, { "from": "human", "value": "What is the lowest value in the miss international column?" }, { "from": "gpt", "value": "SELECT MIN(miss_international) FROM table_29942205_1" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29942205_1 (Id VARCHAR)" }, { "from": "human", "value": "What is the smallest quantity displayed under the title \"first runner-up\"?" }, { "from": "gpt", "value": "SELECT MIN(1 AS st_runner_up) FROM table_29942205_1" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29942205_1 (country_territory VARCHAR)" }, { "from": "human", "value": "How many women from Uruguay has become third runner-up in this pageant?" }, { "from": "gpt", "value": "SELECT MAX(3 AS rd_runner_up) FROM table_29942205_1 WHERE co...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29970488_2 (year VARCHAR, _number VARCHAR)" }, { "from": "human", "value": "What year was player number 10?" }, { "from": "gpt", "value": "SELECT year FROM table_29970488_2 WHERE _number = 10" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29970488_2 (hometown VARCHAR, previous_school VARCHAR)" }, { "from": "human", "value": "How many hometowns are there when Charis Prep was the previous school?" }, { "from": "gpt", "value": "SELECT COUNT(hometown) FROM table_29970488_2 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29970488_2 (weight___lb__ VARCHAR, hometown VARCHAR)" }, { "from": "human", "value": "How many different items appear in the weight column when Pittsburgh, PA is the hometown?" }, { "from": "gpt", "value": "SELECT COUNT(weight___lb__) ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29960651_5 (episode VARCHAR, no_for_season VARCHAR)" }, { "from": "human", "value": "Which episode is number 3 in the season?" }, { "from": "gpt", "value": "SELECT episode FROM table_29960651_5 WHERE no_for_season = 3" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29960651_5 (episode VARCHAR, no_for_series VARCHAR)" }, { "from": "human", "value": "What is the episode name for series number 45?" }, { "from": "gpt", "value": "SELECT episode FROM table_29960651_5 WHERE no_for_series = 45" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_30008638_1 (total INTEGER)" }, { "from": "human", "value": "What is the highest total for any country/territory? " }, { "from": "gpt", "value": "SELECT MAX(total) FROM table_30008638_1" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_30008638_1 (semifinalists VARCHAR, country_territory VARCHAR)" }, { "from": "human", "value": "How many semifinalists has Romania had? " }, { "from": "gpt", "value": "SELECT semifinalists FROM table_30008638_1 WHERE country_territory =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_30008638_1 (miss_water INTEGER, country_territory VARCHAR)" }, { "from": "human", "value": "How many Miss Waters has Canada had?" }, { "from": "gpt", "value": "SELECT MAX(miss_water) FROM table_30008638_1 WHERE country_territory = \"Ca...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_30008638_1 (miss_fire INTEGER)" }, { "from": "human", "value": "What is the most Miss Fires any country has had?" }, { "from": "gpt", "value": "SELECT MAX(miss_fire) FROM table_30008638_1" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_30008638_1 (miss_air INTEGER)" }, { "from": "human", "value": "What is the least amount of Miss Airs any country has had?" }, { "from": "gpt", "value": "SELECT MIN(miss_air) FROM table_30008638_1" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29982187_4 (high_assists VARCHAR, date VARCHAR)" }, { "from": "human", "value": "what re the high assists for january 29?" }, { "from": "gpt", "value": "SELECT high_assists FROM table_29982187_4 WHERE date = \"January 29\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29997127_4 (team VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What team did the suns play on April 21? " }, { "from": "gpt", "value": "SELECT team FROM table_29997127_4 WHERE date = \"April 21\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_29997127_4 (game INTEGER, location_attendance VARCHAR)" }, { "from": "human", "value": "In what game was the attendance at the America West Arena 18,756?" }, { "from": "gpt", "value": "SELECT MAX(game) FROM table_29997127_4 WHERE locat...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_300283_1 (official_name VARCHAR, name_in_basque VARCHAR)" }, { "from": "human", "value": "What is the official name of the municipality whose name in Basque is Bilar?" }, { "from": "gpt", "value": "SELECT official_name FROM table_30028...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_300283_1 (official_name VARCHAR, name_in_spanish VARCHAR)" }, { "from": "human", "value": "What is the official name of the municipality whose name in Spanish is Cripán?" }, { "from": "gpt", "value": "SELECT official_name FROM table_30...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_300283_1 (official_name VARCHAR, name_in_spanish VARCHAR)" }, { "from": "human", "value": "What is the official name of the municipality whose name in Spanish is Vitoria? " }, { "from": "gpt", "value": "SELECT official_name FROM table_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_300283_1 (name_in_basque VARCHAR, official_name VARCHAR)" }, { "from": "human", "value": "What is the name in Basque of the municipality whose official name is Kuartango? " }, { "from": "gpt", "value": "SELECT name_in_basque FROM table...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_300283_1 (ine_code INTEGER, official_name VARCHAR)" }, { "from": "human", "value": "What is the INE code of the municipality whose official name is Berantevilla? " }, { "from": "gpt", "value": "SELECT MAX(ine_code) FROM table_300283_1 ...
know_sql
chosen