conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_name_19 (week INTEGER, attendance VARCHAR)" }, { "from": "human", "value": "What is the average week number for games that had 28,800 fans in attendance?" }, { "from": "gpt", "value": "SELECT AVG(week) FROM table_name_19 WHERE attendan...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_45 (opponent VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "Who did the argonauts play against during the game that had 19,423 fans in attendance?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_45 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_10 (margin_of_victory VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What was Juli's winning margin on Aug 24, 1986?" }, { "from": "gpt", "value": "SELECT margin_of_victory FROM table_name_10 WHERE date = \"aug 24, 1986\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_65 (margin_of_victory VARCHAR, tournament VARCHAR)" }, { "from": "human", "value": "What was the margin of victory at the LPGA Championship?" }, { "from": "gpt", "value": "SELECT margin_of_victory FROM table_name_65 WHERE tourname...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_72 (ties INTEGER, losses INTEGER)" }, { "from": "human", "value": "What is the highest value for Ties, when Losses is less than 8?" }, { "from": "gpt", "value": "SELECT MAX(ties) FROM table_name_72 WHERE losses < 8" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (losses VARCHAR, ties VARCHAR, wins VARCHAR)" }, { "from": "human", "value": "What is the total number of Losses, when Ties is 2, and when Wins is greater than 8?" }, { "from": "gpt", "value": "SELECT COUNT(losses) FROM table_n...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_84 (react INTEGER, mark VARCHAR, heat VARCHAR)" }, { "from": "human", "value": "What is the highest React that has a 7.61 Mark and a heat bigger than 1?" }, { "from": "gpt", "value": "SELECT MAX(react) FROM table_name_84 WHERE mar...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_49 (cause_of_death VARCHAR, date_of_death VARCHAR)" }, { "from": "human", "value": "What is the Cause of death of the Officer with a Date of death of 1956-09-07?" }, { "from": "gpt", "value": "SELECT cause_of_death FROM table_name...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_95 (tenure VARCHAR, cause_of_death VARCHAR, badge_serial_number VARCHAR)" }, { "from": "human", "value": "What is the Tenure of the Officer who died in a helicopter accident with Badge/Serial Number 16805?" }, { "from": "gpt", "va...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_58 (badge_serial_number VARCHAR, date_of_death VARCHAR, rank VARCHAR, cause_of_death VARCHAR)" }, { "from": "human", "value": "What is the Badge/Serial Number of the Policeman who died in Gunfire on 1919-02-18?" }, { "from": "gpt", ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_17 (rank VARCHAR, cause_of_death VARCHAR, badge_serial_number VARCHAR)" }, { "from": "human", "value": "What is the Rank of the Officer with Badge/Serial Number 11755 who died in Gunfire?" }, { "from": "gpt", "value": "SELECT rank...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_40 (team VARCHAR, tries_against VARCHAR)" }, { "from": "human", "value": "What is Team, when Tries Against is 8?" }, { "from": "gpt", "value": "SELECT team FROM table_name_40 WHERE tries_against = \"8\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_22 (tries_against VARCHAR, tries_for VARCHAR)" }, { "from": "human", "value": "What is Tries Against, when Tries For is 20?" }, { "from": "gpt", "value": "SELECT tries_against FROM table_name_22 WHERE tries_for = \"20\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_22 (tries_against VARCHAR, points_for VARCHAR)" }, { "from": "human", "value": "What is Tries Against, when Points For is 98?" }, { "from": "gpt", "value": "SELECT tries_against FROM table_name_22 WHERE points_for = \"98\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_88 (points_against VARCHAR, try_diff VARCHAR)" }, { "from": "human", "value": "What is Points Against, when Try Diff is +22?" }, { "from": "gpt", "value": "SELECT points_against FROM table_name_88 WHERE try_diff = \"+22\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_2 (record VARCHAR, event VARCHAR, method VARCHAR)" }, { "from": "human", "value": "What is Record, when Event is \"Independent Event\", and when Method is \"Submission (Peruvian Necktie)\"?" }, { "from": "gpt", "value": "SELECT re...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_54 (event VARCHAR, method VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What is Event, when Method is \"Submission (Armbar)\", and when Opponent is \"Jason St. Louis\"?" }, { "from": "gpt", "value": "SELECT event FRO...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (res VARCHAR, event VARCHAR)" }, { "from": "human", "value": "What is Res., when Event is \"KOTC 11 - Domination\"?" }, { "from": "gpt", "value": "SELECT res FROM table_name_81 WHERE event = \"kotc 11 - domination\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_76 (attendance VARCHAR, result VARCHAR)" }, { "from": "human", "value": "How many were in attendance with a Result of l 17–10?" }, { "from": "gpt", "value": "SELECT attendance FROM table_name_76 WHERE result = \"l 17–10\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_69 (attendance VARCHAR, week VARCHAR, result VARCHAR)" }, { "from": "human", "value": "How many were in attendance in a week lower than 5 with a Bye result?" }, { "from": "gpt", "value": "SELECT attendance FROM table_name_69 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_54 (date VARCHAR, result VARCHAR)" }, { "from": "human", "value": "On what date was the result w 26–20?" }, { "from": "gpt", "value": "SELECT date FROM table_name_54 WHERE result = \"w 26–20\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (opponent VARCHAR, week VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Who was the opponent in a week below 14 on October 10, 1993?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_18 WHERE week < 14 AND ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_29 (top_5 INTEGER, position VARCHAR, year VARCHAR)" }, { "from": "human", "value": "Name the average Top 5 which has a Position of 52nd with a Year smaller than 2000?" }, { "from": "gpt", "value": "SELECT AVG(top_5) FROM table_nam...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_5 (wins INTEGER, top_10 INTEGER)" }, { "from": "human", "value": "Name the average Wins which has a Top 10 smaller than 0?" }, { "from": "gpt", "value": "SELECT AVG(wins) FROM table_name_5 WHERE top_10 < 0" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_9 (points_classification VARCHAR, general_classification VARCHAR)" }, { "from": "human", "value": "Which Points Classification does the General Classification of Cyril Dessel have?" }, { "from": "gpt", "value": "SELECT points_clas...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_30 (team_classification VARCHAR, winner VARCHAR)" }, { "from": "human", "value": "What is the Team Classification if the Winner is Cyril Dessel?" }, { "from": "gpt", "value": "SELECT team_classification FROM table_name_30 WHERE wi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_8 (team_classification VARCHAR, mountains_classification VARCHAR, stage VARCHAR)" }, { "from": "human", "value": "In the final Stage with a Mountains Classification of Christophe Moreau, what is the Team Classification?" }, { "from": ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (mountains_classification VARCHAR, winner VARCHAR, sprints_classification VARCHAR)" }, { "from": "human", "value": "What is the Mountains Classification for Winner Thor hushovd with Sprints Classification of no award?" }, { "from":...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_2 (mountains_classification VARCHAR, winner VARCHAR)" }, { "from": "human", "value": "What is the Mountains Classification for Winner josé luis carrasco?" }, { "from": "gpt", "value": "SELECT mountains_classification FROM table_na...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_71 (channel VARCHAR, play_by_play VARCHAR)" }, { "from": "human", "value": "Which channel has Joel Meyers as the Play by play commentator?" }, { "from": "gpt", "value": "SELECT channel FROM table_name_71 WHERE play_by_play = \"joe...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_19 (studio_host VARCHAR, play_by_play VARCHAR, studio_analysts VARCHAR)" }, { "from": "human", "value": "Who is the studio host for the game that has Paul Sunderland as play by play commentator and Jack Haley as the Studio Analyst?" }, { ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (studio_host VARCHAR, channel VARCHAR, play_by_play VARCHAR)" }, { "from": "human", "value": "Who is the studio host for the game broadcasted by Fox Sports Net west and has Chick Hearn as the play by play commentator ?" }, { "from"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_17 (play_by_play VARCHAR, studio_host VARCHAR)" }, { "from": "human", "value": "Who is the play by play commentator for the game that has Alan Massengale as Studio Host?" }, { "from": "gpt", "value": "SELECT play_by_play FROM tabl...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_82 (channel VARCHAR, studio_analysts VARCHAR, play_by_play VARCHAR, studio_host VARCHAR)" }, { "from": "human", "value": "which channel will have play by play commentator Paul Sunderland, Studio Host Bill Macdonald and Studi Analysty Jack Hal...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_60 (assists INTEGER, club VARCHAR, points VARCHAR)" }, { "from": "human", "value": "How many Assists have a Club of adler mannheim, and Points larger than 57?" }, { "from": "gpt", "value": "SELECT SUM(assists) FROM table_name_60 W...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_28 (points INTEGER, assists VARCHAR)" }, { "from": "human", "value": "How many points have 41 assists?" }, { "from": "gpt", "value": "SELECT SUM(points) FROM table_name_28 WHERE assists = 41" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_7 (goals INTEGER, player VARCHAR, games VARCHAR)" }, { "from": "human", "value": "Which Goals have a Player of david mcllwain, and Games larger than 52?" }, { "from": "gpt", "value": "SELECT MAX(goals) FROM table_name_7 WHERE play...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_28 (platform VARCHAR, stop_no VARCHAR)" }, { "from": "human", "value": "Which Platform is the one that has a Stop number of 99014?" }, { "from": "gpt", "value": "SELECT platform FROM table_name_28 WHERE stop_no = \"99014\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_62 (line VARCHAR, platform VARCHAR)" }, { "from": "human", "value": "Which Line has a Platform of 3?" }, { "from": "gpt", "value": "SELECT line FROM table_name_62 WHERE platform = \"3\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_47 (destination VARCHAR, stopping_pattern VARCHAR)" }, { "from": "human", "value": "Which Destination has a Stopping pattern of [2777] mciver station platforms?" }, { "from": "gpt", "value": "SELECT destination FROM table_name_47 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_50 (stop_no VARCHAR, platform VARCHAR)" }, { "from": "human", "value": "Which Stop # has a Platform of [2777] mciver station platforms?" }, { "from": "gpt", "value": "SELECT stop_no FROM table_name_50 WHERE platform = \"[2777] mci...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_59 (line VARCHAR, stopping_pattern VARCHAR)" }, { "from": "human", "value": "Which Line has a Stopping pattern of all stations, A, b, p?" }, { "from": "gpt", "value": "SELECT line FROM table_name_59 WHERE stopping_pattern = \"all ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_50 (stopping_pattern VARCHAR, platform VARCHAR)" }, { "from": "human", "value": "Which Stopping pattern has a Platform of [2777] mciver station platforms?" }, { "from": "gpt", "value": "SELECT stopping_pattern FROM table_name_50 W...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_20 (runner_up VARCHAR, attendance VARCHAR, venue VARCHAR, result VARCHAR)" }, { "from": "human", "value": "Who was runner-up at Berlin when the result was 2-0 with 100,000 fans in attendance?" }, { "from": "gpt", "value": "SELECT ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_65 (champion VARCHAR, result VARCHAR, venue VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "Who was the champion at berlin when the result was 2-0 with 100,000 fans in attendance?" }, { "from": "gpt", "value": "SELEC...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (year VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "What year had an attendance of 90,000?" }, { "from": "gpt", "value": "SELECT year FROM table_name_38 WHERE attendance = \"90,000\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_39 (year INTEGER, attendance VARCHAR, runner_up VARCHAR)" }, { "from": "human", "value": "What is the sum of the years where the attendance was 95,000 and the runner-up was dresdner sc?" }, { "from": "gpt", "value": "SELECT SUM(ye...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_43 (champion VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "Who was the champion when the attendance was 70,000?" }, { "from": "gpt", "value": "SELECT champion FROM table_name_43 WHERE attendance = \"70,000\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_12 (height__ft_ VARCHAR, name VARCHAR, height__m_ VARCHAR)" }, { "from": "human", "value": "What is the Height (ft) of the Churchill House with a Height (m) less than 59?" }, { "from": "gpt", "value": "SELECT COUNT(height__ft_) FR...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_33 (total INTEGER, year_s__won VARCHAR)" }, { "from": "human", "value": "Total for 1994, 1997 years won?" }, { "from": "gpt", "value": "SELECT SUM(total) FROM table_name_33 WHERE year_s__won = \"1994, 1997\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (player VARCHAR, year_s__won VARCHAR)" }, { "from": "human", "value": "Player than won in 2003?" }, { "from": "gpt", "value": "SELECT player FROM table_name_94 WHERE year_s__won = \"2003\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_33 (total INTEGER, player VARCHAR)" }, { "from": "human", "value": "Average total for jim furyk?" }, { "from": "gpt", "value": "SELECT AVG(total) FROM table_name_33 WHERE player = \"jim furyk\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_78 (record VARCHAR, visitor VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Which record had a visitor of New Jersey Devils on May 7?" }, { "from": "gpt", "value": "SELECT record FROM table_name_78 WHERE visitor = \"new je...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_44 (record VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What was the record on May 8?" }, { "from": "gpt", "value": "SELECT record FROM table_name_44 WHERE date = \"may 8\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (population__2013_ VARCHAR, largest_city VARCHAR)" }, { "from": "human", "value": "What is Nelspruit's population?" }, { "from": "gpt", "value": "SELECT COUNT(population__2013_) FROM table_name_74 WHERE largest_city = \"nelspru...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_12 (time VARCHAR, round VARCHAR, record VARCHAR)" }, { "from": "human", "value": "Which Time has a Round of 3, and a Record of 2–0?" }, { "from": "gpt", "value": "SELECT time FROM table_name_12 WHERE round = 3 AND record = \"2–0\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_37 (laps INTEGER, grid VARCHAR)" }, { "from": "human", "value": "What were the average laps on a grid of 11?" }, { "from": "gpt", "value": "SELECT AVG(laps) FROM table_name_37 WHERE grid = 11" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_34 (location VARCHAR, record VARCHAR)" }, { "from": "human", "value": "Where is the location with a record of 50-19?" }, { "from": "gpt", "value": "SELECT location FROM table_name_34 WHERE record = \"50-19\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_12 (game INTEGER, record VARCHAR)" }, { "from": "human", "value": "Which game had a record of 45-16?" }, { "from": "gpt", "value": "SELECT AVG(game) FROM table_name_12 WHERE record = \"45-16\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (game VARCHAR, location VARCHAR, record VARCHAR)" }, { "from": "human", "value": "Which game is located in Boston Garden and has a record of 49-17?" }, { "from": "gpt", "value": "SELECT game FROM table_name_81 WHERE location = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_23 (lbsc_name VARCHAR)" }, { "from": "human", "value": "What is the largest 1st LBSC number with a LBSC Name of northcote?" }, { "from": "gpt", "value": "SELECT MAX(1 AS st_lbsc_no) FROM table_name_23 WHERE lbsc_name = \"northcote...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_17 (result VARCHAR, round VARCHAR)" }, { "from": "human", "value": "What is the result when the round shows 34?" }, { "from": "gpt", "value": "SELECT result FROM table_name_17 WHERE round = 34" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_28 (venue VARCHAR, opponent VARCHAR, round VARCHAR)" }, { "from": "human", "value": "What is the venue when Woking was the opponent, and the round was less than 29?" }, { "from": "gpt", "value": "SELECT venue FROM table_name_28 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_19 (round VARCHAR, opponent VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "What is the round number when the opponent was Wrexham, and the venue shows as Away?" }, { "from": "gpt", "value": "SELECT COUNT(round) FROM tabl...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_12 (position INTEGER, name VARCHAR, drawn VARCHAR)" }, { "from": "human", "value": "what is the lowest position when the name is esv türkheim, and Drawn more than 0?" }, { "from": "gpt", "value": "SELECT MIN(position) FROM table_n...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_79 (drawn INTEGER, played INTEGER)" }, { "from": "human", "value": "what is the highest drawn when played is more than 14?" }, { "from": "gpt", "value": "SELECT MAX(drawn) FROM table_name_79 WHERE played > 14" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (drawn INTEGER, name VARCHAR, position VARCHAR)" }, { "from": "human", "value": "what is the least drawn when the name is sv apfeldorf and the position is more than 8?" }, { "from": "gpt", "value": "SELECT MIN(drawn) FROM table...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_31 (winner VARCHAR, team VARCHAR)" }, { "from": "human", "value": "who is the winner when the team is mobil 1 racing?" }, { "from": "gpt", "value": "SELECT winner FROM table_name_31 WHERE team = \"mobil 1 racing\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_60 (circuit VARCHAR, date VARCHAR)" }, { "from": "human", "value": "what is the circuit when the date is 16 april?" }, { "from": "gpt", "value": "SELECT circuit FROM table_name_60 WHERE date = \"16 april\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (circuit VARCHAR, date VARCHAR)" }, { "from": "human", "value": "what is the circuit when the date is 4 june?" }, { "from": "gpt", "value": "SELECT circuit FROM table_name_94 WHERE date = \"4 june\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_53 (race_title VARCHAR, winner VARCHAR, circuit VARCHAR)" }, { "from": "human", "value": "what is the race title when the winner is dick johnson and the circuit is sandown raceway?" }, { "from": "gpt", "value": "SELECT race_title ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_73 (date VARCHAR, home_team VARCHAR, game VARCHAR)" }, { "from": "human", "value": "On what date was the game 1 played at Portland?" }, { "from": "gpt", "value": "SELECT date FROM table_name_73 WHERE home_team = \"portland\" AND g...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_3 (road_team VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Who was the road team on May 2?" }, { "from": "gpt", "value": "SELECT road_team FROM table_name_3 WHERE date = \"may 2\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_24 (road_team VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Who was the road team on May 2?" }, { "from": "gpt", "value": "SELECT road_team FROM table_name_24 WHERE date = \"may 2\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_98 (date VARCHAR, home_team VARCHAR, game VARCHAR)" }, { "from": "human", "value": "On what date did Portland play game 5 at home?" }, { "from": "gpt", "value": "SELECT date FROM table_name_98 WHERE home_team = \"portland\" AND ga...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_5 (game VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Which game of the season was played on April 22?" }, { "from": "gpt", "value": "SELECT game FROM table_name_5 WHERE date = \"april 22\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_26 (round INTEGER, opponent VARCHAR)" }, { "from": "human", "value": "What is the highest round a fight lasted against masutatsu yano?" }, { "from": "gpt", "value": "SELECT MAX(round) FROM table_name_26 WHERE opponent = \"masutats...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_31 (method VARCHAR, record VARCHAR)" }, { "from": "human", "value": "What was the method of resolution when Katsuhisa Fujii's record was 0-1?" }, { "from": "gpt", "value": "SELECT method FROM table_name_31 WHERE record = \"0-1\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_54 (jersey_number_s_ VARCHAR, years VARCHAR)" }, { "from": "human", "value": "What is the jersey number of the player from years 1986 – 1991 1997 – 1999?" }, { "from": "gpt", "value": "SELECT jersey_number_s_ FROM table_name_54 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (position VARCHAR, years VARCHAR)" }, { "from": "human", "value": "What position was played by the player during 1986 – 1991 1997 – 1999?" }, { "from": "gpt", "value": "SELECT position FROM table_name_57 WHERE years = \"1986 – ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_13 (years VARCHAR, jersey_number_s_ VARCHAR)" }, { "from": "human", "value": "During what years was the Jersey Numbers 34, 30 played?" }, { "from": "gpt", "value": "SELECT years FROM table_name_13 WHERE jersey_number_s_ = \"34, 30...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_78 (record VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What is Record, when Opponent is San Francisco Warriors?" }, { "from": "gpt", "value": "SELECT record FROM table_name_78 WHERE opponent = \"san francisco warri...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_50 (h_a_n VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is H/A/N, when Date is October 31?" }, { "from": "gpt", "value": "SELECT h_a_n FROM table_name_50 WHERE date = \"october 31\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_44 (score VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What is Score, when Opponent is Atlanta Hawks?" }, { "from": "gpt", "value": "SELECT score FROM table_name_44 WHERE opponent = \"atlanta hawks\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (h_a_n VARCHAR, record VARCHAR)" }, { "from": "human", "value": "What is H/A/N, when Record is 2-5?" }, { "from": "gpt", "value": "SELECT h_a_n FROM table_name_74 WHERE record = \"2-5\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_37 (record VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is Record, when Date is October 31?" }, { "from": "gpt", "value": "SELECT record FROM table_name_37 WHERE date = \"october 31\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_42 (record VARCHAR, h_a_n VARCHAR)" }, { "from": "human", "value": "What is Record, when H/A/N is n?" }, { "from": "gpt", "value": "SELECT record FROM table_name_42 WHERE h_a_n = \"n\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_8 (gauge VARCHAR, concessionaire VARCHAR)" }, { "from": "human", "value": "What was the guage of the concessionaire ferrosur roca?" }, { "from": "gpt", "value": "SELECT gauge FROM table_name_8 WHERE concessionaire = \"ferrosur roc...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_19 (takeover_date VARCHAR, fa_division_s_ VARCHAR)" }, { "from": "human", "value": "What is the takeover date of the FA division mitre?" }, { "from": "gpt", "value": "SELECT takeover_date FROM table_name_19 WHERE fa_division_s_ = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_39 (date VARCHAR, tournament VARCHAR)" }, { "from": "human", "value": "What date was the tournament in Indian Wells?" }, { "from": "gpt", "value": "SELECT date FROM table_name_39 WHERE tournament = \"indian wells\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_23 (opponent VARCHAR, surface VARCHAR, tournament VARCHAR)" }, { "from": "human", "value": "Who was the opponent in the math that was played in Nice on a clay court?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_2...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_70 (score VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What was the score in the match against Sergi Bruguera?" }, { "from": "gpt", "value": "SELECT score FROM table_name_70 WHERE opponent = \"sergi bruguera\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_5 (score VARCHAR, tournament VARCHAR)" }, { "from": "human", "value": "What was the score of the tournament in Wellington?" }, { "from": "gpt", "value": "SELECT score FROM table_name_5 WHERE tournament = \"wellington\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_10 (race_name VARCHAR, round VARCHAR)" }, { "from": "human", "value": "Which race was in round 6?" }, { "from": "gpt", "value": "SELECT race_name FROM table_name_10 WHERE round = 6" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_23 (round VARCHAR, winning_driver VARCHAR)" }, { "from": "human", "value": "Which round did jonathan bomarito win?" }, { "from": "gpt", "value": "SELECT round FROM table_name_23 WHERE winning_driver = \"jonathan bomarito\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_16 (race_name VARCHAR, winning_team VARCHAR, pole_position VARCHAR)" }, { "from": "human", "value": "What race did the team Mi-Jack Conquest racing win with a pole position of andreas wirth?" }, { "from": "gpt", "value": "SELECT r...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_59 (race_name VARCHAR, pole_position VARCHAR, winning_driver VARCHAR, round VARCHAR)" }, { "from": "human", "value": "What race after round 6 did Graham Rahal win with a pole position of graham rahal?" }, { "from": "gpt", "value":...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_82 (pole_position VARCHAR, race_name VARCHAR)" }, { "from": "human", "value": "What pole position did 2006 gehl championship finale have?" }, { "from": "gpt", "value": "SELECT pole_position FROM table_name_82 WHERE race_name = \"2...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_26 (player VARCHAR, place VARCHAR, score VARCHAR)" }, { "from": "human", "value": "who is the player when the place is t5 and the score is 69-74=143?" }, { "from": "gpt", "value": "SELECT player FROM table_name_26 WHERE place = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_49 (score VARCHAR, player VARCHAR, country VARCHAR, to_par VARCHAR)" }, { "from": "human", "value": "what is the score when the country is united states, the to par is +2 and the player is phil hancock?" }, { "from": "gpt", "value...
know_sql
chosen