conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_name_44 (country VARCHAR, to_par VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What country has to par E with Mark O'Meara?" }, { "from": "gpt", "value": "SELECT country FROM table_name_44 WHERE to_par = \"e\" AND player = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_91 (country VARCHAR, place VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What country placed t6 with player Vijay Singh?" }, { "from": "gpt", "value": "SELECT country FROM table_name_91 WHERE place = \"t6\" AND player ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_16 (money___$__ VARCHAR, player VARCHAR)" }, { "from": "human", "value": "How much money did David Toms get?" }, { "from": "gpt", "value": "SELECT money___$__ FROM table_name_16 WHERE player = \"david toms\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (game VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the playoffs Game number on April 26?" }, { "from": "gpt", "value": "SELECT game FROM table_name_94 WHERE date = \"april 26\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_98 (score VARCHAR, game VARCHAR)" }, { "from": "human", "value": "What is the Score of Game 4?" }, { "from": "gpt", "value": "SELECT score FROM table_name_98 WHERE game = \"4\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_59 (game VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the playoff Game on April 30?" }, { "from": "gpt", "value": "SELECT game FROM table_name_59 WHERE date = \"april 30\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_75 (date VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What is the Date of the game with a Score of L 115–118 (OT)?" }, { "from": "gpt", "value": "SELECT date FROM table_name_75 WHERE score = \"l 115–118 (ot)\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_20 (result VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "What was the result when there were 27,321 in attendance?" }, { "from": "gpt", "value": "SELECT result FROM table_name_20 WHERE attendance = \"27,321\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_63 (attendance VARCHAR, site VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What is the number in attendance at Dowdy-Ficklen stadium • Greenville, NC, and the opponent was Ohio?" }, { "from": "gpt", "value": "SELECT ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_96 (date VARCHAR, site VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "What date was the game at Dowdy-Ficklen stadium • Greenville, NC, with 27,321 in attendance?" }, { "from": "gpt", "value": "SELECT date FROM tabl...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_86 (opponent VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "What team was the opponent when there were 27,321 in attendance?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_86 WHERE attendance = \"27,...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_75 (date VARCHAR, site VARCHAR)" }, { "from": "human", "value": "What date was the game at Williams-Brice stadium • Columbia, SC?" }, { "from": "gpt", "value": "SELECT date FROM table_name_75 WHERE site = \"williams-brice stadium ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_20 (margin_of_victory VARCHAR, winning_score VARCHAR)" }, { "from": "human", "value": "Can you tell me the Margin of victory that has the Winning score of 67-69-67-69=272?" }, { "from": "gpt", "value": "SELECT margin_of_victory FR...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_80 (date INTEGER, catalog VARCHAR, label VARCHAR, region VARCHAR)" }, { "from": "human", "value": "WHAT IS THE AVERAGE DATE FOR CBS LABEL, IN AUSTRALIA, AND SBP 241031 FOR CATALOG?" }, { "from": "gpt", "value": "SELECT AVG(date) F...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_70 (date INTEGER, catalog VARCHAR)" }, { "from": "human", "value": "WHAT DATE HAS A CATALOG OF 486553.4?" }, { "from": "gpt", "value": "SELECT MAX(date) FROM table_name_70 WHERE catalog = \"486553.4\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_23 (date INTEGER, region VARCHAR, format VARCHAR)" }, { "from": "human", "value": "WHAT IS THE LOWEST DATE FOR KOREA, IN CD FORMAT?" }, { "from": "gpt", "value": "SELECT MIN(date) FROM table_name_23 WHERE region = \"korea\" AND fo...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_70 (Id VARCHAR)" }, { "from": "human", "value": "What is 2008, when 2006 is \"1R\"?" }, { "from": "gpt", "value": "SELECT 2008 FROM table_name_70 WHERE 2006 = \"1r\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_93 (tournament VARCHAR)" }, { "from": "human", "value": "What is Tournament, when 2006 is \"A\", and when 2009 is \"A\"?" }, { "from": "gpt", "value": "SELECT tournament FROM table_name_93 WHERE 2006 = \"a\" AND 2009 = \"a\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_73 (Id VARCHAR)" }, { "from": "human", "value": "What is 2005, when 2006 is \"1R\"?" }, { "from": "gpt", "value": "SELECT 2005 FROM table_name_73 WHERE 2006 = \"1r\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_40 (Id VARCHAR)" }, { "from": "human", "value": "What is 2011, when 2008 is \"2R\"?" }, { "from": "gpt", "value": "SELECT 2011 FROM table_name_40 WHERE 2008 = \"2r\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (Id VARCHAR)" }, { "from": "human", "value": "What is 2004, when 2005 is \"2R\", and when 2006 is \"1R\"" }, { "from": "gpt", "value": "SELECT 2004 FROM table_name_74 WHERE 2005 = \"2r\" AND 2006 = \"1r\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_28 (Id VARCHAR)" }, { "from": "human", "value": "What is 2004, when 2009 is \"A\"?" }, { "from": "gpt", "value": "SELECT 2004 FROM table_name_28 WHERE 2009 = \"a\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_21 (opponent VARCHAR, method VARCHAR, record VARCHAR)" }, { "from": "human", "value": "What was the name of the opponent when the method was ko (slam), and record was 13–1?" }, { "from": "gpt", "value": "SELECT opponent FROM table...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_37 (pick INTEGER, round VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What is the highest pick of scott turner, who has a round greater than 2?" }, { "from": "gpt", "value": "SELECT MAX(pick) FROM table_name_37 WHERE rou...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_69 (name VARCHAR, round VARCHAR, position VARCHAR)" }, { "from": "human", "value": "What is the name of the ot position player with a round greater than 4?" }, { "from": "gpt", "value": "SELECT name FROM table_name_69 WHERE round ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (pick INTEGER, name VARCHAR, overall VARCHAR)" }, { "from": "human", "value": "What is the sum of the pick of darryl pounds, who has an overall greater than 68?" }, { "from": "gpt", "value": "SELECT SUM(pick) FROM table_name_94...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_39 (round VARCHAR, college VARCHAR, overall VARCHAR)" }, { "from": "human", "value": "What is the total number of rounds of the player from lehigh college with an overall less than 152?" }, { "from": "gpt", "value": "SELECT COUNT(...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_42 (round INTEGER, pick VARCHAR)" }, { "from": "human", "value": "What is the highest round of pick 3?" }, { "from": "gpt", "value": "SELECT MAX(round) FROM table_name_42 WHERE pick = 3" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_59 (overall VARCHAR, position VARCHAR, pick VARCHAR)" }, { "from": "human", "value": "What is the total overall number of the ot position player with a pick greater than 5?" }, { "from": "gpt", "value": "SELECT COUNT(overall) FROM...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_87 (rank INTEGER, singapore_cup VARCHAR)" }, { "from": "human", "value": "What rank does the Singapore Cup of 0 (1) have?" }, { "from": "gpt", "value": "SELECT MAX(rank) FROM table_name_87 WHERE singapore_cup = \"0 (1)\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_99 (singapore_league_cup VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What Singapore League Cup does Masahiro Fukasawa have?" }, { "from": "gpt", "value": "SELECT singapore_league_cup FROM table_name_99 WHERE name = \"m...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_41 (total VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What is Norikazu Murakami's total?" }, { "from": "gpt", "value": "SELECT total FROM table_name_41 WHERE name = \"norikazu murakami\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_11 (rank VARCHAR, total VARCHAR)" }, { "from": "human", "value": "What is the rank for the total that has 3 (20)?" }, { "from": "gpt", "value": "SELECT rank FROM table_name_11 WHERE total = \"3 (20)\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_17 (afc_cup VARCHAR, name VARCHAR)" }, { "from": "human", "value": "Which AFC cup does Masahiro Fukasawa have?" }, { "from": "gpt", "value": "SELECT afc_cup FROM table_name_17 WHERE name = \"masahiro fukasawa\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_43 (afc_cup VARCHAR, name VARCHAR)" }, { "from": "human", "value": "Which AFC cup does Kenji Arai have?" }, { "from": "gpt", "value": "SELECT afc_cup FROM table_name_43 WHERE name = \"kenji arai\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_79 (score VARCHAR, high_points VARCHAR)" }, { "from": "human", "value": "In the game where Joe Johnson (31) was the high points scorer, what was the final score?" }, { "from": "gpt", "value": "SELECT score FROM table_name_79 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_28 (to_par INTEGER, place VARCHAR, money___$__ VARCHAR)" }, { "from": "human", "value": "What is the lowest to par of the player with a t3 place and less than $1,500?" }, { "from": "gpt", "value": "SELECT MIN(to_par) FROM table_na...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_67 (player VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR)" }, { "from": "human", "value": "Who is the player from the United States with a t6 place and a 71-70-76-72=289 score?" }, { "from": "gpt", "value": "SELECT player...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_76 (money___ VARCHAR, to_par VARCHAR, player VARCHAR)" }, { "from": "human", "value": "How much total money does player tommy bolt, who has a to par of 9, have?" }, { "from": "gpt", "value": "SELECT COUNT(money___) AS $__ FROM tab...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_13 (money___ INTEGER, country VARCHAR, to_par VARCHAR)" }, { "from": "human", "value": "What is the lowest amount of money a player from South Africa with a to par less than 8 has?" }, { "from": "gpt", "value": "SELECT MIN(money__...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_49 (venue VARCHAR, competition VARCHAR)" }, { "from": "human", "value": "What was the venue that had a friendly match competition?" }, { "from": "gpt", "value": "SELECT venue FROM table_name_49 WHERE competition = \"friendly match...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_1 (course VARCHAR, location VARCHAR, year VARCHAR, country VARCHAR, to_par_ VARCHAR, a_ VARCHAR)" }, { "from": "human", "value": "With a year larger than 1905, and a location of philadelphia, pennsylvania with a to par [a] of n/a and a countr...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_68 (total_score VARCHAR, location VARCHAR, year VARCHAR, to_par_ VARCHAR, a_ VARCHAR)" }, { "from": "human", "value": "What is the total score for a location of san francisco, california, and a year after 1987, and a to pa [a] of +1?" }, ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (year INTEGER, location VARCHAR)" }, { "from": "human", "value": "What is the sum for the year with a location of newport, rhode island?" }, { "from": "gpt", "value": "SELECT SUM(year) FROM table_name_57 WHERE location = \"newp...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_27 (country VARCHAR, course VARCHAR, to_par_ VARCHAR, a_ VARCHAR)" }, { "from": "human", "value": "What is the country with a course of merion golf club, and a to par [1] of e?" }, { "from": "gpt", "value": "SELECT country FROM ta...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_14 (total_score VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What is the total score for the year 2012?" }, { "from": "gpt", "value": "SELECT total_score FROM table_name_14 WHERE year = 2012" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_4 (evening_gown VARCHAR, state VARCHAR)" }, { "from": "human", "value": "What is the evening gown score for the contestant from Mississippi?" }, { "from": "gpt", "value": "SELECT evening_gown FROM table_name_4 WHERE state = \"miss...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_26 (type VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "What is the type for rank 2?" }, { "from": "gpt", "value": "SELECT type FROM table_name_26 WHERE rank = 2" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_3 (number_of_bearers_2009 INTEGER, number_of_bearers_1971 VARCHAR, etymology VARCHAR, rank VARCHAR, type VARCHAR)" }, { "from": "human", "value": "What is the sum of number of bearers in 2009 for a rank above 1, a type of patronymic, an etymo...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_80 (qual_2 VARCHAR, team VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What is Ryan Hunter-Reay of the Herdez Competition's Qual 2 time?" }, { "from": "gpt", "value": "SELECT qual_2 FROM table_name_80 WHERE team = \"herd...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_13 (team VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What is Justin Wilson's Team?" }, { "from": "gpt", "value": "SELECT team FROM table_name_13 WHERE name = \"justin wilson\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_31 (best VARCHAR, qual_2 VARCHAR)" }, { "from": "human", "value": "What is the Best of the racer with a Qual 2 of 1:00.588?" }, { "from": "gpt", "value": "SELECT best FROM table_name_31 WHERE qual_2 = \"1:00.588\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_55 (area__km²_ INTEGER, population__2010_ VARCHAR)" }, { "from": "human", "value": "Where is the lowest area with a population of 7,616?" }, { "from": "gpt", "value": "SELECT MIN(area__km²_) FROM table_name_55 WHERE population__20...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_36 (tongyong VARCHAR, hanyu VARCHAR)" }, { "from": "human", "value": "Where in Tongyong is Hanyu Sanmin?" }, { "from": "gpt", "value": "SELECT tongyong FROM table_name_36 WHERE hanyu = \"sanmin\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_59 (hanyu VARCHAR, area__km²_ VARCHAR)" }, { "from": "human", "value": "Which Hanya has an area of 19.3888?" }, { "from": "gpt", "value": "SELECT hanyu FROM table_name_59 WHERE area__km²_ = 19.3888" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_17 (nationality VARCHAR, round VARCHAR, pick VARCHAR)" }, { "from": "human", "value": "What is Nationality, when Round is less than 2, and when Pick is \"24\"?" }, { "from": "gpt", "value": "SELECT nationality FROM table_name_17 W...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_36 (nationality VARCHAR, round VARCHAR, college_team VARCHAR)" }, { "from": "human", "value": "What is Nationality, when Round is less than 2, and when College/Team is \"CB L'Hospitalet\"?" }, { "from": "gpt", "value": "SELECT nat...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_96 (round INTEGER, college_team VARCHAR, pick VARCHAR)" }, { "from": "human", "value": "What is the lowest Round, when College/Team is \"Kansas\", and when Pick is less than 56?" }, { "from": "gpt", "value": "SELECT MIN(round) FRO...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (college_team VARCHAR, round VARCHAR, nationality VARCHAR)" }, { "from": "human", "value": "What is College/Team, when Round is less than 2, and when Nationality is \"United States\"?" }, { "from": "gpt", "value": "SELECT colle...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_90 (q1_pos INTEGER, q1_time VARCHAR, q1_order VARCHAR)" }, { "from": "human", "value": "WHAT IS THE Q1 POS WITH A 1:31.826 Q1 TIME, AND Q1 ORDER OF 7?" }, { "from": "gpt", "value": "SELECT MAX(q1_pos) FROM table_name_90 WHERE q1_t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_51 (score VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the score on December 2?" }, { "from": "gpt", "value": "SELECT score FROM table_name_51 WHERE date = \"december 2\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_42 (silver VARCHAR, year VARCHAR)" }, { "from": "human", "value": "How many silver medals were won in 1938?" }, { "from": "gpt", "value": "SELECT silver FROM table_name_42 WHERE year = \"1938\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_61 (gold VARCHAR, year VARCHAR)" }, { "from": "human", "value": "How many gold medals were won in 1970?" }, { "from": "gpt", "value": "SELECT gold FROM table_name_61 WHERE year = \"1970\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_43 (silver VARCHAR, gold VARCHAR)" }, { "from": "human", "value": "How many silver medals were won the year 7 gold medals were won?" }, { "from": "gpt", "value": "SELECT silver FROM table_name_43 WHERE gold = \"7\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_27 (bronze VARCHAR, year VARCHAR)" }, { "from": "human", "value": "How many bronze medals were won in 1998?" }, { "from": "gpt", "value": "SELECT bronze FROM table_name_27 WHERE year = \"1998\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_35 (tv_time VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Can you tell me the TV Time that has the Date of november 22, 1998?" }, { "from": "gpt", "value": "SELECT tv_time FROM table_name_35 WHERE date = \"november 22, 1...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_28 (result VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Can you tell me the Result that has the Date of september 13, 1998?" }, { "from": "gpt", "value": "SELECT result FROM table_name_28 WHERE date = \"september 13, 19...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_33 (opponent VARCHAR, result VARCHAR, week VARCHAR, tv_time VARCHAR)" }, { "from": "human", "value": "Can you tell me the Opponent that has the Week smaller than 11, and the TV Time of fox 10:00 am mt, and the Result of w 20-17?" }, { ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_63 (result VARCHAR, week VARCHAR)" }, { "from": "human", "value": "Can you tell me the Result that has the Week of 5?" }, { "from": "gpt", "value": "SELECT result FROM table_name_63 WHERE week = 5" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_87 (founded INTEGER, coach VARCHAR, location VARCHAR)" }, { "from": "human", "value": "What is the average year that the club located in enfield was founded with an unknown coach?" }, { "from": "gpt", "value": "SELECT AVG(founded)...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_80 (location VARCHAR, home_ground VARCHAR)" }, { "from": "human", "value": "What was the location of the club where the home ground is wilfred taylor reserve?" }, { "from": "gpt", "value": "SELECT location FROM table_name_80 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_45 (location VARCHAR, coach VARCHAR, founded VARCHAR)" }, { "from": "human", "value": "Where is the club that was founded in 1946 located that has an unknown coach?" }, { "from": "gpt", "value": "SELECT location FROM table_name_45...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_48 (home_ground VARCHAR, founded VARCHAR, coach VARCHAR)" }, { "from": "human", "value": "Where is the home ground for the club coached by nick pantsaras and founded before 1946?" }, { "from": "gpt", "value": "SELECT home_ground F...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_10 (team VARCHAR, location_attendance VARCHAR, score VARCHAR)" }, { "from": "human", "value": "Which team was the opponent that had a location of Madison Square Garden with a score of 87-83?" }, { "from": "gpt", "value": "SELECT t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_85 (game VARCHAR, location_attendance VARCHAR, series VARCHAR)" }, { "from": "human", "value": "Which game was played at the Forum and led to a series result of 0-1?" }, { "from": "gpt", "value": "SELECT game FROM table_name_85 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_82 (score VARCHAR, game VARCHAR)" }, { "from": "human", "value": "What was the score for game 2?" }, { "from": "gpt", "value": "SELECT score FROM table_name_82 WHERE game = 2" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_69 (title VARCHAR, original_air_date VARCHAR, season__number VARCHAR, directed_by VARCHAR)" }, { "from": "human", "value": "What is the title of the show with less than 10 seasons that aired on September 29, 1997 and is directed by Milan Chey...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_49 (attendance VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the attendance of the November 19, 1990 game?" }, { "from": "gpt", "value": "SELECT attendance FROM table_name_49 WHERE date = \"november 19, 1990\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_37 (year VARCHAR, iron_man_award VARCHAR)" }, { "from": "human", "value": "How many Years have an Iron Man Award of kyal horsley?" }, { "from": "gpt", "value": "SELECT COUNT(year) FROM table_name_37 WHERE iron_man_award = \"kyal h...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_75 (coach VARCHAR, most_improved VARCHAR)" }, { "from": "human", "value": "Which Coach has a Most Improved of rory thompson?" }, { "from": "gpt", "value": "SELECT coach FROM table_name_75 WHERE most_improved = \"rory thompson\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_85 (year INTEGER, community_award VARCHAR)" }, { "from": "human", "value": "Which Year has a Community Award of jarrod harbrow?" }, { "from": "gpt", "value": "SELECT SUM(year) FROM table_name_85 WHERE community_award = \"jarrod ha...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_35 (capacity INTEGER, team VARCHAR)" }, { "from": "human", "value": "what is the capacity for the team šibenik?" }, { "from": "gpt", "value": "SELECT MIN(capacity) FROM table_name_35 WHERE team = \"šibenik\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (stadium VARCHAR, team VARCHAR)" }, { "from": "human", "value": "what is the stadium for čakovec?" }, { "from": "gpt", "value": "SELECT stadium FROM table_name_81 WHERE team = \"čakovec\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_88 (capacity INTEGER, home_city VARCHAR, manager VARCHAR)" }, { "from": "human", "value": "what is the capacity when the home city is zagreb and the manager is zlatko kranjčar?" }, { "from": "gpt", "value": "SELECT AVG(capacity) F...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_29 (home_city VARCHAR, stadium VARCHAR)" }, { "from": "human", "value": "what is the home city for the stadion src mladost?" }, { "from": "gpt", "value": "SELECT home_city FROM table_name_29 WHERE stadium = \"stadion src mladost\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_43 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR)" }, { "from": "human", "value": "What is the grid for the driver with an electrical time/retired and 51 laps?" }, { "from": "gpt", "value": "SELECT grid FROM table_name_43 WHER...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_30 (driver VARCHAR, grid VARCHAR)" }, { "from": "human", "value": "Who is the driver with 1 grid?" }, { "from": "gpt", "value": "SELECT driver FROM table_name_30 WHERE grid = 1" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_32 (place VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What place was Mark Carnevale in?" }, { "from": "gpt", "value": "SELECT place FROM table_name_32 WHERE player = \"mark carnevale\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_14 (attendance INTEGER, away VARCHAR)" }, { "from": "human", "value": "What was the highest attendance against Real Juventud?" }, { "from": "gpt", "value": "SELECT MAX(attendance) FROM table_name_14 WHERE away = \"real juventud\""...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_47 (away_captain VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Who is the away captain for the matches dated 7,8,10,11 feb 1908?" }, { "from": "gpt", "value": "SELECT away_captain FROM table_name_47 WHERE date = \"7,8,10...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_14 (home_captain VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "Who is the home captain at the Adelaide Oval?" }, { "from": "gpt", "value": "SELECT home_captain FROM table_name_14 WHERE venue = \"adelaide oval\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_93 (home_captain VARCHAR, result VARCHAR)" }, { "from": "human", "value": "Who is the home captain that won AUS by 245 runs?" }, { "from": "gpt", "value": "SELECT home_captain FROM table_name_93 WHERE result = \"aus by 245 runs\""...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_64 (venue VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What was the venue for the dates 1,2,3,4,6,7 jan 1908?" }, { "from": "gpt", "value": "SELECT venue FROM table_name_64 WHERE date = \"1,2,3,4,6,7 jan 1908\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_67 (venue VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What was the venue for the dates 7,8,10,11 Feb 1908?" }, { "from": "gpt", "value": "SELECT venue FROM table_name_67 WHERE date = \"7,8,10,11 feb 1908\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_39 (in_production VARCHAR, toxic_materials VARCHAR, technology VARCHAR)" }, { "from": "human", "value": "What's the production if the technology is sodium-sulfur batteries and yes to toxic materials?" }, { "from": "gpt", "value": ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (moving_parts VARCHAR, technology VARCHAR)" }, { "from": "human", "value": "What are the moving parts of lead-acid?" }, { "from": "gpt", "value": "SELECT moving_parts FROM table_name_74 WHERE technology = \"lead-acid\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_67 (room_temperature VARCHAR, in_production VARCHAR, toxic_materials VARCHAR)" }, { "from": "human", "value": "What's the room temperature with no toxic materials and no ln production?" }, { "from": "gpt", "value": "SELECT room_te...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_20 (technology VARCHAR, toxic_materials VARCHAR, moving_parts VARCHAR)" }, { "from": "human", "value": "What's the technology when there are no moving parts but yes to toxic materials?" }, { "from": "gpt", "value": "SELECT technol...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_14 (score VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR)" }, { "from": "human", "value": "What was the Score for T9 United States Player Kirk Triplett?" }, { "from": "gpt", "value": "SELECT score FROM table_name_14 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_22 (country VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What country is Tiger Woods from?" }, { "from": "gpt", "value": "SELECT country FROM table_name_22 WHERE player = \"tiger woods\"" } ]
know_sql
chosen