conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_19396259_1 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR)" }, { "from": "human", "value": "Name the title directed by charles beeson by jeremy carver" }, { "from": "gpt", "value": "SELECT title FROM table_19396259_1 WHERE dir...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19396259_1 (directed_by VARCHAR, production_code VARCHAR)" }, { "from": "human", "value": "Name the directed by for production code for 3t7509" }, { "from": "gpt", "value": "SELECT directed_by FROM table_19396259_1 WHERE production_cod...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19401346_1 (no_in_season VARCHAR, original_air_date VARCHAR)" }, { "from": "human", "value": "What's the season number of the episode originally aired on October 14, 2008?" }, { "from": "gpt", "value": "SELECT no_in_season FROM table_1...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19401346_1 (title VARCHAR, original_air_date VARCHAR)" }, { "from": "human", "value": "What's the title of the episode originally aired on September 23, 2008?" }, { "from": "gpt", "value": "SELECT title FROM table_19401346_1 WHERE orig...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19401346_1 (no_in_series INTEGER, us_viewers__millions_ VARCHAR)" }, { "from": "human", "value": "What's the series number of the episode seen by 9.35 million people in the US?" }, { "from": "gpt", "value": "SELECT MIN(no_in_series) FR...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19401346_1 (title VARCHAR, production_code VARCHAR)" }, { "from": "human", "value": "What's the title of the episode with production code 10018?" }, { "from": "gpt", "value": "SELECT title FROM table_19401346_1 WHERE production_code = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19401346_1 (us_viewers__millions_ VARCHAR, no_in_season VARCHAR)" }, { "from": "human", "value": "How many millions of people in the US saw the episode with season number 1?" }, { "from": "gpt", "value": "SELECT us_viewers__millions_ F...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1940144_1 (change_since_2006 VARCHAR, urban_area VARCHAR)" }, { "from": "human", "value": "How many places has the rank changed since 2006, for Clane? " }, { "from": "gpt", "value": "SELECT change_since_2006 FROM table_1940144_1 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1940144_1 (county VARCHAR, population_2011 VARCHAR)" }, { "from": "human", "value": "In what counties is the 2011 population 17908?" }, { "from": "gpt", "value": "SELECT county FROM table_1940144_1 WHERE population_2011 = 17908" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1940144_1 (urban_area VARCHAR, population_2011 VARCHAR)" }, { "from": "human", "value": "In what urban area is the 2011 population 21561? " }, { "from": "gpt", "value": "SELECT urban_area FROM table_1940144_1 WHERE population_2011 = 21...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1940144_1 (change_since_2006 VARCHAR, county VARCHAR)" }, { "from": "human", "value": "How many places did the rank change since 22006 for County Leitrim? " }, { "from": "gpt", "value": "SELECT COUNT(change_since_2006) FROM table_19401...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1940144_1 (urban_area VARCHAR, population_2011 VARCHAR)" }, { "from": "human", "value": "Which urban area has a 2011 population of 5010? " }, { "from": "gpt", "value": "SELECT urban_area FROM table_1940144_1 WHERE population_2011 = 501...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19398910_4 (event VARCHAR, bout_2 VARCHAR)" }, { "from": "human", "value": "wich were the events when bout 2 was zhang ( chn ) l 0-5?" }, { "from": "gpt", "value": "SELECT event FROM table_19398910_4 WHERE bout_2 = \"Zhang ( CHN ) L 0-...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19398910_4 (bout_1 VARCHAR, bout_5 VARCHAR)" }, { "from": "human", "value": "Which were the bout 1 when the bout 5 was andreev ( rus ) w 5-2?" }, { "from": "gpt", "value": "SELECT bout_1 FROM table_19398910_4 WHERE bout_5 = \"Andreev (...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19398910_4 (class VARCHAR, bout_6 VARCHAR)" }, { "from": "human", "value": "when Sanchez ( esp ) w 5-0 were the bout 6, which were the class?" }, { "from": "gpt", "value": "SELECT class FROM table_19398910_4 WHERE bout_6 = \"Sanchez ( ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19418696_3 (attempts INTEGER, name VARCHAR)" }, { "from": "human", "value": "How many attempts for Bobby Layne?" }, { "from": "gpt", "value": "SELECT MIN(attempts) FROM table_19418696_3 WHERE name = \"Bobby Layne\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19418696_3 (interceptions INTEGER)" }, { "from": "human", "value": "What is the highest number of interceptions?" }, { "from": "gpt", "value": "SELECT MAX(interceptions) FROM table_19418696_3" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19418696_3 (yards INTEGER, name VARCHAR)" }, { "from": "human", "value": "How many total yards for Bobby Layne?" }, { "from": "gpt", "value": "SELECT MAX(yards) FROM table_19418696_3 WHERE name = \"Bobby Layne\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19418696_3 (name VARCHAR, qb_rating VARCHAR)" }, { "from": "human", "value": "Which QB had a rating of 72.3?" }, { "from": "gpt", "value": "SELECT name FROM table_19418696_3 WHERE qb_rating = \"72.3\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19418696_3 (qb_rating VARCHAR, completions VARCHAR)" }, { "from": "human", "value": "How many QB ratings for the player with 1069 completions?" }, { "from": "gpt", "value": "SELECT COUNT(qb_rating) FROM table_19418696_3 WHERE completio...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19418696_3 (yards VARCHAR, qb_rating VARCHAR)" }, { "from": "human", "value": "How many yardage figures for the player with 72.3 QB rating?" }, { "from": "gpt", "value": "SELECT COUNT(yards) FROM table_19418696_3 WHERE qb_rating = \"72...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1941183_2 (game_site VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "In how many locations was the game against Barcelona Dragons played?" }, { "from": "gpt", "value": "SELECT COUNT(game_site) FROM table_1941183_2 WHERE opp...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19412902_1 (pos VARCHAR, member_association VARCHAR)" }, { "from": "human", "value": "how many posiitions did saudi arabia land on" }, { "from": "gpt", "value": "SELECT COUNT(pos) FROM table_19412902_1 WHERE member_association = \"Saud...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19412902_1 (play_off VARCHAR, group_stage VARCHAR, clubs VARCHAR)" }, { "from": "human", "value": "what is the play-off in group stage 4 and clubs is 12" }, { "from": "gpt", "value": "SELECT play_off FROM table_19412902_1 WHERE group_s...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19412902_1 (group_stage VARCHAR, play_off VARCHAR, clubs VARCHAR)" }, { "from": "human", "value": "which group stage was there 0 play-offs and 12 clubs played in it" }, { "from": "gpt", "value": "SELECT COUNT(group_stage) FROM table_19...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19412902_1 (clubs VARCHAR, group_stage VARCHAR, member_association VARCHAR)" }, { "from": "human", "value": "which club in group stage 4 had member association iran" }, { "from": "gpt", "value": "SELECT clubs FROM table_19412902_1 WHER...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19417244_2 (written_by VARCHAR, us_viewers__millions_ VARCHAR)" }, { "from": "human", "value": "who write the episode that have 14.39 million viewers" }, { "from": "gpt", "value": "SELECT written_by FROM table_19417244_2 WHERE us_viewe...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19417244_2 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)" }, { "from": "human", "value": "who directed the episode that have 14.59 million viewers" }, { "from": "gpt", "value": "SELECT directed_by FROM table_19417244_2 WHERE us_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19417244_2 (written_by VARCHAR, no_in_season VARCHAR)" }, { "from": "human", "value": "who write the episode 5 in no. in season" }, { "from": "gpt", "value": "SELECT written_by FROM table_19417244_2 WHERE no_in_season = 5" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19412902_2 (clubs VARCHAR, member_association VARCHAR)" }, { "from": "human", "value": "How many clubs are there in the Korea Republic?" }, { "from": "gpt", "value": "SELECT clubs FROM table_19412902_2 WHERE member_association = \"Kore...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19412902_2 (pos INTEGER, points__total_500_ VARCHAR)" }, { "from": "human", "value": "At what position is the association with 279 points?" }, { "from": "gpt", "value": "SELECT MIN(pos) FROM table_19412902_2 WHERE points__total_500_ = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19412902_2 (pos INTEGER)" }, { "from": "human", "value": "What is the lowest position?" }, { "from": "gpt", "value": "SELECT MAX(pos) FROM table_19412902_2" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1942683_1 (year_opened INTEGER)" }, { "from": "human", "value": "What is the earliest year a house opened?" }, { "from": "gpt", "value": "SELECT MIN(year_opened) FROM table_1942683_1" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1942683_1 (house_colour VARCHAR, house_name VARCHAR)" }, { "from": "human", "value": "How many house colours are associated with house names of Hillary?" }, { "from": "gpt", "value": "SELECT COUNT(house_colour) FROM table_1942683_1 WHE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1942683_1 (house_colour VARCHAR, house_name VARCHAR)" }, { "from": "human", "value": "What is the house colour associated with the house name of Kupe?" }, { "from": "gpt", "value": "SELECT house_colour FROM table_1942683_1 WHERE house_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1942683_1 (house_mascot VARCHAR, house_colour VARCHAR)" }, { "from": "human", "value": "How many house mascots are associated with yellow house colours?" }, { "from": "gpt", "value": "SELECT COUNT(house_mascot) FROM table_1942683_1 WHE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19485888_1 (title__french_____english_ VARCHAR, b_b_ VARCHAR, _corresponds_to_tf1s_broadcast_schedule VARCHAR)" }, { "from": "human", "value": "what is the title of the episode where b b is 20/16" }, { "from": "gpt", "value": "SELECT t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19451173_1 (losses INTEGER, team VARCHAR)" }, { "from": "human", "value": "What is the minimum losses for the Kansas City Chiefs?" }, { "from": "gpt", "value": "SELECT MIN(losses) FROM table_19451173_1 WHERE team = \"Kansas City Chiefs...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19451173_1 (division_titles VARCHAR, win_pct VARCHAR)" }, { "from": "human", "value": "How many division titles are there when the win pc is .558?" }, { "from": "gpt", "value": "SELECT division_titles FROM table_19451173_1 WHERE win_pc...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19457_1 (villages VARCHAR, state_region VARCHAR)" }, { "from": "human", "value": "How many villages are there in the Magway region?" }, { "from": "gpt", "value": "SELECT villages FROM table_19457_1 WHERE state_region = \"Magway Region\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19457_1 (town_ships INTEGER, no VARCHAR)" }, { "from": "human", "value": "How many townships are there in region number 2?" }, { "from": "gpt", "value": "SELECT MAX(town_ships) FROM table_19457_1 WHERE no = 2" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19457_1 (town_ships INTEGER, village_groups VARCHAR)" }, { "from": "human", "value": "How many townships are there in the region with 376 village groups?" }, { "from": "gpt", "value": "SELECT MAX(town_ships) FROM table_19457_1 WHERE vi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19487922_1 (poles INTEGER, country VARCHAR)" }, { "from": "human", "value": "How many poles for the Netherlands?" }, { "from": "gpt", "value": "SELECT MAX(poles) FROM table_19487922_1 WHERE country = \"Netherlands\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19487922_1 (seasons VARCHAR, country VARCHAR)" }, { "from": "human", "value": "How many seasons for Monaco?" }, { "from": "gpt", "value": "SELECT seasons FROM table_19487922_1 WHERE country = \"Monaco\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19487922_1 (name VARCHAR, country VARCHAR, race_entries__starts_ VARCHAR)" }, { "from": "human", "value": "Who is the competitor from France with 10 starts?" }, { "from": "gpt", "value": "SELECT name FROM table_19487922_1 WHERE country...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1949746_1 (call_sign VARCHAR, frequency VARCHAR)" }, { "from": "human", "value": "When 1180 am is the frequency how many call signs are there?" }, { "from": "gpt", "value": "SELECT COUNT(call_sign) FROM table_1949746_1 WHERE frequency ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1949746_1 (licensee VARCHAR, city_of_license VARCHAR)" }, { "from": "human", "value": "When portsmouth is the city of license who is the licensee?" }, { "from": "gpt", "value": "SELECT licensee FROM table_1949746_1 WHERE city_of_licens...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1949746_1 (format VARCHAR, frequency VARCHAR)" }, { "from": "human", "value": "When 790 am is the frequency what is the format?" }, { "from": "gpt", "value": "SELECT format FROM table_1949746_1 WHERE frequency = \"790 AM\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1949746_1 (licensee VARCHAR, frequency VARCHAR)" }, { "from": "human", "value": "When 90.7 fm is the frequency who is the licensee?" }, { "from": "gpt", "value": "SELECT licensee FROM table_1949746_1 WHERE frequency = \"90.7 FM\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19487922_2 (total_drivers VARCHAR, country VARCHAR)" }, { "from": "human", "value": "How many drivers does India have/" }, { "from": "gpt", "value": "SELECT COUNT(total_drivers) FROM table_19487922_2 WHERE country = \"India\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19487922_2 (championships VARCHAR, country VARCHAR)" }, { "from": "human", "value": "How many championships does Pakistan have?" }, { "from": "gpt", "value": "SELECT COUNT(championships) FROM table_19487922_2 WHERE country = \"Pakistan...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19487922_2 (current_march_20 VARCHAR, _2010 VARCHAR, country VARCHAR)" }, { "from": "human", "value": "How many current drivers, as of March 20, 2010 does Denmark have?" }, { "from": "gpt", "value": "SELECT current_march_20, _2010 FROM...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19487922_2 (championships INTEGER)" }, { "from": "human", "value": "What in the minimum number of championships won by a nation?" }, { "from": "gpt", "value": "SELECT MIN(championships) FROM table_19487922_2" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1949994_7 (country VARCHAR, end_date VARCHAR)" }, { "from": "human", "value": "Where was the season that ended on June 25 located?" }, { "from": "gpt", "value": "SELECT country FROM table_1949994_7 WHERE end_date = \"June 25\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1949994_7 (start_date VARCHAR, end_date VARCHAR)" }, { "from": "human", "value": "When did the season that end in July ? start?" }, { "from": "gpt", "value": "SELECT start_date FROM table_1949994_7 WHERE end_date = \"July ?\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1949994_7 (premiere_air_dates VARCHAR, format VARCHAR)" }, { "from": "human", "value": "When did the season with 1 team format premiere?" }, { "from": "gpt", "value": "SELECT premiere_air_dates FROM table_1949994_7 WHERE format = \"1 T...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1949994_7 (format VARCHAR, end_date VARCHAR)" }, { "from": "human", "value": "What's the format of the season that ended on June 25?" }, { "from": "gpt", "value": "SELECT format FROM table_1949994_7 WHERE end_date = \"June 25\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1949994_7 (premiere_air_dates VARCHAR, no VARCHAR)" }, { "from": "human", "value": "What's season 3's premiere date?" }, { "from": "gpt", "value": "SELECT premiere_air_dates FROM table_1949994_7 WHERE no = 3" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1949994_7 (premiere_air_dates VARCHAR, country VARCHAR)" }, { "from": "human", "value": "When did the season located in the Netherlands premier?" }, { "from": "gpt", "value": "SELECT premiere_air_dates FROM table_1949994_7 WHERE countr...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19501664_1 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)" }, { "from": "human", "value": "Name the viewers for the episode directed by tony phelan" }, { "from": "gpt", "value": "SELECT us_viewers__millions_ FROM table_19501664_1...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19501664_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)" }, { "from": "human", "value": "Name the original air date for 15.74 viewers" }, { "from": "gpt", "value": "SELECT original_air_date FROM table_19501664_1 WHERE us_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19501664_1 (title VARCHAR, us_viewers__millions_ VARCHAR)" }, { "from": "human", "value": "Name the title for us viewers being 18.29" }, { "from": "gpt", "value": "SELECT title FROM table_19501664_1 WHERE us_viewers__millions_ = \"18.2...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19495707_1 (platforms VARCHAR, application VARCHAR)" }, { "from": "human", "value": "Name the platforms for cityengine" }, { "from": "gpt", "value": "SELECT platforms FROM table_19495707_1 WHERE application = \"CityEngine\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19495707_1 (license VARCHAR, application VARCHAR)" }, { "from": "human", "value": "Name the license for e-on vue" }, { "from": "gpt", "value": "SELECT license FROM table_19495707_1 WHERE application = \"E-on Vue\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19495707_1 (developed_by VARCHAR, application VARCHAR)" }, { "from": "human", "value": "Name the number of developed by for solid edge" }, { "from": "gpt", "value": "SELECT COUNT(developed_by) FROM table_19495707_1 WHERE application = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19495707_1 (license VARCHAR, latest_release_date_and_version VARCHAR)" }, { "from": "human", "value": "Name the license for 2009-05-25 v 7.61" }, { "from": "gpt", "value": "SELECT license FROM table_19495707_1 WHERE latest_release_date...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19495707_1 (application VARCHAR, mainly_used_for VARCHAR)" }, { "from": "human", "value": "Name the number of application for modeling, computer aided design, animation" }, { "from": "gpt", "value": "SELECT COUNT(application) FROM tabl...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19495707_1 (application VARCHAR, developed_by VARCHAR)" }, { "from": "human", "value": "Name the application for caligari corporation" }, { "from": "gpt", "value": "SELECT application FROM table_19495707_1 WHERE developed_by = \"Caliga...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1949994_8 (no INTEGER, start_date VARCHAR)" }, { "from": "human", "value": "What series number started production on June 6?" }, { "from": "gpt", "value": "SELECT MIN(no) FROM table_1949994_8 WHERE start_date = \"June 6\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1949994_8 (format VARCHAR, local_title VARCHAR)" }, { "from": "human", "value": "What was the production format for the series with the local title Fort Boyard: Ultimate Challenge?" }, { "from": "gpt", "value": "SELECT format FROM tabl...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1949994_8 (premiere_air_dates VARCHAR, start_date VARCHAR)" }, { "from": "human", "value": "What were the television air dates for the series that had a production start date of June 16?" }, { "from": "gpt", "value": "SELECT premiere_a...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1949994_8 (no INTEGER, local_title VARCHAR)" }, { "from": "human", "value": "What series number had the local title of Fort Boyard?" }, { "from": "gpt", "value": "SELECT MAX(no) FROM table_1949994_8 WHERE local_title = \"Fort Boyard\""...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1949994_8 (episodes INTEGER)" }, { "from": "human", "value": "What was the minimum number of episodes in any of the series? " }, { "from": "gpt", "value": "SELECT MIN(episodes) FROM table_1949994_8" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19508635_1 (week__number VARCHAR, theme VARCHAR)" }, { "from": "human", "value": "Name the week number for the beatles" }, { "from": "gpt", "value": "SELECT week__number FROM table_19508635_1 WHERE theme = \"The Beatles\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19508635_1 (result VARCHAR, theme VARCHAR)" }, { "from": "human", "value": "Name the result for 1980s" }, { "from": "gpt", "value": "SELECT result FROM table_19508635_1 WHERE theme = \"1980s\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19508635_1 (order__number VARCHAR, theme VARCHAR)" }, { "from": "human", "value": "Name the order number for 1960s" }, { "from": "gpt", "value": "SELECT order__number FROM table_19508635_1 WHERE theme = \"1960s\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19508635_1 (result VARCHAR, original_artist VARCHAR)" }, { "from": "human", "value": "Name the result for dolly parton" }, { "from": "gpt", "value": "SELECT result FROM table_19508635_1 WHERE original_artist = \"Dolly Parton\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19508635_1 (song_choice VARCHAR, original_artist VARCHAR)" }, { "from": "human", "value": "Name the song choice for michael jackson" }, { "from": "gpt", "value": "SELECT song_choice FROM table_19508635_1 WHERE original_artist = \"Micha...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19517621_4 (series__number INTEGER)" }, { "from": "human", "value": "What is the largest series number? " }, { "from": "gpt", "value": "SELECT MAX(series__number) FROM table_19517621_4" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19517621_4 (episode__number INTEGER, title VARCHAR)" }, { "from": "human", "value": "What is the latest episode number with the title of Jerusalem? " }, { "from": "gpt", "value": "SELECT MAX(episode__number) FROM table_19517621_4 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19517621_4 (original_airdate VARCHAR, written_by VARCHAR)" }, { "from": "human", "value": "What was the original air date of the episode written by Michelle Offen?" }, { "from": "gpt", "value": "SELECT original_airdate FROM table_19517...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19517621_4 (title VARCHAR, written_by VARCHAR)" }, { "from": "human", "value": "What is the title of the episode written by Vanessa Bates? " }, { "from": "gpt", "value": "SELECT title FROM table_19517621_4 WHERE written_by = \"Vanessa ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19517621_4 (original_airdate VARCHAR, title VARCHAR)" }, { "from": "human", "value": "What was the original air date for the episode Calle, The Transit of Venus? " }, { "from": "gpt", "value": "SELECT original_airdate FROM table_195176...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19517448_3 (completion_percentage VARCHAR, yards_per_attempt VARCHAR)" }, { "from": "human", "value": "What is the completion percentage when yards per attempt was done by Steve McNair : 2003?" }, { "from": "gpt", "value": "SELECT comp...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19517448_3 (rank VARCHAR, rating VARCHAR)" }, { "from": "human", "value": "What rank has a rating of 146.8? " }, { "from": "gpt", "value": "SELECT rank FROM table_19517448_3 WHERE rating = \"146.8\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19517448_3 (yards_per_attempt VARCHAR, total_yards VARCHAR)" }, { "from": "human", "value": "How many yards per attempt were there when total yards were 513?" }, { "from": "gpt", "value": "SELECT yards_per_attempt FROM table_19517448_3...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19517621_3 (series__number INTEGER, written_by VARCHAR)" }, { "from": "human", "value": "What is the series number for the episode written by Kristen Dunphy and David Ogilvy?" }, { "from": "gpt", "value": "SELECT MAX(series__number) FR...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19517621_3 (directed_by VARCHAR, title VARCHAR)" }, { "from": "human", "value": "If the title if the Lost Boy, how many directors were there?" }, { "from": "gpt", "value": "SELECT COUNT(directed_by) FROM table_19517621_3 WHERE title = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19517621_3 (title VARCHAR, written_by VARCHAR)" }, { "from": "human", "value": "What is the title for the episode that written by Michael Miller?" }, { "from": "gpt", "value": "SELECT title FROM table_19517621_3 WHERE written_by = \"Mi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1952057_5 (afc_championships VARCHAR, playoff_berths VARCHAR)" }, { "from": "human", "value": "If the playoff berth is 17, what is the AFC championship number?" }, { "from": "gpt", "value": "SELECT afc_championships FROM table_1952057_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1952057_5 (super_bowl_championships INTEGER, team VARCHAR)" }, { "from": "human", "value": "If the team in the New England Patriots, what is the super bowl championship minimum number?" }, { "from": "gpt", "value": "SELECT MIN(super_bo...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1952057_5 (afc_championships INTEGER)" }, { "from": "human", "value": "What is the maximum number of AFC championships?" }, { "from": "gpt", "value": "SELECT MAX(afc_championships) FROM table_1952057_5" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19523708_1 (authors VARCHAR, original VARCHAR)" }, { "from": "human", "value": "How many authors are present when the original was Carry On?" }, { "from": "gpt", "value": "SELECT COUNT(authors) FROM table_19523708_1 WHERE original = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19523708_1 (draw VARCHAR, language VARCHAR, english_meaning VARCHAR)" }, { "from": "human", "value": "What was the draw for the english meaning Eyes that Never Lie?" }, { "from": "gpt", "value": "SELECT draw FROM table_19523708_1 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19523708_1 (draw INTEGER)" }, { "from": "human", "value": "What is the highest draw represented?" }, { "from": "gpt", "value": "SELECT MAX(draw) FROM table_19523708_1" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19523708_1 (artist VARCHAR, original VARCHAR)" }, { "from": "human", "value": "Who was the artist for the origin Shake it, Europe?" }, { "from": "gpt", "value": "SELECT artist FROM table_19523708_1 WHERE original = \"Shake It, Europe\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19526911_1 (arena__capacity_ VARCHAR, head_coach VARCHAR)" }, { "from": "human", "value": "What is the arena capacity of the arena in the town whose head coach is Yuriy Korotkevich?" }, { "from": "gpt", "value": "SELECT COUNT(arena__ca...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19526911_1 (arena__capacity_ VARCHAR, head_coach VARCHAR)" }, { "from": "human", "value": "What is the arena capacity of the arena in the town whose head coach is Roberto Serniotti?" }, { "from": "gpt", "value": "SELECT arena__capacity...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19526911_1 (foreign_players__max_2_ VARCHAR, town VARCHAR)" }, { "from": "human", "value": "Who are the foreign players on team/s that play in Moscow?" }, { "from": "gpt", "value": "SELECT foreign_players__max_2_ FROM table_19526911_1 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_19526911_1 (previous_season_2007_2008 VARCHAR, website VARCHAR)" }, { "from": "human", "value": "What are the previous season ranks of teams whose website is www.novavolley.narod.ru?" }, { "from": "gpt", "value": "SELECT previous_seaso...
know_sql
chosen