conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_24384861_1 (video_out VARCHAR, version VARCHAR)" }, { "from": "human", "value": "how many video out connections does the sounddock portable have?" }, { "from": "gpt", "value": "SELECT COUNT(video_out) FROM table_24384861_1 WHERE versio...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24384861_1 (dual_voltage VARCHAR, version VARCHAR)" }, { "from": "human", "value": "Does the sounddock series I v2 have dual voltage?" }, { "from": "gpt", "value": "SELECT dual_voltage FROM table_24384861_1 WHERE version = \"SoundDock ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24384861_1 (dock_connection VARCHAR, version VARCHAR)" }, { "from": "human", "value": "What type of dock connection does the sounddock series III have? " }, { "from": "gpt", "value": "SELECT dock_connection FROM table_24384861_1 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24396664_2 (game_site VARCHAR, kickoff VARCHAR)" }, { "from": "human", "value": "Where was the game played that started at 7:00 p.m.?" }, { "from": "gpt", "value": "SELECT game_site FROM table_24396664_2 WHERE kickoff = \"7:00 p.m.\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2439728_1 (varsity_teams INTEGER, location VARCHAR)" }, { "from": "human", "value": "how many varsity teams are in west roxbury, ma?" }, { "from": "gpt", "value": "SELECT MAX(varsity_teams) FROM table_2439728_1 WHERE location = \"West ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2439728_1 (mascot VARCHAR, school VARCHAR)" }, { "from": "human", "value": "what is the mascot of st. paul's school? " }, { "from": "gpt", "value": "SELECT mascot FROM table_2439728_1 WHERE school = \"St. Paul's school\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2439728_1 (location VARCHAR, mascot VARCHAR)" }, { "from": "human", "value": "where are dragons used as mascots?" }, { "from": "gpt", "value": "SELECT location FROM table_2439728_1 WHERE mascot = \"Dragons\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2439728_1 (founded INTEGER, school VARCHAR)" }, { "from": "human", "value": "when was lawrence academy at groton established? " }, { "from": "gpt", "value": "SELECT MIN(founded) FROM table_2439728_1 WHERE school = \"Lawrence Academy at...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2439728_1 (school VARCHAR, location VARCHAR)" }, { "from": "human", "value": "name the school located at Milton, ma." }, { "from": "gpt", "value": "SELECT school FROM table_2439728_1 WHERE location = \"Milton, MA\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2439728_1 (location VARCHAR, varsity_teams VARCHAR)" }, { "from": "human", "value": "how many places have 17 varsity teams?" }, { "from": "gpt", "value": "SELECT COUNT(location) FROM table_2439728_1 WHERE varsity_teams = 17" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24399615_10 (episode_no VARCHAR, bbc_three_weekly_ranking VARCHAR, cable_rank VARCHAR)" }, { "from": "human", "value": "Which episode had bbc ranking and canle ranking of n/a?" }, { "from": "gpt", "value": "SELECT COUNT(episode_no) FRO...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24399615_10 (bbc_three_weekly_ranking VARCHAR, cable_rank VARCHAR)" }, { "from": "human", "value": "List the number of bbc rankings with cable rankings of 6." }, { "from": "gpt", "value": "SELECT bbc_three_weekly_ranking FROM table_243...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24399615_10 (viewers VARCHAR, cable_rank VARCHAR)" }, { "from": "human", "value": "List the number of viewers when the cable rank for Russell Howard's Good New was 5." }, { "from": "gpt", "value": "SELECT viewers FROM table_24399615_10...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24399615_10 (viewers VARCHAR, bbc_three_weekly_ranking VARCHAR)" }, { "from": "human", "value": "How many individuals watched the show that had a bbc ranking of 6?" }, { "from": "gpt", "value": "SELECT COUNT(viewers) FROM table_2439961...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24399615_5 (cable_rank VARCHAR, episode_no VARCHAR)" }, { "from": "human", "value": "How many times did episode number 8 air?" }, { "from": "gpt", "value": "SELECT COUNT(cable_rank) FROM table_24399615_5 WHERE episode_no = 8" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24399615_5 (airdate VARCHAR, episode_no VARCHAR)" }, { "from": "human", "value": "When did episode number 6 air?" }, { "from": "gpt", "value": "SELECT airdate FROM table_24399615_5 WHERE episode_no = 6" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24399615_4 (viewers VARCHAR, bbc_three_weekly_ranking VARCHAR)" }, { "from": "human", "value": "How many items are listed under viewers column when the bbd three weekly ranking was 1?" }, { "from": "gpt", "value": "SELECT COUNT(viewers...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24399615_4 (episode_no INTEGER, cable_rank VARCHAR)" }, { "from": "human", "value": "What episode number had a cable ranking of 8?" }, { "from": "gpt", "value": "SELECT MIN(episode_no) FROM table_24399615_4 WHERE cable_rank = \"8\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24399615_4 (airdate VARCHAR, bbc_three_weekly_ranking VARCHAR)" }, { "from": "human", "value": "What date did the episode air that had n/a for it's bbc three weekly ranking?" }, { "from": "gpt", "value": "SELECT airdate FROM table_2439...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24399615_4 (airdate VARCHAR, cable_rank VARCHAR)" }, { "from": "human", "value": "What date did the episode air that had a ranking of 17 for cable?" }, { "from": "gpt", "value": "SELECT airdate FROM table_24399615_4 WHERE cable_rank = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24399615_8 (airdate VARCHAR, bbc_three_weekly_ranking VARCHAR)" }, { "from": "human", "value": "When 3 is the bbc three weekly ranking what is the airdate?" }, { "from": "gpt", "value": "SELECT airdate FROM table_24399615_8 WHERE bbc_t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24399615_8 (airdate VARCHAR, cable_rank VARCHAR, viewers VARCHAR)" }, { "from": "human", "value": "When 656000 is the amount of viewers and n/a is the cable rank what is the airdate?" }, { "from": "gpt", "value": "SELECT airdate FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24415627_2 (state_served VARCHAR, time_since_entry VARCHAR)" }, { "from": "human", "value": "List the states that have entry times of 49years, 29days" }, { "from": "gpt", "value": "SELECT state_served FROM table_24415627_2 WHERE time_s...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24415627_2 (party VARCHAR, senator VARCHAR)" }, { "from": "human", "value": "Of which part does congressman dick clark belong to?" }, { "from": "gpt", "value": "SELECT party FROM table_24415627_2 WHERE senator = \"Dick Clark\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24415627_2 (entered_senate VARCHAR, senator VARCHAR)" }, { "from": "human", "value": "On what date did congressman joseph tydings enter take his seat?" }, { "from": "gpt", "value": "SELECT entered_senate FROM table_24415627_2 WHERE sen...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24405773_1 (points INTEGER, poles VARCHAR, races VARCHAR)" }, { "from": "human", "value": "What are the lowest points when poles were 0 and races were 10?" }, { "from": "gpt", "value": "SELECT MIN(points) FROM table_24405773_1 WHERE po...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24405773_1 (points INTEGER, flaps VARCHAR)" }, { "from": "human", "value": "What was the highest number of points when flaps were 0?" }, { "from": "gpt", "value": "SELECT MAX(points) FROM table_24405773_1 WHERE flaps = 0" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24425491_3 (cover_model VARCHAR)" }, { "from": "human", "value": "Who played 20 questions during the issue in which Pamela Horton is on the cover?" }, { "from": "gpt", "value": "SELECT 20 AS _questions FROM table_24425491_3 WHERE cover...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24418525_1 (frequency VARCHAR, power_kw VARCHAR)" }, { "from": "human", "value": "When the power kw is 5kw, what is the frequency?" }, { "from": "gpt", "value": "SELECT frequency FROM table_24418525_1 WHERE power_kw = \"5kW\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24418525_1 (callsign VARCHAR, coverage VARCHAR)" }, { "from": "human", "value": "when coverage is dumaguete central visayas region, what is the callsign?" }, { "from": "gpt", "value": "SELECT callsign FROM table_24418525_1 WHERE covera...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24418525_1 (power_kw VARCHAR, coverage VARCHAR)" }, { "from": "human", "value": "How much power covers dumaguete central visayas region?" }, { "from": "gpt", "value": "SELECT COUNT(power_kw) FROM table_24418525_1 WHERE coverage = \"Dum...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24418525_1 (frequency VARCHAR, coverage VARCHAR)" }, { "from": "human", "value": "What frequency is mega manila set to?" }, { "from": "gpt", "value": "SELECT frequency FROM table_24418525_1 WHERE coverage = \"Mega Manila\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24425976_2 (original_air_date VARCHAR, production_code VARCHAR)" }, { "from": "human", "value": "What original air date was for the episode with production code of 108?" }, { "from": "gpt", "value": "SELECT original_air_date FROM table...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24425976_2 (production_code VARCHAR, season VARCHAR)" }, { "from": "human", "value": "How many production codes are there for episode 10 in the season?" }, { "from": "gpt", "value": "SELECT COUNT(production_code) FROM table_24425976_2 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24425976_2 (original_air_date VARCHAR, production_code VARCHAR)" }, { "from": "human", "value": "What date did the episode with code 110 originally air?" }, { "from": "gpt", "value": "SELECT original_air_date FROM table_24425976_2 WHER...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24425976_2 (episode_title VARCHAR, production_code VARCHAR)" }, { "from": "human", "value": "What is the name of the episode with a production code of 107?" }, { "from": "gpt", "value": "SELECT episode_title FROM table_24425976_2 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24425976_2 (series VARCHAR, production_code VARCHAR)" }, { "from": "human", "value": "How many episodes in the series has a production code of 111?" }, { "from": "gpt", "value": "SELECT COUNT(series) FROM table_24425976_2 WHERE product...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24427210_1 (payout___us VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Name the total number of payout for december 28, 2009" }, { "from": "gpt", "value": "SELECT COUNT(payout___us) AS $__ FROM table_24427210_1 WHERE date = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24427210_1 (payout___us$__ VARCHAR, tv VARCHAR, bowl_game VARCHAR)" }, { "from": "human", "value": "Name the payout for espn for music city bowl" }, { "from": "gpt", "value": "SELECT payout___us$__ FROM table_24427210_1 WHERE tv = \"ES...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24427210_1 (date VARCHAR, stadium VARCHAR)" }, { "from": "human", "value": "Name the date for raymond james stadium" }, { "from": "gpt", "value": "SELECT date FROM table_24427210_1 WHERE stadium = \"Raymond James stadium\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24425976_7 (original_air_date VARCHAR, season VARCHAR)" }, { "from": "human", "value": "What date did episode 4 in the season originally air?" }, { "from": "gpt", "value": "SELECT original_air_date FROM table_24425976_7 WHERE season = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24425976_7 (original_air_date VARCHAR, series VARCHAR)" }, { "from": "human", "value": "What date did episode 115 in the series originally air?" }, { "from": "gpt", "value": "SELECT original_air_date FROM table_24425976_7 WHERE series ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24426072_1 (team__number1 VARCHAR)" }, { "from": "human", "value": "What was the 2nd leg for team #1 River Plate?" }, { "from": "gpt", "value": "SELECT 2 AS nd_leg FROM table_24426072_1 WHERE team__number1 = \"River Plate\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24426072_1 (team__number2 VARCHAR)" }, { "from": "human", "value": "What was team number 2's Fluminense's 2nd leg?" }, { "from": "gpt", "value": "SELECT 2 AS nd_leg FROM table_24426072_1 WHERE team__number2 = \"Fluminense\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24431264_16 (seed INTEGER, player VARCHAR)" }, { "from": "human", "value": "What was david ferrer seeded?" }, { "from": "gpt", "value": "SELECT MAX(seed) FROM table_24431264_16 WHERE player = \"David Ferrer\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24431264_16 (player VARCHAR, points VARCHAR)" }, { "from": "human", "value": "What player had 1420 points coming in?" }, { "from": "gpt", "value": "SELECT player FROM table_24431264_16 WHERE points = 1420" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24431264_16 (points VARCHAR, player VARCHAR)" }, { "from": "human", "value": "How many players named victor hănescu played?" }, { "from": "gpt", "value": "SELECT COUNT(points) AS won FROM table_24431264_16 WHERE player = \"Victor Hănes...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24440361_1 (kurdistan_democratic_party INTEGER, total_kurdistan_list VARCHAR)" }, { "from": "human", "value": "Name the kurdistan democratic party for kurdistan list being 10" }, { "from": "gpt", "value": "SELECT MIN(kurdistan_democrat...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24440361_1 (total_kurdistan_list INTEGER, governorate VARCHAR)" }, { "from": "human", "value": "Name the most kirdistan list for diyala" }, { "from": "gpt", "value": "SELECT MAX(total_kurdistan_list) FROM table_24440361_1 WHERE governo...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24440361_1 (total_kurdistan_list INTEGER)" }, { "from": "human", "value": "Name the least total kurdistan list" }, { "from": "gpt", "value": "SELECT MIN(total_kurdistan_list) FROM table_24440361_1" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24430894_20 (mutya_ng_pilipinas_asia_pacific VARCHAR)" }, { "from": "human", "value": "Who won 3rd place when the mutya ng pilipinas winner was was rochelle romero ong?" }, { "from": "gpt", "value": "SELECT 2 AS nd_runner_up FROM tabl...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24430894_20 (year VARCHAR, mutya_ng_pilipinas_asia_pacific VARCHAR)" }, { "from": "human", "value": "List the number of years where ritchie ocampo was the mutya ng pilipinas winner." }, { "from": "gpt", "value": "SELECT COUNT(year) FRO...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24446718_7 (awardee_s_ VARCHAR, language VARCHAR)" }, { "from": "human", "value": "Name the number of awardees for english and hindi" }, { "from": "gpt", "value": "SELECT COUNT(awardee_s_) FROM table_24446718_7 WHERE language = \"Engli...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24446718_7 (name_of_award VARCHAR, awardee_s_ VARCHAR)" }, { "from": "human", "value": "Name the name of award for zubeen garg" }, { "from": "gpt", "value": "SELECT name_of_award FROM table_24446718_7 WHERE awardee_s_ = \"Zubeen Garg\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24446718_7 (awardee_s_ VARCHAR, name_of_award VARCHAR)" }, { "from": "human", "value": "Name the awardee for best editing" }, { "from": "gpt", "value": "SELECT awardee_s_ FROM table_24446718_7 WHERE name_of_award = \"Best Editing\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24446718_7 (awardee_s_ VARCHAR, name_of_award VARCHAR)" }, { "from": "human", "value": "Name the number of awardees for best cinematography" }, { "from": "gpt", "value": "SELECT COUNT(awardee_s_) FROM table_24446718_7 WHERE name_of_aw...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24466191_1 (flaps INTEGER)" }, { "from": "human", "value": "Name the least flaps" }, { "from": "gpt", "value": "SELECT MIN(flaps) FROM table_24466191_1" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24466191_1 (poles INTEGER, series VARCHAR)" }, { "from": "human", "value": "Name th most poles for macau grand prix" }, { "from": "gpt", "value": "SELECT MAX(poles) FROM table_24466191_1 WHERE series = \"Macau Grand Prix\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24466191_1 (races VARCHAR, position VARCHAR)" }, { "from": "human", "value": "Name the total number of races for 15th position" }, { "from": "gpt", "value": "SELECT COUNT(races) FROM table_24466191_1 WHERE position = \"15th\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24466191_1 (races INTEGER, flaps INTEGER)" }, { "from": "human", "value": "Name the most races for flaps larger than 2.0" }, { "from": "gpt", "value": "SELECT MAX(races) FROM table_24466191_1 WHERE flaps > 2.0" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24466191_1 (poles VARCHAR, position VARCHAR)" }, { "from": "human", "value": "Name the number of poles for 15th position" }, { "from": "gpt", "value": "SELECT COUNT(poles) FROM table_24466191_1 WHERE position = \"15th\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24466191_1 (team VARCHAR, season VARCHAR)" }, { "from": "human", "value": "Name the team for season 2010" }, { "from": "gpt", "value": "SELECT team FROM table_24466191_1 WHERE season = 2010" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24466855_1 (original_air_date VARCHAR, written_by VARCHAR)" }, { "from": "human", "value": "Name the air date for jay j. demopoulos" }, { "from": "gpt", "value": "SELECT original_air_date FROM table_24466855_1 WHERE written_by = \"Jay...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24481478_1 (game_site VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "At which location did 29753 fans show up to watch the game?" }, { "from": "gpt", "value": "SELECT game_site FROM table_24481478_1 WHERE attendance = 29...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24481478_1 (team_record VARCHAR, week VARCHAR)" }, { "from": "human", "value": "What was the game record during week 7?" }, { "from": "gpt", "value": "SELECT team_record FROM table_24481478_1 WHERE week = 7" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24481478_1 (kickoff VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What time did the game start on saturday, april 20?" }, { "from": "gpt", "value": "SELECT kickoff FROM table_24481478_1 WHERE date = \"Saturday, April 20\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24481478_1 (week INTEGER, team_record VARCHAR)" }, { "from": "human", "value": "In which week was the team record 7–2?" }, { "from": "gpt", "value": "SELECT MIN(week) FROM table_24481478_1 WHERE team_record = \"7–2\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24481478_1 (attendance INTEGER, opponent VARCHAR)" }, { "from": "human", "value": "How man fans showed up to watch the game versus the raleigh-durham skyhawks?" }, { "from": "gpt", "value": "SELECT MAX(attendance) FROM table_24481478_1...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24486462_1 (disposable_usd_growth VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "If the rank is 26, what is the disposable USD growth?" }, { "from": "gpt", "value": "SELECT disposable_usd_growth FROM table_24486462_1 WHERE ran...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24486462_1 (country VARCHAR, compulsory_deduction VARCHAR)" }, { "from": "human", "value": "What country has a compulsory deduction of 29.3%?" }, { "from": "gpt", "value": "SELECT country FROM table_24486462_1 WHERE compulsory_deductio...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24486462_1 (disposable_usd_growth INTEGER, country VARCHAR)" }, { "from": "human", "value": "What is Australia's Disposable USD growth?" }, { "from": "gpt", "value": "SELECT MAX(disposable_usd_growth) FROM table_24486462_1 WHERE countr...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24486462_1 (disposable_usd_2011 INTEGER)" }, { "from": "human", "value": "What is the lowest disposable USD 2011?" }, { "from": "gpt", "value": "SELECT MIN(disposable_usd_2011) FROM table_24486462_1" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24477075_1 (minutes INTEGER, starts VARCHAR)" }, { "from": "human", "value": "Name the most minutes and starts being 12" }, { "from": "gpt", "value": "SELECT MAX(minutes) FROM table_24477075_1 WHERE starts = 12" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24477075_1 (position VARCHAR, minutes VARCHAR)" }, { "from": "human", "value": "Name the position for 132 minutes" }, { "from": "gpt", "value": "SELECT position FROM table_24477075_1 WHERE minutes = 132" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24489942_10 (rank VARCHAR, name VARCHAR)" }, { "from": "human", "value": "Name the rank for thomas morgenstern" }, { "from": "gpt", "value": "SELECT rank FROM table_24489942_10 WHERE name = \"Thomas Morgenstern\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24489942_10 (rank VARCHAR, nationality VARCHAR)" }, { "from": "human", "value": "Name the rank for switzerland" }, { "from": "gpt", "value": "SELECT COUNT(rank) FROM table_24489942_10 WHERE nationality = \"Switzerland\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24489942_10 (points VARCHAR, nationality VARCHAR)" }, { "from": "human", "value": "Name the points for switzerland" }, { "from": "gpt", "value": "SELECT points FROM table_24489942_10 WHERE nationality = \"Switzerland\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24489942_10 (points VARCHAR, name VARCHAR)" }, { "from": "human", "value": "Name the points for thomas morgenstern" }, { "from": "gpt", "value": "SELECT points FROM table_24489942_10 WHERE name = \"Thomas Morgenstern\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24490665_1 (appointed VARCHAR, name VARCHAR)" }, { "from": "human", "value": "When was jack watson appointed?" }, { "from": "gpt", "value": "SELECT appointed FROM table_24490665_1 WHERE name = \"Jack Watson\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24496403_1 (launched VARCHAR, ship VARCHAR)" }, { "from": "human", "value": "When was the Carysfort launched?" }, { "from": "gpt", "value": "SELECT launched FROM table_24496403_1 WHERE ship = \"Carysfort\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24496403_1 (launched VARCHAR, disposition VARCHAR)" }, { "from": "human", "value": "When was the stokers' training ship launched?" }, { "from": "gpt", "value": "SELECT launched FROM table_24496403_1 WHERE disposition = \"Stokers' train...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24496403_1 (completed VARCHAR, ship VARCHAR)" }, { "from": "human", "value": "How many ships were named Carysfort?" }, { "from": "gpt", "value": "SELECT COUNT(completed) FROM table_24496403_1 WHERE ship = \"Carysfort\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24501530_1 (background VARCHAR, result VARCHAR)" }, { "from": "human", "value": "What is the background of the person fired in week 5?" }, { "from": "gpt", "value": "SELECT background FROM table_24501530_1 WHERE result = \"Fired in wee...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24501530_1 (result VARCHAR, hometown VARCHAR)" }, { "from": "human", "value": "What was the result of the player from Maylands, Western Australia?" }, { "from": "gpt", "value": "SELECT result FROM table_24501530_1 WHERE hometown = \"Ma...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24501530_1 (age VARCHAR, candidate VARCHAR)" }, { "from": "human", "value": "How many ages for player Amy Cato?" }, { "from": "gpt", "value": "SELECT COUNT(age) FROM table_24501530_1 WHERE candidate = \"Amy Cato\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24501530_1 (candidate VARCHAR, hometown VARCHAR)" }, { "from": "human", "value": "What is the name of the player from Maylands, Western Australia?" }, { "from": "gpt", "value": "SELECT candidate FROM table_24501530_1 WHERE hometown = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24501530_1 (age VARCHAR, result VARCHAR)" }, { "from": "human", "value": "How many age figures for the player fired in week 6?" }, { "from": "gpt", "value": "SELECT COUNT(age) FROM table_24501530_1 WHERE result = \"Fired in week 6\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24518475_1 (latitude VARCHAR, time__utc_ VARCHAR)" }, { "from": "human", "value": "What was the latitude that had a UTC time of 18:19:36?" }, { "from": "gpt", "value": "SELECT latitude FROM table_24518475_1 WHERE time__utc_ = \"18:19:3...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24518475_1 (depth VARCHAR, time__utc_ VARCHAR)" }, { "from": "human", "value": "What is the depth of the aftershock at 18:00:22?" }, { "from": "gpt", "value": "SELECT depth FROM table_24518475_1 WHERE time__utc_ = \"18:00:22\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24535095_2 (team VARCHAR, listed_owner_s_ VARCHAR)" }, { "from": "human", "value": "Name the team for susan bates" }, { "from": "gpt", "value": "SELECT team FROM table_24535095_2 WHERE listed_owner_s_ = \"Susan Bates\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24535095_2 (truck_s_ VARCHAR, crew_chief VARCHAR)" }, { "from": "human", "value": "Name the truck for eric phillips" }, { "from": "gpt", "value": "SELECT truck_s_ FROM table_24535095_2 WHERE crew_chief = \"Eric Phillips\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24535095_2 (listed_owner_s_ VARCHAR, crew_chief VARCHAR)" }, { "from": "human", "value": "Name the listed owner for mike garvey" }, { "from": "gpt", "value": "SELECT listed_owner_s_ FROM table_24535095_2 WHERE crew_chief = \"Mike Garve...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24535095_2 (_number INTEGER, listed_owner_s_ VARCHAR)" }, { "from": "human", "value": "Name the least listed owner for pete raymer" }, { "from": "gpt", "value": "SELECT MIN(_number) FROM table_24535095_2 WHERE listed_owner_s_ = \"Pete ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24535095_2 (crew_chief VARCHAR, listed_owner_s_ VARCHAR)" }, { "from": "human", "value": "Name the crew chief for rhonda thorson" }, { "from": "gpt", "value": "SELECT crew_chief FROM table_24535095_2 WHERE listed_owner_s_ = \"Rhonda Th...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2453243_3 (production_code INTEGER, no_in_season VARCHAR)" }, { "from": "human", "value": "What is the production code for episode 3 in the season?" }, { "from": "gpt", "value": "SELECT MAX(production_code) FROM table_2453243_3 WHERE n...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24538140_2 (match2 INTEGER)" }, { "from": "human", "value": "What is the lowest score of all games for match 2?" }, { "from": "gpt", "value": "SELECT MIN(match2) FROM table_24538140_2" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24538140_2 (match2 INTEGER, match4 VARCHAR, total VARCHAR)" }, { "from": "human", "value": "What is the highest score for match 2 where the score for match 4 is 0 and the total score is 5?" }, { "from": "gpt", "value": "SELECT MAX(matc...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24538140_2 (match1 VARCHAR, team VARCHAR)" }, { "from": "human", "value": "What is the score for match 1 for the team Eastern Tigers?" }, { "from": "gpt", "value": "SELECT match1 FROM table_24538140_2 WHERE team = \"Eastern Tigers\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24538587_11 (socket VARCHAR, brand_name__list_ VARCHAR)" }, { "from": "human", "value": "How many sockets are listed that have a brand name of \"Core i3-2xx7m\"?" }, { "from": "gpt", "value": "SELECT COUNT(socket) FROM table_24538587_1...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_24538587_11 (i_o_bus VARCHAR, brand_name__list_ VARCHAR)" }, { "from": "human", "value": "What is the i/o bus for the brand name Core i3-21xx?" }, { "from": "gpt", "value": "SELECT i_o_bus FROM table_24538587_11 WHERE brand_name__list_...
know_sql
chosen