id stringlengths 0 16 ⌀ | messages listlengths 3 10 | metadata dict |
|---|---|---|
dbbench_sft_0008 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "UPDATE_error_recovery",
"table_name": "Intelsat Satellite Fleet",
"sql": "UPDATE `Intelsat Satellite Fleet` SET `Downlink (MHz)` = '26.6', `Uplink (MHz)` = '44.2' WHERE `Name` = 'SES-27';",
"label": [
"done"
],
"wrong_sql": "UPDATE `Intelsat Satellite Fleet` SET `Downlink (MHz)` = '26.6', `Up... |
dbbench_sft_0724 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "aggregation-MAX_retry",
"table_name": "Satellite Communications Data",
"sql": "SELECT MAX(`Uplink (MHz)`) FROM `Satellite Communications Data` WHERE `System` = 'Ka-Band';",
"label": [
"6395.3"
],
"wrong_sql": "SELECT MAX(`Uplink (MHz)`) FROM `Satellite Communications Data` WHERE `System` = 'K... |
dbbench_sft_0298 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "INSERT",
"table_name": "TV Schedule Winter 2024",
"sql": "INSERT INTO `TV Schedule Winter 2024` (`Time`, `Title`, `Duration`, `Type`, `Rating`) VALUES ('Netherlands', 'Gamma', '65', 'Epsilon', '64.0');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"wh... |
dbbench_sft_0728 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "aggregation-AVG",
"table_name": "Music Releases",
"sql": "SELECT AVG(`No`) FROM `Music Releases`;",
"label": [
"28.5"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} |
dbbench_sft_0962 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "UPDATE",
"table_name": "NBC Programming",
"sql": "UPDATE `NBC Programming` SET `Title` = 'Updated Value', `Type` = 'Sandra Rodriguez' WHERE `Time` = '12:00';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"erro... |
dbbench_sft_0442 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "counting_error_recovery",
"table_name": "Telesat_Satellite_Fleet",
"sql": "SELECT COUNT(*) FROM `Telesat_Satellite_Fleet` WHERE `Name` = 'Eutelsat-19';",
"label": [
"1"
],
"wrong_sql": "SELECT COUNT(*) FROM `Telesat_Satellite_Fleet` WHERE Name = 'Eutelsat-19';",
"wrong_val": null,
"correc... |
dbbench_sft_0469 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "UPDATE_error_recovery",
"table_name": "World Cup Competition Records",
"sql": "UPDATE `World Cup Competition Records` SET `Event` = 'Robert Miller', `Race 1\nTime` = '53.8', `Race 2\nTime` = '85.5' WHERE `Athlete` = 'Lisa Carter';",
"label": [
"done"
],
"wrong_sql": "UPDATE `World Cup Competi... |
dbbench_sft_0437 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "counting",
"table_name": "Journal of Mathematics Publications",
"sql": "SELECT COUNT(*) FROM `Journal of Mathematics Publications` WHERE `Title` = 'Advances in Classification';",
"label": [
"1"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col... |
null | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | null |
[
{
"role": "system",
"content": "You are a database agent. If a value is not present in DISTINCT candidates, do not reuse the same WHERE value. Switch strategy (LIKE / different column)."
},
{
"role": "user",
"content": "Task: Find the ID for customer 'Jon Smyth'. Table: customers. Columns includ... | null | |
dbbench_sft_0958 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "aggregation-MIN",
"table_name": "Asia Higher Education Data",
"sql": "SELECT MIN(`Score`) FROM `Asia Higher Education Data`;",
"label": [
"51.9"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} |
dbbench_sft_0515 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "INSERT_error_recovery",
"table_name": "Drama Films 2020s",
"sql": "INSERT INTO `Drama Films 2020s` (`Year`, `Title`, `Genre`, `Box Office`, `Rating`, `Release`) VALUES ('56', 'Beta', 'Germany', '55.1', '66.0', 'Jessica Baker');",
"label": [
"done"
],
"wrong_sql": "INSERT INTO `Drama Films 202... |
dbbench_sft_0859 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "comparison_error_recovery",
"table_name": "Drug Approval Database",
"sql": "SELECT `Date` FROM `Drug Approval Database` WHERE `Dosage (mg)` > 200;",
"label": [
"September 24, 2001",
"November 8, 1979",
"March 18, 1984"
],
"wrong_sql": "SELECT Date FROM `Drug Approval Database` WHERE `... |
dbbench_sft_0304 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "other_error_recovery",
"table_name": "Military Leaders Table",
"sql": "SELECT `Name` FROM `Military Leaders Table` WHERE `From` = 'January 20, 1979';",
"label": [
"BG Linda Taylor"
],
"wrong_sql": "SELECT Name FROM `Military Leaders Table` WHERE `From` = 'January 20, 1979';",
"wrong_val": n... |
null | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | null |
dbbench_sft_0263 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "INSERT",
"table_name": "Journal of Economics Publications",
"sql": "INSERT INTO `Journal of Economics Publications` (`Title`, `Year`, `Citations`, `Authors`, `Venue`) VALUES ('Vienna', '9', '79', 'Beta', 'Beta');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": ... |
dbbench_sft_1008 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "UPDATE",
"table_name": "Premier League 2016 Season Standings",
"sql": "UPDATE `Premier League 2016 Season Standings` SET `Attendance` = '92', `Rank` = '50', `Score` = 'New Entry' WHERE `Date` = 'January 20, 1954';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val":... |
dbbench_sft_0009 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "INSERT_error_recovery",
"table_name": "Marine_Corps_Officers_List",
"sql": "INSERT INTO `Marine_Corps_Officers_List` (`Name`, `From`, `To`, `Position`, `Unit`) VALUES ('Istanbul', 'Dallas', 'Alpha', 'Epsilon', 'Hungary');",
"label": [
"done"
],
"wrong_sql": "INSERT INTO `Marine_Corps_Officers... |
dbbench_sft_0205 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "aggregation-MIN",
"table_name": "TV Schedule Spring 2023",
"sql": "SELECT MIN(`Duration`) FROM `TV Schedule Spring 2023`;",
"label": [
"30.0"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} |
dbbench_sft_0981 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "aggregation-SUM",
"table_name": "FDA Approved Medications",
"sql": "SELECT SUM(`Number`) FROM `FDA Approved Medications`;",
"label": [
"38557.0"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} |
null | [
{
"role": "system",
"content": "You are an agent. In training examples, your response contains a brief rationale as 'Thought:' followed by the final command as 'Action:' on the next line. At evaluation time, you MUST output ONLY the single 'Action:' line, copying verbatim from AVAILABLE ACTIONS."
},
{
... | null |
dbbench_sft_0832 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "counting",
"table_name": "Pharmacological Data Table",
"sql": "SELECT COUNT(*) FROM `Pharmacological Data Table` WHERE `Cell type` = 'Neuron';",
"label": [
"1"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} |
dbbench_sft_0821 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "other",
"table_name": "1980 Olympic Medal Tally",
"sql": "SELECT `Total` FROM `1980 Olympic Medal Tally` WHERE `Nation` = 'Czech Republic';",
"label": [
"25"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} |
dbbench_sft_0815 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "INSERT_error_recovery",
"table_name": "Spain Match History",
"sql": "INSERT INTO `Spain Match History` (`Date`, `Venue`, `Opponent`, `Score`, `Competition`) VALUES ('Gamma', 'Alpha', 'Richard Perez', 'Gamma', 'Greece');",
"label": [
"done"
],
"wrong_sql": "INSERT INTO `Spain Match History` (D... |
dbbench_sft_0344 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "INSERT",
"table_name": "Tony Gulotta Career Stats",
"sql": "INSERT INTO `Tony Gulotta Career Stats` (`Year`, `Car`, `Start`, `Qual`, `Rank`, `Finish`, `Laps`) VALUES ('79', 'Beta', '83', '96.0', '79', '35', '76');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val":... |
dbbench_sft_0950 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "other",
"table_name": "Telesat Satellite Fleet",
"sql": "SELECT `Uplink (MHz)` FROM `Telesat Satellite Fleet` WHERE `System` = 'Ka-Band';",
"label": [
"6125.3"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} |
dbbench_sft_0270 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "ranking",
"table_name": "Toronto_Property_Listings",
"sql": "SELECT `Address` FROM `Toronto_Property_Listings` ORDER BY `Level` DESC LIMIT 1;",
"label": [
"200 Park St"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason"... |
dbbench_sft_0845 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "INSERT_error_recovery",
"table_name": "European_Championships_Competition_Records",
"sql": "INSERT INTO `European_Championships_Competition_Records` (`Athlete`, `Event`, `Race 1\nTime`, `Race 2\nTime`, `Total\nTime`, `Total\nRank`) VALUES ('Gamma', 'Delta', '89.6', '60.6', '9.3', '82');",
"label": [
... |
dbbench_sft_1110 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "INSERT",
"table_name": "2009 Formula One Season",
"sql": "INSERT INTO `2009 Formula One Season` (`No`, `Driver`, `Time/Retired`, `Laps`, `Points`) VALUES ('71', 'Beta', 'Epsilon', '55', '41.7');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col... |
dbbench_sft_0191 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "INSERT",
"table_name": "Chemistry Research Papers",
"sql": "INSERT INTO `Chemistry Research Papers` (`Title`, `Year`, `Citations`, `Authors`, `Venue`) VALUES ('James Harris', '14', '53', 'Margaret Gonzalez', 'Copenhagen');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"corr... |
dbbench_sft_1038 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "ranking_error_recovery",
"table_name": "Islands of Japan",
"sql": "SELECT `Island` FROM `Islands of Japan` ORDER BY `Rank` DESC LIMIT 1;",
"label": [
"Lewis"
],
"wrong_sql": "SELECT `Island` FROM `Islands of Japan` ORDER BY Rank DESC LIMIT 1;",
"wrong_val": null,
"correct_val": null,
"w... |
dbbench_sft_0315 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "UPDATE",
"table_name": "Panthers Season Results",
"sql": "UPDATE `Panthers Season Results` SET `Attendance` = '52', `Score` = 'New Entry' WHERE `Date` = 'April 1, 1987';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": n... |
dbbench_sft_0095 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "UPDATE",
"table_name": "World_Islands_Database",
"sql": "UPDATE `World_Islands_Database` SET `Country/Region` = 'New Entry' WHERE `Island` = 'Cebu';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason"... |
dbbench_sft_0824 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "INSERT",
"table_name": "Hawks Season Results",
"sql": "INSERT INTO `Hawks Season Results` (`Date`, `Opponent`, `Result`, `Score`, `Rank`, `Attendance`) VALUES ('Beta', 'Beta', 'Mumbai', 'Gamma', '32', '40');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,... |
null | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | null |
dbbench_sft_0087 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "UPDATE",
"table_name": "Christopher Nolan Filmography",
"sql": "UPDATE `Christopher Nolan Filmography` SET `Genre` = 'Taipei', `Release` = 'Warsaw' WHERE `Title` = 'Silent Echo';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"erro... |
dbbench_sft_0139 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "aggregation-MAX",
"table_name": "Indianapolis_500_History",
"sql": "SELECT MAX(`Year`) FROM `Indianapolis_500_History`;",
"label": [
"2017.0"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} |
null | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | null |
dbbench_sft_0278 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "INSERT_error_recovery",
"table_name": "Air Force Officers List",
"sql": "INSERT INTO `Air Force Officers List` (`Name`, `From`, `To`, `Position`, `Unit`) VALUES ('Belgium', 'Beta', 'Epsilon', 'David Wright', 'Alpha');",
"label": [
"done"
],
"wrong_sql": "INSERT INTO `Air Force Officers List` ... |
dbbench_sft_0542 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "INSERT",
"table_name": "FDA Approved Medications",
"sql": "INSERT INTO `FDA Approved Medications` (`Name`, `Date`, `Type`, `Number`, `Dosage (mg)`) VALUES ('Alpha', 'Gamma', 'Beta', '57', '26.4');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_c... |
dbbench_sft_1172 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "counting",
"table_name": "Eastern_Census_Data",
"sql": "SELECT COUNT(*) FROM `Eastern_Census_Data` WHERE `Region` = 'Yekaterinburg';",
"label": [
"1"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} |
null | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | null |
dbbench_sft_0240 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "INSERT",
"table_name": "Amtrak Train Schedule",
"sql": "INSERT INTO `Amtrak Train Schedule` (`No`, `Name`, `From`, `To`, `Distance (km)`, `Platforms`) VALUES ('45', 'Alpha', 'Gamma', 'Deborah Harris', '75', '70');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val":... |
dbbench_sft_1119 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "counting_retry",
"table_name": "Viasat Satellite Fleet",
"sql": "SELECT COUNT(*) FROM `Viasat Satellite Fleet` WHERE `System` = 'L-Band';",
"label": [
"2"
],
"wrong_sql": "SELECT COUNT(*) FROM `Viasat Satellite Fleet` WHERE `System` = 'L-Band ';",
"wrong_val": "L-Band ",
"correct_val": "L... |
dbbench_sft_0573 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "UPDATE",
"table_name": "Railway_Stations_France",
"sql": "UPDATE `Railway_Stations_France` SET `From` = 'Margaret Baker' WHERE `Name` = 'Chhatisgarh Express';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"err... |
dbbench_sft_1020 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "other",
"table_name": "World Cup Competition Records",
"sql": "SELECT `Total\nRank` FROM `World Cup Competition Records` WHERE `Athlete` = 'Sharon Smith';",
"label": [
"16"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_rea... |
dbbench_sft_0104 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "UPDATE",
"table_name": "Journal of Economics Publications",
"sql": "UPDATE `Journal of Economics Publications` SET `Year` = '42', `Citations` = '56', `Authors` = 'New Entry' WHERE `Title` = 'Revisiting Clustering';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val"... |
dbbench_sft_0992 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "UPDATE",
"table_name": "Race_Results",
"sql": "UPDATE `Race_Results` SET `Rank` = '93', `Qual` = '50.4', `Start` = '75' WHERE `Car` = '#21';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} |
dbbench_sft_1121 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "UPDATE",
"table_name": "BBC Programming",
"sql": "UPDATE `BBC Programming` SET `Type` = 'Istanbul', `Duration` = '3' WHERE `Time` = '7:00';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} |
dbbench_sft_0429 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "comparison",
"table_name": "2016 Olympic Medal Tally",
"sql": "SELECT `Nation` FROM `2016 Olympic Medal Tally` WHERE `Silver` > 15;",
"label": [
"New Zealand",
"Peru",
"France"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
... |
dbbench_sft_0593 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "INSERT",
"table_name": "Premier League 2008 Season Standings",
"sql": "INSERT INTO `Premier League 2008 Season Standings` (`Date`, `Opponent`, `Result`, `Score`, `Rank`, `Attendance`) VALUES ('Beta', 'Delta', 'Alpha', 'Epsilon', '90', '75');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_... |
null | [
{
"role": "system",
"content": "You are an agent. In training examples, your response contains a brief rationale as 'Thought:' followed by the final command as 'Action:' on the next line. At evaluation time, you MUST output ONLY the single 'Action:' line, copying verbatim from AVAILABLE ACTIONS."
},
{
... | null |
dbbench_sft_0404 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "comparison_error_recovery",
"table_name": "World_Cup_Competition_Records",
"sql": "SELECT `Athlete` FROM `World_Cup_Competition_Records` WHERE `Race 2\nTime` < 93;",
"label": [
"Susan Moore",
"Dorothy Young",
"Kimberly Roberts"
],
"wrong_sql": "SELECT `Athlete` FROM `World_Cup_Competi... |
dbbench_sft_0524 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "UPDATE",
"table_name": "JR East Train Schedule",
"sql": "UPDATE `JR East Train Schedule` SET `Distance (km)` = '50', `Platforms` = '47', `From` = 'New Entry' WHERE `Name` = 'Mountain Route';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": n... |
dbbench_sft_0966 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "counting_retry",
"table_name": "Cell_Receptor_Database",
"sql": "SELECT COUNT(*) FROM `Cell_Receptor_Database` WHERE `Effects` = 'Relaxation';",
"label": [
"2"
],
"wrong_sql": "SELECT COUNT(*) FROM `Cell_Receptor_Database` WHERE `Effects` = 'Relaxation ';",
"wrong_val": "Relaxation ",
"co... |
dbbench_sft_0800 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "INSERT",
"table_name": "Tokyo Property Listings",
"sql": "INSERT INTO `Tokyo Property Listings` (`Address`, `Price`, `Area\n(sq ft)`, `Year`, `Level`) VALUES ('Gamma', '12', '68', '88', '46');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col":... |
dbbench_sft_0555 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "aggregation-MIN",
"table_name": "Journal of Chemistry Publications",
"sql": "SELECT MIN(`Year`) FROM `Journal of Chemistry Publications` WHERE `Venue` = 'NeurIPS';",
"label": [
"2022.0"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,... |
dbbench_sft_0929 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "UPDATE",
"table_name": "Telesat_Satellite_Fleet",
"sql": "UPDATE `Telesat_Satellite_Fleet` SET `Uplink (MHz)` = '33.5' WHERE `Name` = 'SES-6';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null... |
dbbench_sft_0286 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "counting_retry",
"table_name": "Real Estate 2023",
"sql": "SELECT COUNT(*) FROM `Real Estate 2023` WHERE `Address` = '948 Oak St';",
"label": [
"1"
],
"wrong_sql": "SELECT COUNT(*) FROM `Real Estate 2023` WHERE `Address` = '948 OAK ST';",
"wrong_val": "948 OAK ST",
"correct_val": "948 Oak... |
dbbench_sft_1096 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "other",
"table_name": "Population by Age Group and Region in Russia",
"sql": "SELECT `15 to 17` FROM `Population by Age Group and Region in Russia` WHERE `Region` = 'St. Petersburg';",
"label": [
"43782"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
... |
null | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | null |
dbbench_sft_0374 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "aggregation-SUM",
"table_name": "Americas Higher Education Data",
"sql": "SELECT SUM(`Students`) FROM `Americas Higher Education Data`;",
"label": [
"565709.0"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} |
null | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | null |
dbbench_sft_1175 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "counting_retry",
"table_name": "Marine Corps Officers List",
"sql": "SELECT COUNT(*) FROM `Marine Corps Officers List` WHERE `To` = 'December 25, 1981';",
"label": [
"1"
],
"wrong_sql": "SELECT COUNT(*) FROM `Marine Corps Officers List` WHERE `To` = 'december 25, 1981';",
"wrong_val": "dece... |
dbbench_sft_0253 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "UPDATE",
"table_name": "Actress_Filmography",
"sql": "UPDATE `Actress_Filmography` SET `Box Office` = '19.1', `Release` = 'New Entry' WHERE `Title` = 'Rising Sun';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
... |
dbbench_sft_0099 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "aggregation-MIN",
"table_name": "Railway Stations UK",
"sql": "SELECT MIN(`Distance (km)`) FROM `Railway Stations UK` WHERE `Name` = 'City Link';",
"label": [
"200.0"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": ... |
dbbench_sft_1113 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "comparison_error_recovery",
"table_name": "Indianapolis 500 History",
"sql": "SELECT `Car` FROM `Indianapolis 500 History` WHERE `Start` > 17;",
"label": [
"#27",
"#72",
"#17"
],
"wrong_sql": "SELECT `Car` FROM `Indianapolis 500 History` WHERE Start > 17;",
"wrong_val": null,
"cor... |
dbbench_sft_0245 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "UPDATE",
"table_name": "Intelsat_Satellite_Fleet",
"sql": "UPDATE `Intelsat_Satellite_Fleet` SET `Status` = 'Updated Value', `Uplink (MHz)` = '94.1' WHERE `Name` = 'Intelsat-10';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"erro... |
dbbench_sft_0743 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "aggregation-MAX",
"table_name": "1996 Olympic Medal Tally",
"sql": "SELECT MAX(`Silver`) FROM `1996 Olympic Medal Tally` WHERE `Nation` = 'Belgium';",
"label": [
"29.0"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason"... |
dbbench_sft_0073 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "UPDATE_error_recovery",
"table_name": "Railway_Stations_UK",
"sql": "UPDATE `Railway_Stations_UK` SET `To` = 'Updated Value', `No` = '34', `From` = 'Berlin' WHERE `Name` = 'Rajdhani Express';",
"label": [
"done"
],
"wrong_sql": "UPDATE `Railway_Stations_UK` SET To = 'Updated Value', `No` = '3... |
dbbench_sft_0861 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "UPDATE_error_recovery",
"table_name": "Americas Higher Education Data",
"sql": "UPDATE `Americas Higher Education Data` SET `Score` = '28.1', `Students` = '51' WHERE `Name` = 'Stanford';",
"label": [
"done"
],
"wrong_sql": "UPDATE `Americas Higher Education Data` SET `Score` = '28.1', `Studen... |
dbbench_sft_0644 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "UPDATE",
"table_name": "FDA_Approved_Medications",
"sql": "UPDATE `FDA_Approved_Medications` SET `Number` = '43', `Type` = 'New Entry', `Dosage (mg)` = '25.4' WHERE `Name` = 'Aspirin';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
... |
dbbench_sft_0098 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "UPDATE",
"table_name": "Alpine_Skiing_Athletes_Results",
"sql": "UPDATE `Alpine_Skiing_Athletes_Results` SET `Total\nTime` = '78.2' WHERE `Athlete` = 'Michael Harris';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": nul... |
dbbench_sft_1063 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "counting_retry",
"table_name": "Physics_Research_Papers",
"sql": "SELECT COUNT(*) FROM `Physics_Research_Papers` WHERE `Venue` = 'EMNLP';",
"label": [
"4"
],
"wrong_sql": "SELECT COUNT(*) FROM `Physics_Research_Papers` WHERE `Venue` = 'EMNLPs';",
"wrong_val": "EMNLPs",
"correct_val": "EMN... |
dbbench_sft_0973 | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {
"type": "UPDATE",
"table_name": "2004_Olympic_Medal_Tally",
"sql": "UPDATE `2004_Olympic_Medal_Tally` SET `Gold` = '70' WHERE `Nation` = 'Ireland';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 10