conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (games INTEGER, points VARCHAR, lost VARCHAR)"
},
{
"from": "human",
"value": "What is the average number of games associated with 6 points and under 2 losses?"
},
{
"from": "gpt",
"value": "SELECT AVG(games) FROM table_name_80... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (points INTEGER, games INTEGER)"
},
{
"from": "human",
"value": "What is the low point total when there are over 5 games?"
},
{
"from": "gpt",
"value": "SELECT MIN(points) FROM table_name_56 WHERE games > 5"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (share_of_votes VARCHAR, electors VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What was the share of votes when there were more than 56 electors and the year was more recent than 1950?"
},
{
"from": "gpt",
"value": "... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (electors INTEGER, share_of_votes VARCHAR)"
},
{
"from": "human",
"value": "What is the total of electors when the share of votes was 11,0%?"
},
{
"from": "gpt",
"value": "SELECT SUM(electors) FROM table_name_70 WHERE share_of_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (lost INTEGER, games INTEGER)"
},
{
"from": "human",
"value": "Which Lost has Games larger than 7?"
},
{
"from": "gpt",
"value": "SELECT AVG(lost) FROM table_name_54 WHERE games > 7"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (points INTEGER, lost VARCHAR, games VARCHAR)"
},
{
"from": "human",
"value": "Which Points have a Lost smaller than 1, and Games larger than 7?"
},
{
"from": "gpt",
"value": "SELECT MAX(points) FROM table_name_81 WHERE lost < ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (lost INTEGER, points INTEGER)"
},
{
"from": "human",
"value": "Which Lost has Points larger than 13?"
},
{
"from": "gpt",
"value": "SELECT AVG(lost) FROM table_name_91 WHERE points > 13"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (points INTEGER, drawn INTEGER)"
},
{
"from": "human",
"value": "Which Points have a Drawn larger than 1?"
},
{
"from": "gpt",
"value": "SELECT AVG(points) FROM table_name_98 WHERE drawn > 1"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (diameter VARCHAR, year_of_issue VARCHAR)"
},
{
"from": "human",
"value": "Which Diameter has a Year of Issue of 1977?"
},
{
"from": "gpt",
"value": "SELECT diameter FROM table_name_28 WHERE year_of_issue = 1977"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (year_of_issue INTEGER, thickness VARCHAR)"
},
{
"from": "human",
"value": "Which Year of Issue has a Thickness of 1.42mm?"
},
{
"from": "gpt",
"value": "SELECT MAX(year_of_issue) FROM table_name_52 WHERE thickness = \"1.42mm\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (diameter VARCHAR, thickness VARCHAR)"
},
{
"from": "human",
"value": "Which Diameter has a Thickness of 1.3mm?"
},
{
"from": "gpt",
"value": "SELECT diameter FROM table_name_93 WHERE thickness = \"1.3mm\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (party VARCHAR, candidate VARCHAR)"
},
{
"from": "human",
"value": "Which party's candidate is Grech Louis Grech?"
},
{
"from": "gpt",
"value": "SELECT party FROM table_name_36 WHERE candidate = \"grech louis grech\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (sport VARCHAR, site VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the sport played in Iowa City on February 14, 2009?"
},
{
"from": "gpt",
"value": "SELECT sport FROM table_name_17 WHERE site = \"iowa city\" ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (series VARCHAR, winning_team VARCHAR, sport VARCHAR)"
},
{
"from": "human",
"value": "What is the series of the winning team in Iowa, for softball?"
},
{
"from": "gpt",
"value": "SELECT series FROM table_name_24 WHERE winning_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR)"
},
{
"from": "human",
"value": "What is the score of the match that was against alberto berasategui?"
},
{
"from": "gpt",
"value": "SELECT score_in_the_final FROM tab... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (rebounds VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "How many rebounds does Ann Wauters have?"
},
{
"from": "gpt",
"value": "SELECT COUNT(rebounds) FROM table_name_89 WHERE name = \"ann wauters\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (name VARCHAR, games VARCHAR)"
},
{
"from": "human",
"value": "Who played 10 games?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_56 WHERE games = 10"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (rebounds VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of rebounds values for Ann Wauters?"
},
{
"from": "gpt",
"value": "SELECT COUNT(rebounds) FROM table_name_56 WHERE name = \"ann wauters\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (opponent VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Who did the Colts play against on September 25, 1966?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_8 WHERE date = \"september 25, 1966\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (date VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "What is the date of the game with 40,005 in attendance?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_61 WHERE attendance = \"40,005\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (week INTEGER, game_site VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest week number for the game that was at milwaukee county stadium?"
},
{
"from": "gpt",
"value": "SELECT MIN(week) FROM table_name_18 WHERE game_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (result VARCHAR, week VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "After week 11, what was the Result on December 13, 1964?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_49 WHERE week > 11 AND date = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (attendance INTEGER, date VARCHAR, week VARCHAR)"
},
{
"from": "human",
"value": "After week 8, what was the Attendance on November 1, 1964?"
},
{
"from": "gpt",
"value": "SELECT AVG(attendance) FROM table_name_43 WHERE date = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (alternate VARCHAR, second VARCHAR)"
},
{
"from": "human",
"value": "What is the alternate of the nation with Piotras Gerasimovici as the second?"
},
{
"from": "gpt",
"value": "SELECT alternate FROM table_name_19 WHERE second =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (alternate VARCHAR, second VARCHAR)"
},
{
"from": "human",
"value": "What is the alternate of the nation with hubert gründhammer as the second?"
},
{
"from": "gpt",
"value": "SELECT alternate FROM table_name_97 WHERE second = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (alternate VARCHAR, skip VARCHAR)"
},
{
"from": "human",
"value": "What is the alternate of the nation with Erkki Lill as the skip?"
},
{
"from": "gpt",
"value": "SELECT alternate FROM table_name_55 WHERE skip = \"erkki lill\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (skip VARCHAR, alternate VARCHAR)"
},
{
"from": "human",
"value": "Who is the skip of the nation with Laurens van der Windt as the alternate?"
},
{
"from": "gpt",
"value": "SELECT skip FROM table_name_74 WHERE alternate = \"lau... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (lead VARCHAR, alternate VARCHAR)"
},
{
"from": "human",
"value": "Who is the lead of the nation with Juha Pekaristo as the alternate?"
},
{
"from": "gpt",
"value": "SELECT lead FROM table_name_46 WHERE alternate = \"juha pekar... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (round INTEGER, position VARCHAR)"
},
{
"from": "human",
"value": "What is the highest round in which a player was picked for the Center position?"
},
{
"from": "gpt",
"value": "SELECT MAX(round) FROM table_name_24 WHERE positi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (nationality VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What is John Flatters' nationality?"
},
{
"from": "gpt",
"value": "SELECT nationality FROM table_name_10 WHERE player = \"john flatters\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (position VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What is Jeremy Duchesne's position?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_67 WHERE player = \"jeremy duchesne\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (date INTEGER, attendance VARCHAR)"
},
{
"from": "human",
"value": "When was the attendance 1,034?"
},
{
"from": "gpt",
"value": "SELECT MIN(date) FROM table_name_51 WHERE attendance = \"1,034\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (opponents VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "what was the opponent on 26 october 1889?"
},
{
"from": "gpt",
"value": "SELECT opponents FROM table_name_51 WHERE date = \"26 october 1889\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (Id VARCHAR)"
},
{
"from": "human",
"value": "1950 larger than 80, and a 1960 of 196, and a 1990 larger than 131 what is the lowest 1996[2]?"
},
{
"from": "gpt",
"value": "SELECT MIN(1996)[2] FROM table_name_80 WHERE 1950 > 80 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (Id VARCHAR)"
},
{
"from": "human",
"value": "1960 larger than 196, and a 1996[2] smaller than 726, and a 1980 larger than 125, and a 1990 larger than 848, what is the highest 1950?"
},
{
"from": "gpt",
"value": "SELECT MAX(195... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (Id VARCHAR)"
},
{
"from": "human",
"value": "1980 smaller than 719, and a 1960 smaller than 205, and a 1996[2] smaller than 364, and a 1970 larger than 251 is what 1990 highest?"
},
{
"from": "gpt",
"value": "SELECT MAX(1990) ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (Id VARCHAR)"
},
{
"from": "human",
"value": "1996[2] larger than 68, and a 1990 smaller than 352, and a 1970 larger than 105, and a 1950 of 119 is the sum of what 1980?"
},
{
"from": "gpt",
"value": "SELECT SUM(1980) FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (Id VARCHAR)"
},
{
"from": "human",
"value": "1996[2] of 127, and a 1990 smaller than 120 is the sum of 1990?"
},
{
"from": "gpt",
"value": "SELECT SUM(1980) FROM table_name_89 WHERE 1996[2] = 127 AND 1990 < 120"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (opponent VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "Who was the opponent at the game with a result of w 14–6?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_60 WHERE result = \"w 14–6\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (result VARCHAR, week VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What was the result of the game with a record of 2–3–2 before week 8?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_38 WHERE week < ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (week INTEGER, game_site VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the earliest week with a game at the Braves Field on October 2, 1932?"
},
{
"from": "gpt",
"value": "SELECT MIN(week) FROM table_name_78 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (record VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the record at the game on November 13, 1932?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_38 WHERE date = \"november 13, 1932\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (role VARCHAR, actor VARCHAR)"
},
{
"from": "human",
"value": "What role is Kevin Bishop the actor?"
},
{
"from": "gpt",
"value": "SELECT role FROM table_name_18 WHERE actor = \"kevin bishop\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (duration VARCHAR, actor VARCHAR)"
},
{
"from": "human",
"value": "What is the duration for mike walling as the actor?"
},
{
"from": "gpt",
"value": "SELECT duration FROM table_name_47 WHERE actor = \"mike walling\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (duration VARCHAR, appearances VARCHAR, character VARCHAR)"
},
{
"from": "human",
"value": "What is the duration that has 3 for appearances, and james garret as the character?"
},
{
"from": "gpt",
"value": "SELECT duration FROM... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (duration VARCHAR, actor VARCHAR)"
},
{
"from": "human",
"value": "What is the duration for nickolas grace as the actor?"
},
{
"from": "gpt",
"value": "SELECT duration FROM table_name_36 WHERE actor = \"nickolas grace\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (record VARCHAR, time___et__ VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "Time ( ET ) of 1:00pm, and a Result of w 34–14 has what record?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_67 WHERE time__... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (location VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Date of sun. oct. 1 has what location?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_29 WHERE date = \"sun. oct. 1\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (result VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Record of 3–3 has what result?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_83 WHERE record = \"3–3\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (time___et__ VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Date of sun. oct. 29 has what time (et)?"
},
{
"from": "gpt",
"value": "SELECT time___et__ FROM table_name_65 WHERE date = \"sun. oct. 29\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (games VARCHAR, points VARCHAR, drawn VARCHAR)"
},
{
"from": "human",
"value": "How many games have more than 10 points and more than 2 draws?"
},
{
"from": "gpt",
"value": "SELECT COUNT(games) FROM table_name_13 WHERE points =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (lost INTEGER, points VARCHAR, drawn VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of losses that have points of 11 and more than 1 draw?"
},
{
"from": "gpt",
"value": "SELECT SUM(lost) FROM table_name_86 WHERE poin... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (points INTEGER, drawn VARCHAR, lost VARCHAR)"
},
{
"from": "human",
"value": "What is the greatest points value that have draws under 2 and 2 losses?"
},
{
"from": "gpt",
"value": "SELECT MAX(points) FROM table_name_67 WHERE d... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (lost VARCHAR, drawn INTEGER)"
},
{
"from": "human",
"value": "How many losses have draw values under 1?"
},
{
"from": "gpt",
"value": "SELECT COUNT(lost) FROM table_name_36 WHERE drawn < 1"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (february INTEGER, points INTEGER)"
},
{
"from": "human",
"value": "What's the lowest February for less than 57 points?"
},
{
"from": "gpt",
"value": "SELECT MIN(february) FROM table_name_32 WHERE points < 57"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (february INTEGER, opponent VARCHAR)"
},
{
"from": "human",
"value": "What's the February for the game against the Montreal Canadiens?"
},
{
"from": "gpt",
"value": "SELECT SUM(february) FROM table_name_88 WHERE opponent = \"mo... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (record VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "What's the record for Game 58?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_22 WHERE game = 58"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (winner VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "Which Winner has a Season of 2005–06?"
},
{
"from": "gpt",
"value": "SELECT winner FROM table_name_15 WHERE season = \"2005–06\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (runner_up VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "Which Runner-up played in the Season of 2000–01?"
},
{
"from": "gpt",
"value": "SELECT runner_up FROM table_name_72 WHERE season = \"2000–01\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (venue VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "What was the venue during the Season of 2010–11?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_88 WHERE season = \"2010–11\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (winner VARCHAR, runner_up VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "Which Winner has a Runner-up of larne, and a Season of 2003–04?"
},
{
"from": "gpt",
"value": "SELECT winner FROM table_name_13 WHERE runner_u... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (winner VARCHAR, score VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "Which Winner has a Score of 1 – 0, and a Season of 2011–12?"
},
{
"from": "gpt",
"value": "SELECT winner FROM table_name_30 WHERE score = \"1 – 0\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (position VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What position does Martin Rucker play?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_78 WHERE name = \"martin rucker\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (round INTEGER, name VARCHAR)"
},
{
"from": "human",
"value": "What was the lowest round for Paul Hubbard?"
},
{
"from": "gpt",
"value": "SELECT MIN(round) FROM table_name_21 WHERE name = \"paul hubbard\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (round INTEGER, position VARCHAR)"
},
{
"from": "human",
"value": "What was the lowest round for a tight end position?"
},
{
"from": "gpt",
"value": "SELECT MIN(round) FROM table_name_94 WHERE position = \"tight end\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (years VARCHAR, ties INTEGER)"
},
{
"from": "human",
"value": "What years did the person coach who had more than 31 ties?"
},
{
"from": "gpt",
"value": "SELECT years FROM table_name_5 WHERE ties > 31"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (wins INTEGER, ties VARCHAR, losses VARCHAR, years VARCHAR)"
},
{
"from": "human",
"value": "What is the average number of wins for the person who coached from 1951 to 1956 and had less than 174 losses and less than 6 ties?"
},
{
"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (coach VARCHAR, losses VARCHAR)"
},
{
"from": "human",
"value": "Who was the coach who had 215 losses?"
},
{
"from": "gpt",
"value": "SELECT coach FROM table_name_33 WHERE losses = 215"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (years VARCHAR, losses VARCHAR, ties VARCHAR, wins VARCHAR)"
},
{
"from": "human",
"value": "What years did the person coach who had more than 1 tie, mess than 311 wins and 174 losses?"
},
{
"from": "gpt",
"value": "SELECT year... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (years VARCHAR, wins VARCHAR, losses VARCHAR)"
},
{
"from": "human",
"value": "What years did the person coach who had less than 82 wins and more than 24 losses?"
},
{
"from": "gpt",
"value": "SELECT years FROM table_name_99 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (points INTEGER, game VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "Which Points have a Game larger than 25, and an Opponent of dallas stars?"
},
{
"from": "gpt",
"value": "SELECT AVG(points) FROM table_name_75 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (record VARCHAR, score VARCHAR, game VARCHAR, december VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "Which Record has a December smaller than 28, and Points smaller than 38, and a Game smaller than 26, and a Score of 0–1 ot?"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (opponent VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "Which Opponent has a Game of 31?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_56 WHERE game = 31"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (record VARCHAR, score VARCHAR, points VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "Which Record has Points smaller than 40, and a Game larger than 25, and a Score of 2–0?"
},
{
"from": "gpt",
"value": "SELECT record... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (performer_3 VARCHAR, episode VARCHAR)"
},
{
"from": "human",
"value": "Episode of 9 in which performer 3 had?"
},
{
"from": "gpt",
"value": "SELECT performer_3 FROM table_name_82 WHERE episode = 9"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (performer_1 VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Date of 8 july 1994 involves which performer 1?"
},
{
"from": "gpt",
"value": "SELECT performer_1 FROM table_name_31 WHERE date = \"8 july 1994\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (performer_3 VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Date of 15 july 1994 involves which performer 3?"
},
{
"from": "gpt",
"value": "SELECT performer_3 FROM table_name_56 WHERE date = \"15 july 1994\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (performer_3 VARCHAR, performer_2 VARCHAR)"
},
{
"from": "human",
"value": "Performer 2 of chip esten has what performer 3?"
},
{
"from": "gpt",
"value": "SELECT performer_3 FROM table_name_40 WHERE performer_2 = \"chip esten\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (name VARCHAR, pennant_number VARCHAR)"
},
{
"from": "human",
"value": "Which Name has a Pennant number of f82?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_56 WHERE pennant_number = \"f82\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (launched VARCHAR, date_of_commission VARCHAR)"
},
{
"from": "human",
"value": "What is the Launched which is on 3 may 2001?"
},
{
"from": "gpt",
"value": "SELECT launched FROM table_name_31 WHERE date_of_commission = \"3 may 2... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (homeport__as_of_july_2013_ VARCHAR, laid_down VARCHAR)"
},
{
"from": "human",
"value": "What is the Homeport that has a Laid down on 14 december 1985?"
},
{
"from": "gpt",
"value": "SELECT homeport__as_of_july_2013_ FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (launched VARCHAR, homeport__as_of_july_2013_ VARCHAR, pennant_number VARCHAR)"
},
{
"from": "human",
"value": "What kind of Launched has a Homeport (as of July 2013) of sold to chile, and a Pennant number of f80?"
},
{
"from": "gp... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (player VARCHAR, events INTEGER)"
},
{
"from": "human",
"value": "Which player had more than 25 events?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_60 WHERE events > 25"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (prize_money___$__ VARCHAR, country VARCHAR, rank VARCHAR, events VARCHAR)"
},
{
"from": "human",
"value": "What amount of prize money was there when the rank was less than 7, there were more than 6 events, and the country was Fiji?"
},
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (prize_money___ INTEGER, events VARCHAR)"
},
{
"from": "human",
"value": "What is the least amount of prize money when there are 21 events?"
},
{
"from": "gpt",
"value": "SELECT MIN(prize_money___) AS $__ FROM table_name_96 WHE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (series_ep VARCHAR, netflix VARCHAR)"
},
{
"from": "human",
"value": "Which series episode has a netflix figure of s04e21?"
},
{
"from": "gpt",
"value": "SELECT series_ep FROM table_name_45 WHERE netflix = \"s04e21\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (segment_a VARCHAR, netflix VARCHAR)"
},
{
"from": "human",
"value": "Which segment a's netflix figure is s04e24?"
},
{
"from": "gpt",
"value": "SELECT segment_a FROM table_name_77 WHERE netflix = \"s04e24\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (episode VARCHAR, segment_d VARCHAR)"
},
{
"from": "human",
"value": "How many episodes have a segment d that is goalie masks (part 2)?"
},
{
"from": "gpt",
"value": "SELECT COUNT(episode) FROM table_name_53 WHERE segment_d = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (episode VARCHAR, segment_b VARCHAR)"
},
{
"from": "human",
"value": "Which episode's segment b is s hacksaw?"
},
{
"from": "gpt",
"value": "SELECT episode FROM table_name_67 WHERE segment_b = \"s hacksaw\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (dob VARCHAR, surname VARCHAR, first VARCHAR)"
},
{
"from": "human",
"value": "When was Lachlan Dale born?"
},
{
"from": "gpt",
"value": "SELECT dob FROM table_name_47 WHERE surname = \"dale\" AND first = \"lachlan\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (bats VARCHAR, position VARCHAR, dob VARCHAR)"
},
{
"from": "human",
"value": "Which batter played P and was born 18 April 1984?"
},
{
"from": "gpt",
"value": "SELECT bats FROM table_name_12 WHERE position = \"p\" AND dob = \"1... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (surname VARCHAR, dob VARCHAR, bats VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "Which Surname has Bats of r, and a Position of p, and a DOB of 20 may 1989?"
},
{
"from": "gpt",
"value": "SELECT surname FROM tabl... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (position VARCHAR, throws VARCHAR, dob VARCHAR)"
},
{
"from": "human",
"value": "Which Position has Throws of r, and a DOB of 12 february 1983?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_59 WHERE throws = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (throws VARCHAR, surname VARCHAR)"
},
{
"from": "human",
"value": "How many throws did Needle have?"
},
{
"from": "gpt",
"value": "SELECT throws FROM table_name_10 WHERE surname = \"needle\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (dob VARCHAR, bats VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "Which DOB has Bats of s, and a Position of inf?"
},
{
"from": "gpt",
"value": "SELECT dob FROM table_name_8 WHERE bats = \"s\" AND position = \"inf\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (lap_length VARCHAR, category VARCHAR)"
},
{
"from": "human",
"value": "What is the Lap Length of the race with a Grand Prix Fia Category?"
},
{
"from": "gpt",
"value": "SELECT lap_length FROM table_name_50 WHERE category = \"g... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (race VARCHAR, category VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the Race on July 30, 1950 with a Formula 2 Fia, non-championship?"
},
{
"from": "gpt",
"value": "SELECT race FROM table_name_47 WHERE categ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (record VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "What was his record when the match went for 3:05?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_62 WHERE time = \"3:05\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (round INTEGER, event VARCHAR)"
},
{
"from": "human",
"value": "How many rounds did the match go for the Bellator 72 event?"
},
{
"from": "gpt",
"value": "SELECT SUM(round) FROM table_name_62 WHERE event = \"bellator 72\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (live VARCHAR, share INTEGER, viewers_ INTEGER)"
},
{
"from": "human",
"value": "What is the sum of the live viewers for episodes with share over 5?"
},
{
"from": "gpt",
"value": "SELECT SUM(viewers_)[live] AS __m_ FROM table_n... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.