conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (joined INTEGER, nickname VARCHAR, enrollment VARCHAR)"
},
{
"from": "human",
"value": "Which Joined has a Nickname of knights, and an Enrollment larger than 2,960?"
},
{
"from": "gpt",
"value": "SELECT SUM(joined) FROM table_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (nickname VARCHAR, enrollment VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "Which Nickname has an Enrollment smaller than 501, and a Location of clarkesville?"
},
{
"from": "gpt",
"value": "SELECT nickname FROM ta... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (joined INTEGER, institution VARCHAR, enrollment VARCHAR)"
},
{
"from": "human",
"value": "Which Joined has an Institution of abraham baldwin agricultural college, and an Enrollment smaller than 3,284?"
},
{
"from": "gpt",
"val... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (away_team VARCHAR, ground VARCHAR)"
},
{
"from": "human",
"value": "What is Away Team Score, when Ground is Optus Oval, and when Away Team is Fremantle?"
},
{
"from": "gpt",
"value": "SELECT away_team AS score FROM table_name_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (away_team VARCHAR, ground VARCHAR)"
},
{
"from": "human",
"value": "What is Away Team, when Ground is Colonial Stadium?"
},
{
"from": "gpt",
"value": "SELECT away_team FROM table_name_19 WHERE ground = \"colonial stadium\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (place VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "A score of 71-71=142 earned what place?"
},
{
"from": "gpt",
"value": "SELECT place FROM table_name_11 WHERE score = 71 - 71 = 142"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (to_par VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What was José María Olazábal's score?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_68 WHERE player = \"josé maría olazábal\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (opponent VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What team was the opponent on October 15, 1967?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_66 WHERE date = \"october 15, 1967\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (attendance INTEGER, opponent VARCHAR)"
},
{
"from": "human",
"value": "What was the lowest attendance when the Green Bay Packers played?"
},
{
"from": "gpt",
"value": "SELECT MIN(attendance) FROM table_name_31 WHERE opponent =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (week INTEGER, date VARCHAR)"
},
{
"from": "human",
"value": "What was the week number when a game was played on November 19, 1967?"
},
{
"from": "gpt",
"value": "SELECT MIN(week) FROM table_name_15 WHERE date = \"november 19, ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (team VARCHAR, grid VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "If a team has a grid of over 8 with less than 4 points, what's the team name?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_31 WHERE gri... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (team VARCHAR, driver VARCHAR, laps VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "When Patrick Carpentier is driving and has less than 19 points with 90 laps, what team is racing?"
},
{
"from": "gpt",
"value": "SELE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (score VARCHAR, total_points VARCHAR)"
},
{
"from": "human",
"value": "What was the score where the total points was 50?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_34 WHERE total_points = 50"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (total_points INTEGER, details VARCHAR)"
},
{
"from": "human",
"value": "For the match that had detail of 2001 nrl grand final, what was the lowest total points?"
},
{
"from": "gpt",
"value": "SELECT MIN(total_points) FROM tabl... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (game INTEGER, high_points VARCHAR)"
},
{
"from": "human",
"value": "Which average Game has a High points of wilson chandler (16)?"
},
{
"from": "gpt",
"value": "SELECT AVG(game) FROM table_name_7 WHERE high_points = \"wilson ch... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (score VARCHAR, high_rebounds VARCHAR, game VARCHAR, location_attendance VARCHAR)"
},
{
"from": "human",
"value": "Which Score has a Game larger than 76, a Location Attendance of madison square garden 19,763, and a High rebounds of wilson ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (team VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Which Team has a Record of 32–50?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_24 WHERE record = \"32–50\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (date VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Which Date has a Record of 29–47?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_4 WHERE record = \"29–47\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (date VARCHAR, location_attendance VARCHAR, high_rebounds VARCHAR)"
},
{
"from": "human",
"value": "Which Date has a Location Attendance of madison square garden 19,763, and a High rebounds of david lee (12)?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_3 (record VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Which Record has a Score of w 107–102 (ot)?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_3 WHERE score = \"w 107–102 (ot)\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (team VARCHAR, location_attendance VARCHAR)"
},
{
"from": "human",
"value": "Which Team has a Location Attendance of fedexforum 11,731?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_4 WHERE location_attendance = \"f... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (record VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Which Record has a Score of l 97–99 (ot)?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_88 WHERE score = \"l 97–99 (ot)\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (record VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "What is game 34's record?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_11 WHERE game = 34"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (high_assists VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What were the high assist on january 2?"
},
{
"from": "gpt",
"value": "SELECT high_assists FROM table_name_61 WHERE date = \"january 2\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (director VARCHAR, film_title_used_in_nomination VARCHAR)"
},
{
"from": "human",
"value": "Who was the director that had a film titled \"Floating Life\"?"
},
{
"from": "gpt",
"value": "SELECT director FROM table_name_5 WHERE fil... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (played VARCHAR, drawn VARCHAR, position VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the total number of Played that has the Position larger than 5, and the Points of 11, and the Drawn smaller than 1?"
},
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (played INTEGER, points VARCHAR, lost VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the highest Played that has the Points larger than 11, and the Lost larger than 7?"
},
{
"from": "gpt",
"value": "SELECT MAX(played... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (score VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What was Dave Hill's score?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_85 WHERE player = \"dave hill\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (to_par VARCHAR, country VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What is the to par of Al Mengert of the United States?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_73 WHERE country = \"united ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (score VARCHAR, country VARCHAR, place VARCHAR)"
},
{
"from": "human",
"value": "What is the score of T5 place in the United States?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_67 WHERE country = \"united states... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (player VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Who was the player from the United States in T10 place with a score of 67-77=144?"
},
{
"from": "gpt",
"value": "SELECT player FROM... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (to_par VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What was Billy Casper's to par?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_51 WHERE player = \"billy casper\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (wins INTEGER, played INTEGER)"
},
{
"from": "human",
"value": "What is the sum of Wins, when Played is less than 5?"
},
{
"from": "gpt",
"value": "SELECT SUM(wins) FROM table_name_42 WHERE played < 5"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (wins INTEGER, rank VARCHAR, played VARCHAR)"
},
{
"from": "human",
"value": "What is the highest Wins, when Rank is greater than 2, and when Played is less than 5?"
},
{
"from": "gpt",
"value": "SELECT MAX(wins) FROM table_nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (wins INTEGER, team VARCHAR, played VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of Wins, when Team is Sweden, and when Played is less than 5?"
},
{
"from": "gpt",
"value": "SELECT SUM(wins) FROM table_name_79 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (points INTEGER, played INTEGER)"
},
{
"from": "human",
"value": "What is the highest Points, when Played is greater than 5?"
},
{
"from": "gpt",
"value": "SELECT MAX(points) FROM table_name_30 WHERE played > 5"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (ties INTEGER, played INTEGER)"
},
{
"from": "human",
"value": "What is the average Ties, when Played is greater than 5?"
},
{
"from": "gpt",
"value": "SELECT AVG(ties) FROM table_name_68 WHERE played > 5"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (date VARCHAR, runner_s__up VARCHAR)"
},
{
"from": "human",
"value": "What is Date, when Runner(s)-Up is Oliver Wilson?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_71 WHERE runner_s__up = \"oliver wilson\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (date VARCHAR, margin_of_victory VARCHAR)"
},
{
"from": "human",
"value": "What is Date, when Margin Of Victory is 4 Strokes?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_1 WHERE margin_of_victory = \"4 strokes\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (runner_s__up VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is Runner(s)-up, when Date is 21 Jan 2007?"
},
{
"from": "gpt",
"value": "SELECT runner_s__up FROM table_name_47 WHERE date = \"21 jan 2007\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (tournament VARCHAR, margin_of_victory VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is Tournament, when Margin Of Victory is 1 Stroke, and when Date is 18 Jan 2009?"
},
{
"from": "gpt",
"value": "SELECT tournamen... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (us_senate VARCHAR, year VARCHAR, party VARCHAR)"
},
{
"from": "human",
"value": "what is the U.S. senate when the year is after 2002 and the party is working families?"
},
{
"from": "gpt",
"value": "SELECT us_senate FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (year VARCHAR, comptroller VARCHAR, party VARCHAR)"
},
{
"from": "human",
"value": "How many times what the comptroller alan hevesi and the party working families?"
},
{
"from": "gpt",
"value": "SELECT COUNT(year) FROM table_na... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (high_points VARCHAR, location_attendance VARCHAR)"
},
{
"from": "human",
"value": "What is the highest number of points of the game in Conseco fieldhouse 7,134?"
},
{
"from": "gpt",
"value": "SELECT high_points FROM table_name... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (high_rebounds VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What is the highest number of rebounds of the game with a 6-14 record?"
},
{
"from": "gpt",
"value": "SELECT high_rebounds FROM table_name_53 WHERE record... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (record VARCHAR, home VARCHAR, visitor VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the Record that has the Visitor of pittsburgh, and the Points smaller than 27, and the Home of boston?"
},
{
"from": "... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (points INTEGER, attendance VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the average Points that has the Attendance of 3,806?"
},
{
"from": "gpt",
"value": "SELECT AVG(points) FROM table_name_42 WHERE attendance = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (opponent VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "Which opponent had 38,642 attendance?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_69 WHERE attendance = \"38,642\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (date VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "What date had 51,265 attendance?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_84 WHERE attendance = \"51,265\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (date VARCHAR, place VARCHAR)"
},
{
"from": "human",
"value": "When 7th place, what is the date?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_45 WHERE place = \"7th\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_3 (score VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "What is the score of game 34?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_3 WHERE game = 34"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (record VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "What is the record of game 33?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_97 WHERE game = 33"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_64 (country VARCHAR, place VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What is the Country, when Place is \"T4\", and when Player is \"Scott Simpson\"?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_64... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (to_par VARCHAR, score VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What is To Par, when Score is 70, and when Player is \"Craig Stadler\"?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_98 WHERE scor... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (player VARCHAR, score VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "What is Player, when Score is less than 69, and when Country is \"United States\"?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_7... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (writer VARCHAR, producer VARCHAR, director VARCHAR)"
},
{
"from": "human",
"value": "Who was the writer that the director was Alice Troughton and the producer was Phil Collinson?"
},
{
"from": "gpt",
"value": "SELECT writer FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (location_attendance VARCHAR, game VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What is the location and attendance after game 2, and the team New Orleans?"
},
{
"from": "gpt",
"value": "SELECT location_attendance FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (teleplay VARCHAR, season VARCHAR, first_broadcast VARCHAR)"
},
{
"from": "human",
"value": "What is Teleplay, when Season is greater than 1.1, and when First Broadcast is \"February 20, 1981\"?"
},
{
"from": "gpt",
"value": "S... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (title VARCHAR, season VARCHAR, first_broadcast VARCHAR)"
},
{
"from": "human",
"value": "What is Title, when Season is less than 1.8, and when First Broadcast is March 6, 1981?"
},
{
"from": "gpt",
"value": "SELECT title FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (director VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "What is Director, when Season is 1.4?"
},
{
"from": "gpt",
"value": "SELECT director FROM table_name_11 WHERE season = 1.4"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (teleplay VARCHAR, first_broadcast VARCHAR, director VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "What is Teleplay, when Director is \"George McCowan\", when Season is less than 1.1400000000000001, and when First Broadcast is ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (season INTEGER, first_broadcast VARCHAR)"
},
{
"from": "human",
"value": "What is the average Season, when First Broadcast is January 23, 1981?"
},
{
"from": "gpt",
"value": "SELECT AVG(season) FROM table_name_14 WHERE first_b... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (teleplay VARCHAR, first_broadcast VARCHAR)"
},
{
"from": "human",
"value": "What is Teleplay, when First Broadcast is April 10, 1981?"
},
{
"from": "gpt",
"value": "SELECT teleplay FROM table_name_57 WHERE first_broadcast = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (h___a VARCHAR, opponents VARCHAR)"
},
{
"from": "human",
"value": "What the H/A when the opponent is the Bohemians?"
},
{
"from": "gpt",
"value": "SELECT h___a FROM table_name_25 WHERE opponents = \"bohemians\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (attendance INTEGER, opponents VARCHAR)"
},
{
"from": "human",
"value": "What is the attendance when Cork City is the opponent?"
},
{
"from": "gpt",
"value": "SELECT AVG(attendance) FROM table_name_7 WHERE opponents = \"cork cit... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (h___a VARCHAR, opponents VARCHAR)"
},
{
"from": "human",
"value": "What is the H/A when Cork City is the opponent?"
},
{
"from": "gpt",
"value": "SELECT h___a FROM table_name_53 WHERE opponents = \"cork city\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (h___a VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the H/A on 5 August 1990?"
},
{
"from": "gpt",
"value": "SELECT h___a FROM table_name_46 WHERE date = \"5 august 1990\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (result_f___a VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the result F-A on 5 August 1990?"
},
{
"from": "gpt",
"value": "SELECT result_f___a FROM table_name_70 WHERE date = \"5 august 1990\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (internal_floppy_disk VARCHAR, s_100_slots VARCHAR, year_introduced VARCHAR)"
},
{
"from": "human",
"value": "What is the value for internal floppy disk with s-100 slots greater than 8 introduced earlier than 1978?"
},
{
"from": "g... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (system VARCHAR, internal_hard_disk VARCHAR, s_100_slots VARCHAR, year_introduced VARCHAR)"
},
{
"from": "human",
"value": "Which system introduced earlier than 1981 has an internal hard disk of 11 megabytes and less than 21 s-100 slots?"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (college VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What college did Marcus Wilson attend?"
},
{
"from": "gpt",
"value": "SELECT college FROM table_name_45 WHERE player = \"marcus wilson\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (player VARCHAR, pick__number VARCHAR, college VARCHAR)"
},
{
"from": "human",
"value": "Who is the player that attended Notre Dame with a pick smaller than 304?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_76 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (college VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What college did Leon Perry attend?"
},
{
"from": "gpt",
"value": "SELECT college FROM table_name_93 WHERE player = \"leon perry\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (nfl_team VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "What NFL team did the Tight End position belong to?"
},
{
"from": "gpt",
"value": "SELECT nfl_team FROM table_name_62 WHERE position = \"tight end\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (week INTEGER, opponent VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of weeks that the buffalo bills played against the San Diego Chargers?"
},
{
"from": "gpt",
"value": "SELECT SUM(week) FROM table_name_4... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (attendance VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the attendance of the game that had a date listed as Bye?"
},
{
"from": "gpt",
"value": "SELECT attendance FROM table_name_76 WHERE date = \"bye\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (week INTEGER, attendance VARCHAR)"
},
{
"from": "human",
"value": "How many weeks were there games with 41,384 fans in attendance?"
},
{
"from": "gpt",
"value": "SELECT SUM(week) FROM table_name_48 WHERE attendance = \"41,384\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (week INTEGER, date VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest week number that had a game on December 3, 1967?"
},
{
"from": "gpt",
"value": "SELECT MIN(week) FROM table_name_97 WHERE date = \"december 3, 196... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (result VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "What was the result of the game that had 20,627 fans in attendance?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_79 WHERE attendance = \"20,6... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (rider VARCHAR, laps VARCHAR, time_retired VARCHAR)"
},
{
"from": "human",
"value": "Who is the rider with 22 laps and a +19.435 time/retired?"
},
{
"from": "gpt",
"value": "SELECT rider FROM table_name_86 WHERE laps = \"22\" A... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (grid VARCHAR, manufacturer VARCHAR, time_retired VARCHAR)"
},
{
"from": "human",
"value": "What is the grid with a yamaha manufacturer and a +19.435 time/retired?"
},
{
"from": "gpt",
"value": "SELECT grid FROM table_name_65 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (grid VARCHAR, rider VARCHAR)"
},
{
"from": "human",
"value": "What is the grid of rider shinya nakano?"
},
{
"from": "gpt",
"value": "SELECT grid FROM table_name_28 WHERE rider = \"shinya nakano\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (rider VARCHAR, laps VARCHAR, time_retired VARCHAR)"
},
{
"from": "human",
"value": "Who is the rider with 22 laps and a +1:44.775 time/retired?"
},
{
"from": "gpt",
"value": "SELECT rider FROM table_name_70 WHERE laps = \"22\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (manufacturer VARCHAR, grid VARCHAR)"
},
{
"from": "human",
"value": "What is the manufacturer with a 14 grid?"
},
{
"from": "gpt",
"value": "SELECT manufacturer FROM table_name_13 WHERE grid = \"14\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (rider VARCHAR, manufacturer VARCHAR, grid VARCHAR)"
},
{
"from": "human",
"value": "Who is the rider with a yamaha manufacturer and a 17 grid?"
},
{
"from": "gpt",
"value": "SELECT rider FROM table_name_21 WHERE manufacturer =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (attendance INTEGER, venue VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What is the total of attendance at Venue h when Auxerre were playing?"
},
{
"from": "gpt",
"value": "SELECT SUM(attendance) FROM table_name_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (vehicle VARCHAR, ceased_operation VARCHAR)"
},
{
"from": "human",
"value": "Which vehicle failed at launch?"
},
{
"from": "gpt",
"value": "SELECT vehicle FROM table_name_34 WHERE ceased_operation = \"failed at launch\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (notes VARCHAR, vehicle VARCHAR, ceased_operation VARCHAR)"
},
{
"from": "human",
"value": "What are the notes regarding the scout x-4 vehicle which ceased operation in June 1971?"
},
{
"from": "gpt",
"value": "SELECT notes FRO... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (ceased_operation VARCHAR, launched VARCHAR)"
},
{
"from": "human",
"value": "What was the ceased operation with a launch date of August 8, 1968?"
},
{
"from": "gpt",
"value": "SELECT ceased_operation FROM table_name_86 WHERE l... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (ceased_operation VARCHAR, launched VARCHAR)"
},
{
"from": "human",
"value": "What was the ceased operation that launched June 29, 1961?"
},
{
"from": "gpt",
"value": "SELECT ceased_operation FROM table_name_5 WHERE launched = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (place VARCHAR, country VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What place in the United States having a score of 67-75-68=210?"
},
{
"from": "gpt",
"value": "SELECT place FROM table_name_10 WHERE country = \"u... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (country VARCHAR, place VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What country is in T4 place having a score of 66-71-72=209?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_46 WHERE place = \"t4\" ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (place VARCHAR, country VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What place is the United States in that has a score of 68-73-68=209?"
},
{
"from": "gpt",
"value": "SELECT place FROM table_name_8 WHERE country = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (player VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Who is the player from the United States in T4 place with a score of 68-73-68=209?"
},
{
"from": "gpt",
"value": "SELECT player FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (played INTEGER, goals_against VARCHAR, lost VARCHAR, drawn VARCHAR)"
},
{
"from": "human",
"value": "How many played when lost is more than 17, drawn is 15 and goals against is less than 75?"
},
{
"from": "gpt",
"value": "SELE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (position INTEGER, drawn VARCHAR, lost VARCHAR, goal_difference VARCHAR)"
},
{
"from": "human",
"value": "what is the position when lot is less than 14, goal difference is +1 and drawn is more than 15?"
},
{
"from": "gpt",
"val... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (lost INTEGER, goals_for VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "How many lost when goals for is 43 and the position number is higher than 15?"
},
{
"from": "gpt",
"value": "SELECT AVG(lost) FROM table_name_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (score VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What was the score of the game against Charlotte?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_42 WHERE team = \"charlotte\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (high_assists VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "Who had the high assists in the game against Memphis?"
},
{
"from": "gpt",
"value": "SELECT high_assists FROM table_name_13 WHERE team = \"memphis\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (home_team VARCHAR, road_team VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "Who was the home team when Boston is the road team in game 4?"
},
{
"from": "gpt",
"value": "SELECT home_team FROM table_name_89 WHERE road_t... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.