conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_23117208_4 (prod_code VARCHAR, viewers__millions_ VARCHAR)" }, { "from": "human", "value": "Name the production code for 4.92 million viewers" }, { "from": "gpt", "value": "SELECT prod_code FROM table_23117208_4 WHERE viewers__millions...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23117208_4 (no_in_season INTEGER, written_by VARCHAR)" }, { "from": "human", "value": "Name the least number in season for jessica ball" }, { "from": "gpt", "value": "SELECT MIN(no_in_season) FROM table_23117208_4 WHERE written_by = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23128286_1 (flaps INTEGER, points VARCHAR)" }, { "from": "human", "value": "How many flaps did he have when he had 109 points?" }, { "from": "gpt", "value": "SELECT MAX(flaps) FROM table_23128286_1 WHERE points = 109" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23128286_1 (wins VARCHAR, team_name VARCHAR)" }, { "from": "human", "value": "How many wins did he have with carlin motorsport?" }, { "from": "gpt", "value": "SELECT COUNT(wins) FROM table_23128286_1 WHERE team_name = \"Carlin Motorspo...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23128286_1 (races INTEGER)" }, { "from": "human", "value": "What was the most races he had in a season?" }, { "from": "gpt", "value": "SELECT MAX(races) FROM table_23128286_1" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23133482_1 (sets_w_l VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What are Ken Rosewall's sets w-l?" }, { "from": "gpt", "value": "SELECT sets_w_l FROM table_23133482_1 WHERE player = \"Ken Rosewall\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23133482_1 (games_w_l VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What are Arthur Ashe's games w-l?" }, { "from": "gpt", "value": "SELECT games_w_l FROM table_23133482_1 WHERE player = \"Arthur Ashe\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23145653_1 (games_w_l VARCHAR, player VARCHAR)" }, { "from": "human", "value": "Name the games w-1 for cliff richey" }, { "from": "gpt", "value": "SELECT games_w_l FROM table_23145653_1 WHERE player = \"Cliff Richey\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23157997_13 (stage VARCHAR, general_classification VARCHAR)" }, { "from": "human", "value": "What stage number had the general classification Rory Sutherland?" }, { "from": "gpt", "value": "SELECT COUNT(stage) FROM table_23157997_13 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23157997_13 (youth_classification VARCHAR, mountains_classification VARCHAR, winner VARCHAR)" }, { "from": "human", "value": "Who was the Youth Classification in the race with Kenneth Hanson as Mountains Classification and Lucas Sebastian Haedo as...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23157997_13 (winner VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR)" }, { "from": "human", "value": "Who won the race with Tom Zirbel as Mountains Classification and Thomas Soladay as Points Classification?" }, { ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23157997_13 (mountains_classification VARCHAR, youth_classification VARCHAR, points_classification VARCHAR)" }, { "from": "human", "value": "Who was Mountains Classification in the race with Nick Frey as Youth Classification and Tom Zirbel as Poin...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23157997_13 (mountains_classification VARCHAR, youth_classification VARCHAR)" }, { "from": "human", "value": "How many Mountains Classifications were in the race with Mike Northey as Youth Classification?" }, { "from": "gpt", "value": ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23143607_1 (foundation VARCHAR, television_channels VARCHAR)" }, { "from": "human", "value": "How many foundation dates were there when the television channels is canal nou canal nou dos canal nou 24 tvvi?" }, { "from": "gpt", "value"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23143607_1 (television_channels VARCHAR, radio_stations VARCHAR)" }, { "from": "human", "value": "If the radio stations is radio nou si radio radio nou música; what were the total number of television channels?" }, { "from": "gpt", "va...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23143607_1 (television_channels VARCHAR, radio_stations VARCHAR)" }, { "from": "human", "value": "What is the total number of television channels when one of the radio stations is onda madrid?" }, { "from": "gpt", "value": "SELECT COUN...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23143607_1 (radio_stations VARCHAR, organization VARCHAR)" }, { "from": "human", "value": "Which of the radio stations has the organization of ente público radio televisión madrid (eprtvm)?" }, { "from": "gpt", "value": "SELECT radio_s...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23143607_1 (autonomous_community VARCHAR, television_channels VARCHAR)" }, { "from": "human", "value": "What is the autonomous community with television channels tpa tpa2 rtpa internacional?" }, { "from": "gpt", "value": "SELECT auton...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23170118_2 (villains VARCHAR, episode_number VARCHAR)" }, { "from": "human", "value": "How many villains were in episode 3 (13)?" }, { "from": "gpt", "value": "SELECT COUNT(villains) FROM table_23170118_2 WHERE episode_number = \"3 (13...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23170118_2 (title VARCHAR, villains VARCHAR)" }, { "from": "human", "value": "What was the title of the episode where reg lacey (aka mr. b) played the villain?" }, { "from": "gpt", "value": "SELECT title FROM table_23170118_2 WHERE vil...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23183195_5 (three_pointers INTEGER, player VARCHAR)" }, { "from": "human", "value": "Name the most three pointers for dewanna bonner" }, { "from": "gpt", "value": "SELECT MAX(three_pointers) FROM table_23183195_5 WHERE player = \"DeWan...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23183195_5 (field_goals INTEGER, player VARCHAR)" }, { "from": "human", "value": "Name the least field goals for chantel hilliard" }, { "from": "gpt", "value": "SELECT MIN(field_goals) FROM table_23183195_5 WHERE player = \"Chantel Hil...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23183195_5 (minutes INTEGER, player VARCHAR)" }, { "from": "human", "value": "Name the most minutes for morgan jennings" }, { "from": "gpt", "value": "SELECT MAX(minutes) FROM table_23183195_5 WHERE player = \"Morgan Jennings\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23183195_5 (free_throws INTEGER, steals VARCHAR)" }, { "from": "human", "value": "Name the most free throws for 4 steals" }, { "from": "gpt", "value": "SELECT MAX(free_throws) FROM table_23183195_5 WHERE steals = 4" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23183195_2 (road_record VARCHAR, overall_record VARCHAR)" }, { "from": "human", "value": "What is the road record for the team with an overall record of 22-11?" }, { "from": "gpt", "value": "SELECT road_record FROM table_23183195_2 WHE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23183195_2 (road_record VARCHAR, team VARCHAR)" }, { "from": "human", "value": "What is the road record for Vanderbilt?" }, { "from": "gpt", "value": "SELECT COUNT(road_record) FROM table_23183195_2 WHERE team = \"Vanderbilt\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23183195_2 (team VARCHAR, overall_record VARCHAR)" }, { "from": "human", "value": "What team's overal record is 22-11?" }, { "from": "gpt", "value": "SELECT team FROM table_23183195_2 WHERE overall_record = \"22-11\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23183195_2 (percentage VARCHAR, road_record VARCHAR, home_record VARCHAR)" }, { "from": "human", "value": "What is the percentage for the team with a road record of 3-4 and a home record of 7-0?" }, { "from": "gpt", "value": "SELECT pe...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23184448_4 (three_pointers VARCHAR, points VARCHAR)" }, { "from": "human", "value": "Name the number of three pointers for 67" }, { "from": "gpt", "value": "SELECT COUNT(three_pointers) FROM table_23184448_4 WHERE points = 67" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23184448_4 (field_goals INTEGER, player VARCHAR)" }, { "from": "human", "value": "Name the field goals for alexis yackley" }, { "from": "gpt", "value": "SELECT MAX(field_goals) FROM table_23184448_4 WHERE player = \"Alexis Yackley\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23184448_4 (assists VARCHAR, minutes VARCHAR)" }, { "from": "human", "value": "Name the number of assists for 321 minutes " }, { "from": "gpt", "value": "SELECT COUNT(assists) FROM table_23184448_4 WHERE minutes = 321" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23184448_4 (player VARCHAR, field_goals VARCHAR, blocks VARCHAR)" }, { "from": "human", "value": "Name the number of players for field goals being 25 and blocks is 6" }, { "from": "gpt", "value": "SELECT COUNT(player) FROM table_231844...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23186738_6 (location_attendance VARCHAR, record VARCHAR)" }, { "from": "human", "value": "Name the location attendance of 5-15" }, { "from": "gpt", "value": "SELECT location_attendance FROM table_23186738_6 WHERE record = \"5-15\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23186738_6 (record VARCHAR, team VARCHAR)" }, { "from": "human", "value": "Name the record for golden state" }, { "from": "gpt", "value": "SELECT record FROM table_23186738_6 WHERE team = \"Golden State\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23186738_6 (high_points VARCHAR, record VARCHAR)" }, { "from": "human", "value": "Name the number of high points for record 5-17" }, { "from": "gpt", "value": "SELECT COUNT(high_points) FROM table_23186738_6 WHERE record = \"5-17\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23186738_6 (record VARCHAR, team VARCHAR)" }, { "from": "human", "value": "Name the record for houston" }, { "from": "gpt", "value": "SELECT record FROM table_23186738_6 WHERE team = \"Houston\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23192661_3 (cardinal_points INTEGER, record VARCHAR)" }, { "from": "human", "value": "Name the cardinal points for 19-4 record" }, { "from": "gpt", "value": "SELECT MIN(cardinal_points) FROM table_23192661_3 WHERE record = \"19-4\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23192661_3 (location VARCHAR, record VARCHAR)" }, { "from": "human", "value": "Name the location for 2-1 record" }, { "from": "gpt", "value": "SELECT location FROM table_23192661_3 WHERE record = \"2-1\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2319437_1 (step_6 VARCHAR, gs_grade VARCHAR)" }, { "from": "human", "value": "Name the total number of step 6 for 11 gs grade" }, { "from": "gpt", "value": "SELECT COUNT(step_6) FROM table_2319437_1 WHERE gs_grade = 11" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23197088_4 (score_in_final VARCHAR, championship VARCHAR)" }, { "from": "human", "value": "such as are entire the rating of closing where championship is moscow" }, { "from": "gpt", "value": "SELECT score_in_final FROM table_23197088_4...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23197088_4 (score_in_final VARCHAR, opponents_in_final VARCHAR)" }, { "from": "human", "value": "as is the quantity variety of score between ultimate the place opponents between remaining is alexandra fusai nathalie tauziat" }, { "from": "...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23197088_4 (opponents_in_final VARCHAR, championship VARCHAR)" }, { "from": "human", "value": "what are every one of the rivals in conclusive where title is zürich" }, { "from": "gpt", "value": "SELECT opponents_in_final FROM table_231...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23197088_4 (score_in_final VARCHAR, championship VARCHAR)" }, { "from": "human", "value": "what are all the score in conclusive where title is rome" }, { "from": "gpt", "value": "SELECT score_in_final FROM table_23197088_4 WHERE champi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23195_5 (present_share VARCHAR)" }, { "from": "human", "value": "Name the most 10 3 bbl/d (2008) for present share being 1.7%" }, { "from": "gpt", "value": "SELECT MAX(10 AS _3_bbl_d__2008_) FROM table_23195_5 WHERE present_share = \"1...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23195_5 (present_share VARCHAR, producing_nation VARCHAR)" }, { "from": "human", "value": "Name the present share for australia" }, { "from": "gpt", "value": "SELECT present_share FROM table_23195_5 WHERE producing_nation = \"Australia...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23211041_10 (location_attendance VARCHAR, team VARCHAR)" }, { "from": "human", "value": "Name the location attendance for utah" }, { "from": "gpt", "value": "SELECT location_attendance FROM table_23211041_10 WHERE team = \"Utah\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23211041_5 (game VARCHAR, team VARCHAR)" }, { "from": "human", "value": "How many games were played against houston?" }, { "from": "gpt", "value": "SELECT COUNT(game) FROM table_23211041_5 WHERE team = \"Houston\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23211041_5 (team VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What team was played on november 24?" }, { "from": "gpt", "value": "SELECT team FROM table_23211041_5 WHERE date = \"November 24\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23211041_5 (high_points VARCHAR, game VARCHAR)" }, { "from": "human", "value": "Who had the most points in game 4?" }, { "from": "gpt", "value": "SELECT high_points FROM table_23211041_5 WHERE game = 4" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23211041_5 (high_points VARCHAR, team VARCHAR)" }, { "from": "human", "value": "Who had the highest points against new york?" }, { "from": "gpt", "value": "SELECT high_points FROM table_23211041_5 WHERE team = \"New York\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23214055_2 (syrian_christians VARCHAR, district VARCHAR)" }, { "from": "human", "value": "Name the syrian christians for thiruvananthapuram" }, { "from": "gpt", "value": "SELECT syrian_christians FROM table_23214055_2 WHERE district =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23214055_2 (ezhavas VARCHAR, muslims VARCHAR)" }, { "from": "human", "value": "Name the ezhavas for muslims being 5.4" }, { "from": "gpt", "value": "SELECT ezhavas FROM table_23214055_2 WHERE muslims = \"5.4\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23214055_2 (ezhavas VARCHAR, syrian_christians VARCHAR)" }, { "from": "human", "value": "Name the ezhavas and syrian christians being 26.2" }, { "from": "gpt", "value": "SELECT ezhavas FROM table_23214055_2 WHERE syrian_christians = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23214055_2 (syrian_christians VARCHAR, district VARCHAR)" }, { "from": "human", "value": "Name the syrian christians for kollam" }, { "from": "gpt", "value": "SELECT syrian_christians FROM table_23214055_2 WHERE district = \"Kollam\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23214055_2 (district VARCHAR, others VARCHAR)" }, { "from": "human", "value": "Name the district for others being 18.3" }, { "from": "gpt", "value": "SELECT district FROM table_23214055_2 WHERE others = \"18.3\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23214055_2 (district VARCHAR, nairs VARCHAR)" }, { "from": "human", "value": "Name the district for nairs 8.2" }, { "from": "gpt", "value": "SELECT district FROM table_23214055_2 WHERE nairs = \"8.2\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23215145_2 (total_points VARCHAR)" }, { "from": "human", "value": "If the total points is 5, what is the 2005-2006 points total number?" }, { "from": "gpt", "value": "SELECT COUNT(2005 AS _06_points) FROM table_23215145_2 WHERE total_p...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23215145_2 (team VARCHAR)" }, { "from": "human", "value": "What is the 2006-2007 points minimum is the team is Overmach Parma?" }, { "from": "gpt", "value": "SELECT MIN(2006 AS _07_points) FROM table_23215145_2 WHERE team = \"Overmach ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23215145_2 (team VARCHAR)" }, { "from": "human", "value": "If the team is Worcester, what is the 2005-2006 points?" }, { "from": "gpt", "value": "SELECT 2005 AS _06_points FROM table_23215145_2 WHERE team = \"Worcester\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23215145_2 (team VARCHAR)" }, { "from": "human", "value": "What is the 2006-2007 points total number if the team is Saracens?" }, { "from": "gpt", "value": "SELECT COUNT(2006 AS _07_points) FROM table_23215145_2 WHERE team = \"Saracens...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23224961_1 (season VARCHAR, oberpfalz VARCHAR)" }, { "from": "human", "value": "When spvgg vohenstrauß is the oberpfalz what is the season?" }, { "from": "gpt", "value": "SELECT season FROM table_23224961_1 WHERE oberpfalz = \"SpVgg Vo...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23224961_1 (niederbayern VARCHAR, oberbayern_b VARCHAR)" }, { "from": "human", "value": "When esv ingolstadt is the oberbayern b what is the niederbayern?" }, { "from": "gpt", "value": "SELECT niederbayern FROM table_23224961_1 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23224961_1 (schwaben VARCHAR, oberbayern_a VARCHAR)" }, { "from": "human", "value": "When wacker burghausen is the oberbayern a what is the schwaben?" }, { "from": "gpt", "value": "SELECT schwaben FROM table_23224961_1 WHERE oberbayern...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23224961_1 (oberpfalz VARCHAR, oberbayern_a VARCHAR)" }, { "from": "human", "value": "When fc oberau is the oberbayern a what is the oberpfalz?" }, { "from": "gpt", "value": "SELECT oberpfalz FROM table_23224961_1 WHERE oberbayern_a = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23224961_1 (oberbayern_b VARCHAR, oberpfalz VARCHAR)" }, { "from": "human", "value": "When tus rosenberg is the oberpfalz what is the oberbayern b?" }, { "from": "gpt", "value": "SELECT oberbayern_b FROM table_23224961_1 WHERE oberpfal...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23224961_1 (oberbayern_b VARCHAR, oberpfalz VARCHAR)" }, { "from": "human", "value": "When fc schwandorf is the oberpfalz what is the oberbayern b?" }, { "from": "gpt", "value": "SELECT oberbayern_b FROM table_23224961_1 WHERE oberpfal...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23235546_1 (score_in_the_final VARCHAR, outcome VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What was the score in the final when the outcome was winner in 1989?" }, { "from": "gpt", "value": "SELECT score_in_the_final FROM ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23235546_1 (score_in_the_final VARCHAR, championship VARCHAR, opponent_in_the_final VARCHAR)" }, { "from": "human", "value": "What was the score in the final when Mats Wilander was the opponent in the Australian Open?" }, { "from": "gpt", ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23225927_1 (original_air_date VARCHAR, no_in_season VARCHAR)" }, { "from": "human", "value": "If the number in the season is 22, what is the original air date?" }, { "from": "gpt", "value": "SELECT original_air_date FROM table_23225927...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23225927_1 (no_in_season INTEGER, written_by VARCHAR)" }, { "from": "human", "value": "What is the maximum season number for the episode written by Jonathan Greene?" }, { "from": "gpt", "value": "SELECT MAX(no_in_season) FROM table_232...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2322716_2 (original_air_dates VARCHAR, prod_code VARCHAR)" }, { "from": "human", "value": "Name the original air date for prod code 201" }, { "from": "gpt", "value": "SELECT original_air_dates FROM table_2322716_2 WHERE prod_code = 201...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2322716_2 (written_by VARCHAR, prod_code VARCHAR)" }, { "from": "human", "value": "Name the written by for prod code being 206" }, { "from": "gpt", "value": "SELECT written_by FROM table_2322716_2 WHERE prod_code = 206" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23239946_3 (position INTEGER)" }, { "from": "human", "value": "How many positions are there in Canadian Nascar? " }, { "from": "gpt", "value": "SELECT MAX(position) FROM table_23239946_3" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23239946_3 (driver VARCHAR, points VARCHAR)" }, { "from": "human", "value": "How many drivers have 1942 points?" }, { "from": "gpt", "value": "SELECT COUNT(driver) FROM table_23239946_3 WHERE points = 1942" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23239946_3 (starts INTEGER)" }, { "from": "human", "value": "How many starts are there?" }, { "from": "gpt", "value": "SELECT MIN(starts) FROM table_23239946_3" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23239946_3 (wins VARCHAR, driver VARCHAR)" }, { "from": "human", "value": "How many wins did Andrew Ranger have?" }, { "from": "gpt", "value": "SELECT COUNT(wins) FROM table_23239946_3 WHERE driver = \"Andrew Ranger\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23239946_3 (winnings__ INTEGER, position VARCHAR)" }, { "from": "human", "value": "What are the winnings for position 7?" }, { "from": "gpt", "value": "SELECT MAX(winnings__) AS $_ FROM table_23239946_3 WHERE position = 7" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23242958_1 (no_in_series VARCHAR, written_by VARCHAR)" }, { "from": "human", "value": "What number episode in the series was written by David Zuckerman? " }, { "from": "gpt", "value": "SELECT no_in_series FROM table_23242958_1 WHERE wr...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23242958_1 (original_air_date VARCHAR, written_by VARCHAR)" }, { "from": "human", "value": "What is the original air date of the episode written by David Zuckerman? " }, { "from": "gpt", "value": "SELECT original_air_date FROM table_23...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23242958_1 (title VARCHAR, directed_by VARCHAR)" }, { "from": "human", "value": "What is the title of the episode directed by Rodney Clouden? " }, { "from": "gpt", "value": "SELECT title FROM table_23242958_1 WHERE directed_by = \"Rodn...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23242958_1 (us_viewers__millions_ VARCHAR, production_code VARCHAR)" }, { "from": "human", "value": "How many millions of U.S. viewers watched the episode with the production code of 3AJN01?" }, { "from": "gpt", "value": "SELECT us_vie...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23242968_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)" }, { "from": "human", "value": "Who directed the episode that had 6.76 million U.S. viewers?" }, { "from": "gpt", "value": "SELECT directed_by FROM table_23242968_1 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23242968_1 (no_in_season INTEGER, no_in_series VARCHAR)" }, { "from": "human", "value": "What episode number of the season was also number 75 in the series?" }, { "from": "gpt", "value": "SELECT MAX(no_in_season) FROM table_23242968_1 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23242968_1 (written_by VARCHAR, production_code VARCHAR)" }, { "from": "human", "value": "Who wrote the episode that had a production code of 3ajn20?" }, { "from": "gpt", "value": "SELECT written_by FROM table_23242968_1 WHERE producti...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23242968_1 (directed_by VARCHAR, written_by VARCHAR)" }, { "from": "human", "value": "Who directed the episode that was written by Jonathan Fener?" }, { "from": "gpt", "value": "SELECT directed_by FROM table_23242968_1 WHERE written_by...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23242968_1 (title VARCHAR, production_code VARCHAR)" }, { "from": "human", "value": "What was the name of the episode with a production code of 3ajn20?" }, { "from": "gpt", "value": "SELECT title FROM table_23242968_1 WHERE production_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23242933_2 (written_by VARCHAR, production_code VARCHAR)" }, { "from": "human", "value": "Who wrote the episode with production code 1AJN05?" }, { "from": "gpt", "value": "SELECT written_by FROM table_23242933_2 WHERE production_code =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23242933_2 (no_in_series VARCHAR, us_viewers__millions_ VARCHAR)" }, { "from": "human", "value": "How many different series numbers are there for the episode seen by 7.84 million people in the US?" }, { "from": "gpt", "value": "SELECT ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23242933_2 (no_in_series INTEGER, written_by VARCHAR)" }, { "from": "human", "value": "What's the series number of the episode written by Dan Vebber?" }, { "from": "gpt", "value": "SELECT MAX(no_in_series) FROM table_23242933_2 WHERE w...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23242933_2 (title VARCHAR, us_viewers__millions_ VARCHAR)" }, { "from": "human", "value": "How many different titles are there of episodes that have been seen by 7.84 million people in the US/" }, { "from": "gpt", "value": "SELECT COUN...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23242933_2 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)" }, { "from": "human", "value": "When did 6.09 million people in the US see the original airing of an episode of the show?" }, { "from": "gpt", "value": "SELECT orig...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23242950_1 (no_in_season INTEGER, us_viewers__millions_ VARCHAR)" }, { "from": "human", "value": "What's the season number of the episode originally seen by 6.64 million people in the US?" }, { "from": "gpt", "value": "SELECT MIN(no_in...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23242950_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)" }, { "from": "human", "value": "What's the production code of the episode seen by 7.49 million people in the US?" }, { "from": "gpt", "value": "SELECT production_code...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23243769_4 (opponent VARCHAR, opp_points VARCHAR)" }, { "from": "human", "value": "What opponent got 44 points in their game?" }, { "from": "gpt", "value": "SELECT opponent FROM table_23243769_4 WHERE opp_points = 44" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23243769_4 (location VARCHAR, record VARCHAR)" }, { "from": "human", "value": "Where was the game with a 4-1 record played?" }, { "from": "gpt", "value": "SELECT location FROM table_23243769_4 WHERE record = \"4-1\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23248869_6 (high_rebounds VARCHAR, high_points VARCHAR)" }, { "from": "human", "value": "Who did the high rebounds in the game where Larry Hughes (21) did the high ponts?" }, { "from": "gpt", "value": "SELECT high_rebounds FROM table_2...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23248869_6 (high_assists VARCHAR, date VARCHAR)" }, { "from": "human", "value": "How many different people did different scores of high assists during the December 11 game?" }, { "from": "gpt", "value": "SELECT COUNT(high_assists) FROM...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23248869_6 (high_assists VARCHAR, team VARCHAR)" }, { "from": "human", "value": "Who did the high assists in the game against Portland?" }, { "from": "gpt", "value": "SELECT high_assists FROM table_23248869_6 WHERE team = \"Portland\""...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23248869_10 (score VARCHAR, location_attendance VARCHAR, game VARCHAR)" }, { "from": "human", "value": "What is every score for location attendance of Madison Square Garden 19,763 and game less than 80.0?" }, { "from": "gpt", "value": ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23248869_10 (record VARCHAR, team VARCHAR)" }, { "from": "human", "value": "What is every record for the team Boston?" }, { "from": "gpt", "value": "SELECT record FROM table_23248869_10 WHERE team = \"Boston\"" } ]
know_sql
chosen