conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_name_82 (wins INTEGER, points VARCHAR, draws VARCHAR, club VARCHAR)" }, { "from": "human", "value": "What is the highest number of wins for club Cd Orense, with points greater than 36 and more than 4 draws?" }, { "from": "gpt", "value"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_65 (played INTEGER, position INTEGER)" }, { "from": "human", "value": "What is the total number of played for the entry with a position of less than 1?" }, { "from": "gpt", "value": "SELECT SUM(played) FROM table_name_65 WHERE pos...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_99 (record VARCHAR, time VARCHAR)" }, { "from": "human", "value": "For the match that lasted 3:53 minutes, what was the final record?" }, { "from": "gpt", "value": "SELECT record FROM table_name_99 WHERE time = \"3:53\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (location VARCHAR, event VARCHAR)" }, { "from": "human", "value": "Where was the UFC 154 match held?" }, { "from": "gpt", "value": "SELECT location FROM table_name_18 WHERE event = \"ufc 154\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_40 (team_1 VARCHAR)" }, { "from": "human", "value": "What is the 1st leg that has a Rc Cannes Team 1?" }, { "from": "gpt", "value": "SELECT 1 AS st_leg FROM table_name_40 WHERE team_1 = \"rc cannes\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_45 (position INTEGER, loses VARCHAR, points VARCHAR, wins VARCHAR)" }, { "from": "human", "value": "What is the lowest positioned club with points greater than 40, 16 wins and losses less than 3?" }, { "from": "gpt", "value": "SEL...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_84 (position INTEGER, wins VARCHAR, loses VARCHAR)" }, { "from": "human", "value": "What is the lowest positioned team with 2 wins and losses greater than 13?" }, { "from": "gpt", "value": "SELECT MIN(position) FROM table_name_84 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_88 (wins INTEGER, goals_scored VARCHAR, goals_conceded VARCHAR, draws VARCHAR)" }, { "from": "human", "value": "What is the smallest number of wins where goals conceded are below 26, draws are 1 and goals scored are below 74?" }, { "f...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_60 (wins INTEGER, goals_conceded VARCHAR, club VARCHAR, points VARCHAR, goals_scored VARCHAR)" }, { "from": "human", "value": "For the club Minija Kretinga, what's the lowest number of wins with points smaller than 25, goals at 22 and goals c...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_50 (place VARCHAR, bronze VARCHAR, silver VARCHAR, year VARCHAR)" }, { "from": "human", "value": "In which Place was the Silver won by valeri postoianov ( urs ) later than 1969 and the Bronze won by alexander gazov ( urs )?" }, { "fro...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_59 (bronze VARCHAR, place VARCHAR)" }, { "from": "human", "value": "Who won the Bronze at Melbourne?" }, { "from": "gpt", "value": "SELECT bronze FROM table_name_59 WHERE place = \"melbourne\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_3 (place VARCHAR, silver VARCHAR)" }, { "from": "human", "value": "In what Place was the Silver won by vladimir vesselov ( urs )?" }, { "from": "gpt", "value": "SELECT place FROM table_name_3 WHERE silver = \"vladimir vesselov ( u...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_66 (award VARCHAR, result VARCHAR, film VARCHAR)" }, { "from": "human", "value": "What is Award, when Result is \"Nominated\", and when Film is \"Sankranthi\"?" }, { "from": "gpt", "value": "SELECT award FROM table_name_66 WHERE r...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_35 (award VARCHAR, category VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What is Award, when Category is \"Best Actor\", and when Year is less than 1988?" }, { "from": "gpt", "value": "SELECT award FROM table_name_35 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (year VARCHAR, award VARCHAR, category VARCHAR)" }, { "from": "human", "value": "What is the total number of Year, when Award is \"Vamsi Berkley Award\", and when Category is \"Best Actor\"?" }, { "from": "gpt", "value": "SELEC...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_87 (result VARCHAR, film VARCHAR, award VARCHAR)" }, { "from": "human", "value": "What is Result, when Film is \"Dharma Chakram\", and when Award is \"Nandi Award for Best Actor\"?" }, { "from": "gpt", "value": "SELECT result FROM...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_11 (opponent VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is Opponent, when Date is \"Dec 8\"?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_11 WHERE date = \"dec 8\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_30 (score VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is Score, when Date is \"Nov 28\"?" }, { "from": "gpt", "value": "SELECT score FROM table_name_30 WHERE date = \"nov 28\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_8 (date VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What is Date, when Score is \"80-79\"?" }, { "from": "gpt", "value": "SELECT date FROM table_name_8 WHERE score = \"80-79\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_11 (record VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What is Record, when Opponent is \"New York Knicks\"?" }, { "from": "gpt", "value": "SELECT record FROM table_name_11 WHERE opponent = \"new york knicks\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_9 (score VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What is Score, when Opponent is \"@ New York Knicks\"?" }, { "from": "gpt", "value": "SELECT score FROM table_name_9 WHERE opponent = \"@ new york knicks\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_19 (result VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What is Result, when Opponent is \"Rochester Royals\"?" }, { "from": "gpt", "value": "SELECT result FROM table_name_19 WHERE opponent = \"rochester royals\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_59 (result VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "What was the Result at Strathclyde Homes Stadium?" }, { "from": "gpt", "value": "SELECT result FROM table_name_59 WHERE venue = \"strathclyde homes stadium\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_99 (score VARCHAR, country VARCHAR)" }, { "from": "human", "value": "Name the Score of spain?" }, { "from": "gpt", "value": "SELECT score FROM table_name_99 WHERE country = \"spain\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_20 (country VARCHAR, to_par VARCHAR)" }, { "from": "human", "value": "Which Country has a To par of −2? Question 2" }, { "from": "gpt", "value": "SELECT country FROM table_name_20 WHERE to_par = \"−2\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_1 (place VARCHAR, to_par VARCHAR, player VARCHAR)" }, { "from": "human", "value": "Which Place has a To par of −1 and don pooley?" }, { "from": "gpt", "value": "SELECT place FROM table_name_1 WHERE to_par = \"−1\" AND player = \"d...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_24 (result VARCHAR, week VARCHAR)" }, { "from": "human", "value": "What is week 15's result?" }, { "from": "gpt", "value": "SELECT result FROM table_name_24 WHERE week = 15" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_31 (week INTEGER, opponent VARCHAR)" }, { "from": "human", "value": "What week did Cleveland Browns played?" }, { "from": "gpt", "value": "SELECT AVG(week) FROM table_name_31 WHERE opponent = \"cleveland browns\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_43 (goals INTEGER, name VARCHAR)" }, { "from": "human", "value": "What is the Highest Goals for Grella?" }, { "from": "gpt", "value": "SELECT MAX(goals) FROM table_name_43 WHERE name = \"grella\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_67 (notes VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What is in the Notes for Player Name Grella?" }, { "from": "gpt", "value": "SELECT notes FROM table_name_67 WHERE name = \"grella\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_24 (position VARCHAR, round VARCHAR, player VARCHAR)" }, { "from": "human", "value": "Who position did matthew tassone who was drafted after round 5 play?" }, { "from": "gpt", "value": "SELECT position FROM table_name_24 WHERE rou...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_80 (_percentage_hydropower INTEGER, _percentage_nuclear_power VARCHAR, _percentage_oil VARCHAR, country VARCHAR)" }, { "from": "human", "value": "what is the highest % hydropower when the % oil is less than 24.5, country is united arab emirat...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_59 (_percentage_hydropower INTEGER, _percentage_coal VARCHAR, _percentage_nuclear_power VARCHAR)" }, { "from": "human", "value": "what is the highest % hydropower when % coal is 4.9 and % nuclear power is more than 0?" }, { "from": "g...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_19 (_billion_ VARCHAR, electricity_production__kw_h INTEGER, _percentage_hydropower VARCHAR, _percentage_other_renewable VARCHAR, _percentage_coal VARCHAR)" }, { "from": "human", "value": "what is the highest electricity production (kw/h, bil...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (player VARCHAR, round VARCHAR)" }, { "from": "human", "value": "Who is the player in round 6?" }, { "from": "gpt", "value": "SELECT player FROM table_name_94 WHERE round = 6" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_66 (college_junior_club_team__league_ VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What college did Louis LeBlanc attend?" }, { "from": "gpt", "value": "SELECT college_junior_club_team__league_ FROM table_name_66 WHER...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_41 (goals_against INTEGER, goals_for VARCHAR, losses VARCHAR)" }, { "from": "human", "value": "How many goals against total did the team with more than 52 goals and fewer than 10 losses have?" }, { "from": "gpt", "value": "SELECT ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_14 (draws INTEGER, club VARCHAR, goal_difference VARCHAR)" }, { "from": "human", "value": "What was the low number of draws for Levante Ud when their goal difference was smaller than 6?" }, { "from": "gpt", "value": "SELECT MIN(dr...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_80 (against INTEGER, draws INTEGER)" }, { "from": "human", "value": "What is the average entry in the against column with draws smaller than 0?" }, { "from": "gpt", "value": "SELECT AVG(against) FROM table_name_80 WHERE draws < 0"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_75 (losses INTEGER, portland_dfl VARCHAR, draws VARCHAR)" }, { "from": "human", "value": "What is the total number of losses that has draws larger than 1 and a Portland DFL of westerns?" }, { "from": "gpt", "value": "SELECT SUM(lo...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (draws INTEGER, byes INTEGER)" }, { "from": "human", "value": "What is the sum of draws for all byes larger than 0?" }, { "from": "gpt", "value": "SELECT SUM(draws) FROM table_name_94 WHERE byes > 0" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_11 (byes INTEGER, portland_dfl VARCHAR, losses VARCHAR)" }, { "from": "human", "value": "What is the sum of byes for losses larger than 14 for a Portland DFL of westerns?" }, { "from": "gpt", "value": "SELECT SUM(byes) FROM table_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_85 (result VARCHAR, opponent_number VARCHAR)" }, { "from": "human", "value": "What was the result when the opponent was at 2 usc?" }, { "from": "gpt", "value": "SELECT result FROM table_name_85 WHERE opponent_number = \"at 2 usc\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_52 (result VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What was the result on 10/08/1988?" }, { "from": "gpt", "value": "SELECT result FROM table_name_52 WHERE date = \"10/08/1988\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_53 (rank__number VARCHAR, result VARCHAR)" }, { "from": "human", "value": "What was the rank# of the opponent when the result of the game was w42-14?" }, { "from": "gpt", "value": "SELECT rank__number FROM table_name_53 WHERE resu...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_15 (result VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "What was the result of the game that had 56,500 in attendance?" }, { "from": "gpt", "value": "SELECT result FROM table_name_15 WHERE attendance = \"56,500\""...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (rank__number VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "What was the rank# of the opponent when there was 93,829 in attendance?" }, { "from": "gpt", "value": "SELECT rank__number FROM table_name_57 WHERE att...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_24 (date VARCHAR, rank__number VARCHAR, opponent_number VARCHAR)" }, { "from": "human", "value": "On what date was the game played where the opponent was Stanford, ranked #5?" }, { "from": "gpt", "value": "SELECT date FROM table_n...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_21 (number_of_electorates__2009_ VARCHAR, reserved_for___sc___st__none_ VARCHAR)" }, { "from": "human", "value": "Which Number of electorates (2009) has a Reserved for (SC / ST /None) of total:?" }, { "from": "gpt", "value": "SELE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_37 (tournament VARCHAR, year INTEGER)" }, { "from": "human", "value": "What tournament took place after 1973?" }, { "from": "gpt", "value": "SELECT tournament FROM table_name_37 WHERE year > 1973" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_14 (tournament VARCHAR, extra VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What tournament took place before 1972 with an extra of 200 m?" }, { "from": "gpt", "value": "SELECT tournament FROM table_name_14 WHERE extra =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_20 (current_code VARCHAR, type VARCHAR, years VARCHAR)" }, { "from": "human", "value": "What is the current code for the club trophy, in 1867 only?" }, { "from": "gpt", "value": "SELECT current_code FROM table_name_20 WHERE type =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_64 (location VARCHAR, original_code VARCHAR)" }, { "from": "human", "value": "What is the location of the original code for victorian rules?" }, { "from": "gpt", "value": "SELECT location FROM table_name_64 WHERE original_code = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_69 (location VARCHAR, type VARCHAR)" }, { "from": "human", "value": "What is the location for the club trophy?" }, { "from": "gpt", "value": "SELECT location FROM table_name_69 WHERE type = \"club trophy\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_52 (location VARCHAR, type VARCHAR, years VARCHAR)" }, { "from": "human", "value": "What is the location for the club trophy from the year 1867 only?" }, { "from": "gpt", "value": "SELECT location FROM table_name_52 WHERE type = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_24 (score VARCHAR, tournament VARCHAR)" }, { "from": "human", "value": "What is Score, when Tournament is \"Tampere , Finland\"?" }, { "from": "gpt", "value": "SELECT score FROM table_name_24 WHERE tournament = \"tampere , finland...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_31 (surface VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What is Surface, when Opponent is \"Jiří Vaněk\"?" }, { "from": "gpt", "value": "SELECT surface FROM table_name_31 WHERE opponent = \"jiří vaněk\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_52 (score VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What is Score, when Opponent is \"Ivo Minář\"?" }, { "from": "gpt", "value": "SELECT score FROM table_name_52 WHERE opponent = \"ivo minář\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (score VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What is Score, when Opponent is \"Daniel Gimeno-Traver\"?" }, { "from": "gpt", "value": "SELECT score FROM table_name_38 WHERE opponent = \"daniel gimeno-traver...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_50 (tournament VARCHAR, moves VARCHAR, result VARCHAR)" }, { "from": "human", "value": "What is Tournament, when Moves is \"37\", and when Result is \"½–½\"?" }, { "from": "gpt", "value": "SELECT tournament FROM table_name_50 WHER...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_77 (result VARCHAR, tournament VARCHAR, year VARCHAR, white VARCHAR)" }, { "from": "human", "value": "What is Result, when Year is greater than 1999, when White is \"Kramnik\", and when Tournament is \"Mainz CC Champions Duel (5)\"?" }, {...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_77 (opening VARCHAR, tournament VARCHAR, white VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What is Opening, when White is Kramnik, when Year is less than 2001, and when Tournament is \"Siemens Giants\"?" }, { "from": "gpt"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_46 (tournament VARCHAR, moves VARCHAR, black VARCHAR, result VARCHAR)" }, { "from": "human", "value": "What is Tournament, when Black is \"Kramnik\", when Result is \"½–½\", and when Moves is \"40\"?" }, { "from": "gpt", "value": ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_9 (location VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What was the location where the opponent was Jae Young Kim?" }, { "from": "gpt", "value": "SELECT location FROM table_name_9 WHERE opponent = \"jae young kim\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_46 (event VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "Which event was the opponent jose carlos oliveira?" }, { "from": "gpt", "value": "SELECT event FROM table_name_46 WHERE opponent = \"jose carlos oliveira\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_87 (round VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "How many rounds was the bout against bobby rehman?" }, { "from": "gpt", "value": "SELECT round FROM table_name_87 WHERE opponent = \"bobby rehman\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_89 (location VARCHAR, record VARCHAR)" }, { "from": "human", "value": "Where was the location when the record was 12-5?" }, { "from": "gpt", "value": "SELECT location FROM table_name_89 WHERE record = \"12-5\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (dvd_title VARCHAR, region_1 VARCHAR, no_of_discs VARCHAR)" }, { "from": "human", "value": "Which DVD Title has a Region 1 of n/a and greater than 3 in No. of Discs?" }, { "from": "gpt", "value": "SELECT dvd_title FROM table_na...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_83 (region_1 VARCHAR, no_of_episodes VARCHAR, region_2 VARCHAR)" }, { "from": "human", "value": "Which region 1 has 12 Episodes and a Region 2 of 18 August 2008?" }, { "from": "gpt", "value": "SELECT region_1 FROM table_name_83 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_14 (tries_for VARCHAR, tries_against VARCHAR)" }, { "from": "human", "value": "WHAT TRIES HAVE TRIES AGAINST AT 140?" }, { "from": "gpt", "value": "SELECT tries_for FROM table_name_14 WHERE tries_against = \"140\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_1 (tries_against VARCHAR, played VARCHAR, points_against VARCHAR)" }, { "from": "human", "value": "WHAT IS THE TRIES AGAINST WITH PLAYED 22, POINTS AGAINST 784?" }, { "from": "gpt", "value": "SELECT tries_against FROM table_name_1...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_36 (tries_for VARCHAR, points_for VARCHAR)" }, { "from": "human", "value": "WHAT IS THE TRIES WITH POINTS 190?" }, { "from": "gpt", "value": "SELECT tries_for FROM table_name_36 WHERE points_for = \"190\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_89 (points VARCHAR, tries_for VARCHAR)" }, { "from": "human", "value": "WHAT IS THE POINTS WITH 55 TRIES?" }, { "from": "gpt", "value": "SELECT points FROM table_name_89 WHERE tries_for = \"55\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_32 (lost VARCHAR, losing_bonus VARCHAR, points_for VARCHAR)" }, { "from": "human", "value": "WHAT IS THE LOST WITH 1 LOSING BONUS, 148 POINTS?" }, { "from": "gpt", "value": "SELECT lost FROM table_name_32 WHERE losing_bonus = \"1\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_31 (losing_bonus VARCHAR, points_for VARCHAR)" }, { "from": "human", "value": "WHAT IS THE LOSING BONUS WITH 190 POINTS?" }, { "from": "gpt", "value": "SELECT losing_bonus FROM table_name_31 WHERE points_for = \"190\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_99 (pick INTEGER, position VARCHAR)" }, { "from": "human", "value": "What is the sum of the pick of the guard position player?" }, { "from": "gpt", "value": "SELECT SUM(pick) FROM table_name_99 WHERE position = \"guard\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_60 (nfl_club VARCHAR, pick VARCHAR)" }, { "from": "human", "value": "What is the NFL club with pick # 153?" }, { "from": "gpt", "value": "SELECT nfl_club FROM table_name_60 WHERE pick = 153" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_58 (player VARCHAR, round VARCHAR, pick VARCHAR)" }, { "from": "human", "value": "Who is the player from a round less than 13 and has a pick of 74?" }, { "from": "gpt", "value": "SELECT player FROM table_name_58 WHERE round < 13 A...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_47 (player VARCHAR, round VARCHAR, position VARCHAR)" }, { "from": "human", "value": "Who is the player from round 13 that plays center?" }, { "from": "gpt", "value": "SELECT player FROM table_name_47 WHERE round = 13 AND position...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_39 (nfl_club VARCHAR, pick VARCHAR, round VARCHAR)" }, { "from": "human", "value": "What is the NFL club with a pick less than 74 and a round greater than 2?" }, { "from": "gpt", "value": "SELECT nfl_club FROM table_name_39 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_73 (conference_semifinals VARCHAR, record VARCHAR)" }, { "from": "human", "value": "Which Conference Semifinals has a Record of 55–27?" }, { "from": "gpt", "value": "SELECT conference_semifinals FROM table_name_73 WHERE record = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (conference_semifinals VARCHAR, conference_finals VARCHAR)" }, { "from": "human", "value": "Which Conference Semifinals has a Conference Finals of † denotes division championship?" }, { "from": "gpt", "value": "SELECT conferenc...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_32 (conference_finals VARCHAR, seed VARCHAR)" }, { "from": "human", "value": "Which Conference Finals has a Seed of † denotes division championship?" }, { "from": "gpt", "value": "SELECT conference_finals FROM table_name_32 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_43 (rank VARCHAR, publication VARCHAR)" }, { "from": "human", "value": "What rank is the publication the observer music monthly?" }, { "from": "gpt", "value": "SELECT rank FROM table_name_43 WHERE publication = \"the observer musi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_10 (year INTEGER, publication VARCHAR)" }, { "from": "human", "value": "What is the publication the observer music monthly highest year?" }, { "from": "gpt", "value": "SELECT MAX(year) FROM table_name_10 WHERE publication = \"the ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_71 (attendance INTEGER, venue VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the average Attendance, when Venue is \"Candlestick Park\", and when Date is \"December 27\"?" }, { "from": "gpt", "value": "SELECT AVG(...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_32 (result VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is Result, when Date is \"November 22\"?" }, { "from": "gpt", "value": "SELECT result FROM table_name_32 WHERE date = \"november 22\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_54 (attendance INTEGER, venue VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the average Attendance, when Venue is \"Candlestick Park\", and when Date is \"November 25\"?" }, { "from": "gpt", "value": "SELECT AVG(...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_55 (bronze VARCHAR, silver VARCHAR, gold VARCHAR)" }, { "from": "human", "value": "What bronze has tatiana ryabkina as the silver, anne margrethe hausken as the gold?" }, { "from": "gpt", "value": "SELECT bronze FROM table_name_55...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_14 (label VARCHAR, format VARCHAR, region VARCHAR)" }, { "from": "human", "value": "What label is in CD format in Australia?" }, { "from": "gpt", "value": "SELECT label FROM table_name_14 WHERE format = \"cd\" AND region = \"austr...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_96 (label VARCHAR, catalog VARCHAR)" }, { "from": "human", "value": "What is the label for catalog number CRG3P-90054?" }, { "from": "gpt", "value": "SELECT label FROM table_name_96 WHERE catalog = \"crg3p-90054\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_40 (format VARCHAR, label VARCHAR)" }, { "from": "human", "value": "What is the format for the MCA label?" }, { "from": "gpt", "value": "SELECT format FROM table_name_40 WHERE label = \"mca\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_33 (catalog VARCHAR, label VARCHAR)" }, { "from": "human", "value": "What is the catalog number for the Grilled Cheese label?" }, { "from": "gpt", "value": "SELECT catalog FROM table_name_33 WHERE label = \"grilled cheese\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_15 (region VARCHAR, format VARCHAR, label VARCHAR)" }, { "from": "human", "value": "Which region has the format CD and label MCA?" }, { "from": "gpt", "value": "SELECT region FROM table_name_15 WHERE format = \"cd\" AND label = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_50 (format VARCHAR, label VARCHAR, region VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the format for the label Mightier than Sword on January 12, 2010 in the United States?" }, { "from": "gpt", "value": "SELECT...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_15 (station VARCHAR, height_above_sea_level__m_ VARCHAR)" }, { "from": "human", "value": "Which station that sat 54m above seal level is now Closed?" }, { "from": "gpt", "value": "SELECT station FROM table_name_15 WHERE height_abo...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_6 (closed VARCHAR, opened VARCHAR, distance_from_wellington VARCHAR)" }, { "from": "human", "value": "Opened prior to 1877 only 2.44km from Wellington, when did this station close?" }, { "from": "gpt", "value": "SELECT closed FROM...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_2 (height_above_sea_level__m_ VARCHAR, opened VARCHAR, distance_from_wellington VARCHAR)" }, { "from": "human", "value": "What is the height above sea level for the station opened 175.67km from Wellington prior to 1887?" }, { "from": ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_22 (height_above_sea_level__m_ VARCHAR, opened VARCHAR, distance_from_wellington VARCHAR)" }, { "from": "human", "value": "For the station opened after 1876 at 604.53km from Wellington, what is the height above sea level?" }, { "from"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (opponent VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "Who was the opponent at the game attended by 70,012?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_81 WHERE attendance = \"70,012\"" } ]
know_sql
chosen