conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_23286112_12 (high_rebounds VARCHAR, game VARCHAR)" }, { "from": "human", "value": "Who had the highest rebounds in game 2?" }, { "from": "gpt", "value": "SELECT high_rebounds FROM table_23286112_12 WHERE game = 2" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23286112_12 (date VARCHAR, series VARCHAR)" }, { "from": "human", "value": "What date was the series 0-2?" }, { "from": "gpt", "value": "SELECT date FROM table_23286112_12 WHERE series = \"0-2\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23286112_12 (series VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Which series were played on April 18?" }, { "from": "gpt", "value": "SELECT series FROM table_23286112_12 WHERE date = \"April 18\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23286158_11 (series VARCHAR, high_rebounds VARCHAR)" }, { "from": "human", "value": "What series had high rebounds with Marcus Camby (11)?" }, { "from": "gpt", "value": "SELECT series FROM table_23286158_11 WHERE high_rebounds = \"Marc...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23286158_11 (series VARCHAR, game VARCHAR)" }, { "from": "human", "value": "What was the series where the game was 5?" }, { "from": "gpt", "value": "SELECT series FROM table_23286158_11 WHERE game = 5" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23286158_11 (score VARCHAR, high_points VARCHAR)" }, { "from": "human", "value": "What is the score when high points were Andre Miller (31)?" }, { "from": "gpt", "value": "SELECT score FROM table_23286158_11 WHERE high_points = \"Andre...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23286158_11 (score VARCHAR, game VARCHAR)" }, { "from": "human", "value": "What is the score in game 3?" }, { "from": "gpt", "value": "SELECT score FROM table_23286158_11 WHERE game = 3" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23286158_10 (high_assists VARCHAR, high_rebounds VARCHAR)" }, { "from": "human", "value": "When marcus camby (15) has the highest amount of rebounds who has the highest amount of assists?" }, { "from": "gpt", "value": "SELECT high_assi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23286158_10 (high_points VARCHAR, record VARCHAR)" }, { "from": "human", "value": "When 48-30 is the record who has the highest amount of points?" }, { "from": "gpt", "value": "SELECT high_points FROM table_23286158_10 WHERE record = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23286158_10 (location_attendance VARCHAR, high_assists VARCHAR, game VARCHAR)" }, { "from": "human", "value": "When 78 is the game and brandon roy (6) has the highest amount of assists how many locations/attendances are there?" }, { "from"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23286158_10 (date VARCHAR, high_rebounds VARCHAR)" }, { "from": "human", "value": "When marcus camby (15) has the highest amount of rebounds what is the date?" }, { "from": "gpt", "value": "SELECT date FROM table_23286158_10 WHERE high...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23286158_7 (date VARCHAR, team VARCHAR)" }, { "from": "human", "value": "When did the Portland Trail Blazers play against Cleveland?" }, { "from": "gpt", "value": "SELECT date FROM table_23286158_7 WHERE team = \"Cleveland\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23287683_1 (title VARCHAR, directed_by VARCHAR)" }, { "from": "human", "value": "How many episodes were directed by Sarah Pia Anderson?" }, { "from": "gpt", "value": "SELECT COUNT(title) FROM table_23287683_1 WHERE directed_by = \"Sara...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23287683_1 (season__number VARCHAR, production_code VARCHAR)" }, { "from": "human", "value": "List all season numbers with production codes of 5m21." }, { "from": "gpt", "value": "SELECT season__number FROM table_23287683_1 WHERE produ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23287683_1 (title VARCHAR, series__number VARCHAR)" }, { "from": "human", "value": "How many episodes had a series number of 95?" }, { "from": "gpt", "value": "SELECT COUNT(title) FROM table_23287683_1 WHERE series__number = 95" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23286722_1 (season__number VARCHAR, production_code VARCHAR)" }, { "from": "human", "value": "Name the total number of season for production code 3m17" }, { "from": "gpt", "value": "SELECT COUNT(season__number) FROM table_23286722_1 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23286722_1 (directed_by VARCHAR, season__number VARCHAR)" }, { "from": "human", "value": "Name the directed by season # 2" }, { "from": "gpt", "value": "SELECT directed_by FROM table_23286722_1 WHERE season__number = 2" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23286722_1 (series__number INTEGER, written_by VARCHAR)" }, { "from": "human", "value": "Name least series number for writers david e. kelley & jill goldsmith" }, { "from": "gpt", "value": "SELECT MIN(series__number) FROM table_2328672...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23292220_13 (first_broadcast VARCHAR, episode VARCHAR)" }, { "from": "human", "value": "How many episodes are numbered 12x03?" }, { "from": "gpt", "value": "SELECT COUNT(first_broadcast) FROM table_23292220_13 WHERE episode = \"12x03\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23292220_13 (jons_team VARCHAR, seans_team VARCHAR)" }, { "from": "human", "value": "Who was on Jon's team when Sean's team had Matthew Crosby and Kimberly Wyatt?" }, { "from": "gpt", "value": "SELECT jons_team FROM table_23292220_13 W...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23292220_13 (episode VARCHAR, seans_team VARCHAR)" }, { "from": "human", "value": "What was the episode that had Jack Dee and Stacey Solomon on Sean's team?" }, { "from": "gpt", "value": "SELECT episode FROM table_23292220_13 WHERE sea...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23292220_13 (scores VARCHAR, seans_team VARCHAR)" }, { "from": "human", "value": "What was the score in the episode that had Louie Spence and Joe Wilkinson on Sean's team?" }, { "from": "gpt", "value": "SELECT scores FROM table_2329222...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23292220_13 (scores VARCHAR, seans_team VARCHAR)" }, { "from": "human", "value": "What was the score on the episode that had Russell Kane and Louise Redknapp on Sean's team?" }, { "from": "gpt", "value": "SELECT scores FROM table_23292...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23292220_3 (episode VARCHAR, seans_team VARCHAR)" }, { "from": "human", "value": "In which episode is Sean's team made up of Krishnan Guru-Murthy and Vic Reeves?" }, { "from": "gpt", "value": "SELECT episode FROM table_23292220_3 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23292220_3 (first_broadcast VARCHAR, daves_team VARCHAR)" }, { "from": "human", "value": "What is the first broadcast date of the episode in which Dave's team is made up of Dave Johns and Sally Lindsay?" }, { "from": "gpt", "value": "S...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23292220_3 (first_broadcast VARCHAR, seans_team VARCHAR)" }, { "from": "human", "value": "What was the first broadcast date of the episode in which Sean's team is made up of Peter Serafinowicz and Johnny Vegas?" }, { "from": "gpt", "va...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23292220_3 (episode VARCHAR, daves_team VARCHAR)" }, { "from": "human", "value": "In how many episodes was Dave's team made up of David Walliams and Louis Walsh?" }, { "from": "gpt", "value": "SELECT COUNT(episode) FROM table_23292220_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23292220_4 (episode VARCHAR, daves_team VARCHAR)" }, { "from": "human", "value": "Which episode has boy george and lee mack on dave's team?" }, { "from": "gpt", "value": "SELECT episode FROM table_23292220_4 WHERE daves_team = \"Boy Ge...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23292220_4 (daves_team VARCHAR, first_broadcast VARCHAR)" }, { "from": "human", "value": "How many daves team entries are there on 27 october 2006?" }, { "from": "gpt", "value": "SELECT COUNT(daves_team) FROM table_23292220_4 WHERE fir...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23292220_4 (episode VARCHAR, seans_team VARCHAR)" }, { "from": "human", "value": "Which episode has ulrika jonsson and michael mcintyre on sean's team?" }, { "from": "gpt", "value": "SELECT episode FROM table_23292220_4 WHERE seans_tea...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23292220_4 (scores VARCHAR, seans_team VARCHAR)" }, { "from": "human", "value": "What was the score in the episode with john barrowman and vic reeves on sean's team?" }, { "from": "gpt", "value": "SELECT scores FROM table_23292220_4 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23292220_4 (first_broadcast VARCHAR, episode VARCHAR)" }, { "from": "human", "value": "What was the first broadcast date of episode 4x03?" }, { "from": "gpt", "value": "SELECT first_broadcast FROM table_23292220_4 WHERE episode = \"4x0...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23292220_5 (first_broadcast VARCHAR, jasons_team VARCHAR)" }, { "from": "human", "value": "Name the first broadcast for trisha goddard and glenn wool" }, { "from": "gpt", "value": "SELECT first_broadcast FROM table_23292220_5 WHERE jas...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23292220_5 (scores VARCHAR, episode VARCHAR)" }, { "from": "human", "value": "Name the number of scores for 5x06" }, { "from": "gpt", "value": "SELECT COUNT(scores) FROM table_23292220_5 WHERE episode = \"5x06\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23292220_17 (first_broadcast VARCHAR, seans_team VARCHAR)" }, { "from": "human", "value": "Name the first broadcast for tina malone and joe wilkinson" }, { "from": "gpt", "value": "SELECT first_broadcast FROM table_23292220_17 WHERE se...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23292220_17 (jons_team VARCHAR, episode VARCHAR)" }, { "from": "human", "value": "Name the number of jons team for 15x10" }, { "from": "gpt", "value": "SELECT COUNT(jons_team) FROM table_23292220_17 WHERE episode = \"15x10\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23292220_17 (scores VARCHAR, seans_team VARCHAR)" }, { "from": "human", "value": "Name the scores for chris ramsey and carol vorderman" }, { "from": "gpt", "value": "SELECT scores FROM table_23292220_17 WHERE seans_team = \"Chris Rams...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23292220_17 (jons_team VARCHAR, episode VARCHAR)" }, { "from": "human", "value": "Name the total number of jons team for 15x07" }, { "from": "gpt", "value": "SELECT COUNT(jons_team) FROM table_23292220_17 WHERE episode = \"15x07\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23292220_6 (jasons_team VARCHAR, episode VARCHAR)" }, { "from": "human", "value": "Name all of Jason's teams that appeared on episode 6x02?" }, { "from": "gpt", "value": "SELECT jasons_team FROM table_23292220_6 WHERE episode = \"6x02\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23292220_6 (episode VARCHAR, seans_team VARCHAR)" }, { "from": "human", "value": "In how many episodes were Vanessa Feltz and Lee Mack the team for Sean? " }, { "from": "gpt", "value": "SELECT COUNT(episode) FROM table_23292220_6 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23292220_6 (episode VARCHAR, jasons_team VARCHAR)" }, { "from": "human", "value": "Name the episode(s) that featured Duncan James and Johnny Vegas as Jason's team." }, { "from": "gpt", "value": "SELECT episode FROM table_23292220_6 WHE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23293785_3 (sf_round INTEGER, driver VARCHAR)" }, { "from": "human", "value": "What round does Duncan Tappy drive in?" }, { "from": "gpt", "value": "SELECT MAX(sf_round) FROM table_23293785_3 WHERE driver = \"Duncan Tappy\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23293785_3 (race_total_pts_ INTEGER, country VARCHAR)" }, { "from": "human", "value": "How many racing points did England get?" }, { "from": "gpt", "value": "SELECT MAX(race_total_pts_) FROM table_23293785_3 WHERE country = \"England\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23293785_3 (race_2_pts_ VARCHAR, race_1_pts_ VARCHAR)" }, { "from": "human", "value": "How many are the Race 2 points when Race 1 was 12?" }, { "from": "gpt", "value": "SELECT race_2_pts_ FROM table_23293785_3 WHERE race_1_pts_ = 12" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23294081_11 (us_viewers__millions_ VARCHAR, no VARCHAR)" }, { "from": "human", "value": "How many millions of people in the US saw the episode number 226?" }, { "from": "gpt", "value": "SELECT us_viewers__millions_ FROM table_23294081_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23294081_11 (no INTEGER)" }, { "from": "human", "value": "What is the highest episode number?" }, { "from": "gpt", "value": "SELECT MAX(no) FROM table_23294081_11" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23294081_11 (performer_1 VARCHAR, performer_2 VARCHAR, _number VARCHAR)" }, { "from": "human", "value": "Who was performer 1 in the episode number 7 where Heather Anne Campbell was performer 2?" }, { "from": "gpt", "value": "SELECT per...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23294081_11 (_number INTEGER, performer_2 VARCHAR, us_viewers__millions_ VARCHAR)" }, { "from": "human", "value": "What's the number of the episode seen by 2.99 millions of people in the US, where performer 2 was Heather Anne Campbell?" }, { ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23292220_7 (episode VARCHAR, seans_team VARCHAR)" }, { "from": "human", "value": "Name the episode for vic reeves and claudia winkleman" }, { "from": "gpt", "value": "SELECT episode FROM table_23292220_7 WHERE seans_team = \"Vic Reeves...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23292220_7 (scores VARCHAR, episode VARCHAR)" }, { "from": "human", "value": "Name the number of scores for episode 7x05" }, { "from": "gpt", "value": "SELECT COUNT(scores) FROM table_23292220_7 WHERE episode = \"7x05\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23292220_7 (seans_team VARCHAR, first_broadcast VARCHAR)" }, { "from": "human", "value": "Name the seans team being 13 november 2008" }, { "from": "gpt", "value": "SELECT seans_team FROM table_23292220_7 WHERE first_broadcast = \"13 No...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23292220_7 (seans_team VARCHAR, episode VARCHAR)" }, { "from": "human", "value": "Name the total number of seans team being 7x04" }, { "from": "gpt", "value": "SELECT COUNT(seans_team) FROM table_23292220_7 WHERE episode = \"7x04\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23292220_7 (scores VARCHAR, episode VARCHAR)" }, { "from": "human", "value": "Name the total number of scores for 7x10" }, { "from": "gpt", "value": "SELECT COUNT(scores) FROM table_23292220_7 WHERE episode = \"7x10\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23293785_2 (date VARCHAR, race_total_pts_ VARCHAR)" }, { "from": "human", "value": "How many dates have a total points for race of 180?" }, { "from": "gpt", "value": "SELECT COUNT(date) FROM table_23293785_2 WHERE race_total_pts_ = 180...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23293785_2 (race_1_pts_ VARCHAR, race_total_pts_ VARCHAR)" }, { "from": "human", "value": "What is every points value for race 1 if the total race points is 180?" }, { "from": "gpt", "value": "SELECT race_1_pts_ FROM table_23293785_2 W...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23293785_2 (race_total_pts_ INTEGER, country VARCHAR)" }, { "from": "human", "value": "What is the lowest number of total race points for the country of Belgium?" }, { "from": "gpt", "value": "SELECT MIN(race_total_pts_) FROM table_232...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23293785_2 (driver VARCHAR, location VARCHAR)" }, { "from": "human", "value": "Who is every driver for the location of Estoril Circuit?" }, { "from": "gpt", "value": "SELECT driver FROM table_23293785_2 WHERE location = \"Estoril Circu...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23293785_2 (sf_round INTEGER, country VARCHAR)" }, { "from": "human", "value": "What is the highest value for SF round for the country of England?" }, { "from": "gpt", "value": "SELECT MAX(sf_round) FROM table_23293785_2 WHERE country ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23297_3 (surface VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What is the surface for the year 2001?" }, { "from": "gpt", "value": "SELECT surface FROM table_23297_3 WHERE year = 2001" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23308178_4 (score VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What was the score on October 29?" }, { "from": "gpt", "value": "SELECT score FROM table_23308178_4 WHERE date = \"October 29\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23308178_4 (opponent VARCHAR, record VARCHAR)" }, { "from": "human", "value": "How many opponents were there with the record of 3-2-2?" }, { "from": "gpt", "value": "SELECT COUNT(opponent) FROM table_23308178_4 WHERE record = \"3-2-2\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23308178_4 (record VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What was the record on October 17?" }, { "from": "gpt", "value": "SELECT record FROM table_23308178_4 WHERE date = \"October 17\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23308178_4 (date VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What date did they play agains the New York Rangers?" }, { "from": "gpt", "value": "SELECT date FROM table_23308178_4 WHERE opponent = \"New York Rangers\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23308178_4 (points INTEGER, date VARCHAR)" }, { "from": "human", "value": "How many points were there scored on October 27?" }, { "from": "gpt", "value": "SELECT MAX(points) FROM table_23308178_4 WHERE date = \"October 27\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23308178_5 (score VARCHAR, record VARCHAR)" }, { "from": "human", "value": "How many different scores are there for the game with 10-3-4 record?" }, { "from": "gpt", "value": "SELECT COUNT(score) FROM table_23308178_5 WHERE record = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23308178_5 (date VARCHAR, record VARCHAR)" }, { "from": "human", "value": "When was the game with 13-5-6 record played?" }, { "from": "gpt", "value": "SELECT date FROM table_23308178_5 WHERE record = \"13-5-6\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23308178_5 (points INTEGER)" }, { "from": "human", "value": "What's the minimal number of points scored in any game?" }, { "from": "gpt", "value": "SELECT MIN(points) FROM table_23308178_5" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23308178_5 (game VARCHAR, opponent VARCHAR, location VARCHAR)" }, { "from": "human", "value": "How many different games against Florida Panthers were played in Verizon Center?" }, { "from": "gpt", "value": "SELECT COUNT(game) FROM tabl...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23308178_5 (record VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What was the record in the November 7 game?" }, { "from": "gpt", "value": "SELECT record FROM table_23308178_5 WHERE date = \"November 7\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23308178_9 (attendance VARCHAR, record VARCHAR)" }, { "from": "human", "value": "How many times was there a record of 49-15-11?" }, { "from": "gpt", "value": "SELECT COUNT(attendance) FROM table_23308178_9 WHERE record = \"49-15-11\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23308178_9 (score VARCHAR, date VARCHAR)" }, { "from": "human", "value": "How many scores had a date of March 6?" }, { "from": "gpt", "value": "SELECT COUNT(score) FROM table_23308178_9 WHERE date = \"March 6\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23314951_4 (opponent VARCHAR, date VARCHAR)" }, { "from": "human", "value": "If the date is 7-21-2006, who was the opponent?" }, { "from": "gpt", "value": "SELECT opponent FROM table_23314951_4 WHERE date = \"7-21-2006\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23314951_4 (against VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "If the opponent is Kristian Pless, who was it against?" }, { "from": "gpt", "value": "SELECT against FROM table_23314951_4 WHERE opponent = \"Kristian Ples...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23315271_2 (winning_team VARCHAR, winning_driver VARCHAR)" }, { "from": "human", "value": "Who is the winning team when max busnelli is the winning driver?" }, { "from": "gpt", "value": "SELECT winning_team FROM table_23315271_2 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23315271_2 (location VARCHAR, circuit VARCHAR)" }, { "from": "human", "value": "In which location is aci vallelunga circuit?" }, { "from": "gpt", "value": "SELECT location FROM table_23315271_2 WHERE circuit = \"ACI Vallelunga circuit\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23315271_2 (pole_position VARCHAR, circuit VARCHAR)" }, { "from": "human", "value": "Who held the pole position in misano world circuit?" }, { "from": "gpt", "value": "SELECT pole_position FROM table_23315271_2 WHERE circuit = \"Misano...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23308178_7 (score VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "List the results for all games which involved the detroit red wings." }, { "from": "gpt", "value": "SELECT score FROM table_23308178_7 WHERE opponent = \"Det...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23308178_7 (points INTEGER, record VARCHAR)" }, { "from": "human", "value": "Calculate the highest points where the win,loss, tie ratio is 28-12-6" }, { "from": "gpt", "value": "SELECT MAX(points) FROM table_23308178_7 WHERE record = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23308178_7 (record VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "what are the previous performance details for games involving the montreal canadiens?" }, { "from": "gpt", "value": "SELECT record FROM table_23308178_7 WHE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2331549_1 (year VARCHAR, third_place VARCHAR)" }, { "from": "human", "value": "Which years did Michigan state university come in third place?" }, { "from": "gpt", "value": "SELECT year FROM table_2331549_1 WHERE third_place = \"Michiga...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2331549_1 (champion VARCHAR, third_place VARCHAR)" }, { "from": "human", "value": "Who were the champions in years where michigan technological university was in third place?" }, { "from": "gpt", "value": "SELECT champion FROM table_23...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2331549_1 (host_city VARCHAR, host_school VARCHAR)" }, { "from": "human", "value": "What was the host city in years where the host school was école de technologie supérieure?" }, { "from": "gpt", "value": "SELECT host_city FROM table_2...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2331549_1 (second_place VARCHAR, champion VARCHAR)" }, { "from": "human", "value": "Who came in second place when the champion was south dakota school of mines & technology?" }, { "from": "gpt", "value": "SELECT second_place FROM table...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23316034_16 (innings VARCHAR, average VARCHAR)" }, { "from": "human", "value": "If the average is 45.65, what is the total number of innings?" }, { "from": "gpt", "value": "SELECT COUNT(innings) FROM table_23316034_16 WHERE average = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23316034_16 (player VARCHAR, innings VARCHAR)" }, { "from": "human", "value": "What is the name of the player if the innings is 82?" }, { "from": "gpt", "value": "SELECT player FROM table_23316034_16 WHERE innings = 82" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23316034_16 (average VARCHAR, innings VARCHAR)" }, { "from": "human", "value": "If the innings is 68, what is the average?" }, { "from": "gpt", "value": "SELECT average FROM table_23316034_16 WHERE innings = 68" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23316034_16 (matches INTEGER, runs VARCHAR)" }, { "from": "human", "value": "If the runs is 5028, what is the matches maximum?" }, { "from": "gpt", "value": "SELECT MAX(matches) FROM table_23316034_16 WHERE runs = 5028" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23316034_23 (dismissals INTEGER, player VARCHAR)" }, { "from": "human", "value": "Name the least dismissals for sammy carter" }, { "from": "gpt", "value": "SELECT MIN(dismissals) FROM table_23316034_23 WHERE player = \"Sammy Carter\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23316034_23 (dismissals VARCHAR, player VARCHAR)" }, { "from": "human", "value": "Name the number of dismissals for adam gilchrist" }, { "from": "gpt", "value": "SELECT COUNT(dismissals) FROM table_23316034_23 WHERE player = \"Adam Gil...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23316034_23 (dismissals INTEGER, rank VARCHAR)" }, { "from": "human", "value": "Name the least dismissals for 4 rank" }, { "from": "gpt", "value": "SELECT MAX(dismissals) FROM table_23316034_23 WHERE rank = 4" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2333416_2 (top_10 VARCHAR, winnings VARCHAR)" }, { "from": "human", "value": "How many top 10 finishes did Ken Bouchard get in the year he won $17,695?" }, { "from": "gpt", "value": "SELECT top_10 FROM table_2333416_2 WHERE winnings = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2333416_2 (year VARCHAR, position VARCHAR)" }, { "from": "human", "value": "What year did Ken Bouchard finish in 78th place?" }, { "from": "gpt", "value": "SELECT year FROM table_2333416_2 WHERE position = \"78th\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2333416_2 (year VARCHAR, position VARCHAR)" }, { "from": "human", "value": "How many seasons did Ken Bouchard finish in 38th place?" }, { "from": "gpt", "value": "SELECT COUNT(year) FROM table_2333416_2 WHERE position = \"38th\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2333416_2 (wins INTEGER)" }, { "from": "human", "value": "What is the greatest number of wins Ken Bouchard had in a season?" }, { "from": "gpt", "value": "SELECT MIN(wins) FROM table_2333416_2" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23338693_1 (races VARCHAR, season VARCHAR, podiums VARCHAR)" }, { "from": "human", "value": "How many races in 2012 season have 0 podiums?" }, { "from": "gpt", "value": "SELECT COUNT(races) FROM table_23338693_1 WHERE season = 2012 AND...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23338693_1 (season VARCHAR, team VARCHAR)" }, { "from": "human", "value": "How many seasons have motopark team?" }, { "from": "gpt", "value": "SELECT COUNT(season) FROM table_23338693_1 WHERE team = \"Motopark\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23338693_1 (team VARCHAR, position VARCHAR, season VARCHAR)" }, { "from": "human", "value": "Which team has nc position for 2010 season?" }, { "from": "gpt", "value": "SELECT team FROM table_23338693_1 WHERE position = \"NC\" AND seaso...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23338693_1 (points VARCHAR, series VARCHAR, f_laps VARCHAR)" }, { "from": "human", "value": "How many points have a series of british formula renault 2.0 winter cup and f/laps of 0?" }, { "from": "gpt", "value": "SELECT points FROM tab...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23346303_5 (minutes INTEGER, rebounds VARCHAR)" }, { "from": "human", "value": "If the amount of rebounds is 0, what is the maximum minutes?" }, { "from": "gpt", "value": "SELECT MAX(minutes) FROM table_23346303_5 WHERE rebounds = 0" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23346303_5 (points VARCHAR, assists VARCHAR)" }, { "from": "human", "value": "What is the points total number if the assists is 7?" }, { "from": "gpt", "value": "SELECT COUNT(points) FROM table_23346303_5 WHERE assists = 7" } ]
know_sql
chosen