Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
0
16
messages
listlengths
3
9
metadata
dict
dbbench_sft_0008
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": "Name", "error_reason": "reserved", "label": [ "done" ], "sql": "UPDATE `Intelsat Satellite Fleet` SET `Downlink (MHz)` = '26.6', `Uplink (MHz)` = '44.2' WHERE `Name` = 'SES-27';", "table_name": "Intelsat Satellite Fleet", "type": "UPDATE_error_recovery", "where...
dbbench_sft_0724
[ { "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 or to answer.\nyour...
{ "correct_val": "Ka-Band", "error_col": null, "error_reason": null, "label": [ "6395.3" ], "sql": "SELECT MAX(`Uplink (MHz)`) FROM `Satellite Communications Data` WHERE `System` = 'Ka-Band';", "table_name": "Satellite Communications Data", "type": "aggregation-MAX_retry", "where_col": "System", ...
dbbench_sft_0298
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "INSERT INTO `TV Schedule Winter 2024` (`Time`, `Title`, `Duration`, `Type`, `Rating`) VALUES ('Netherlands', 'Gamma', '65', 'Epsilon', '64.0');", "table_name": "TV Schedule Winter 2024", "type": "INSERT", ...
dbbench_sft_0728
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "28.5" ], "sql": "SELECT AVG(`No`) FROM `Music Releases`;", "table_name": "Music Releases", "type": "aggregation-AVG", "where_col": null, "wrong_sql": null, "wrong_val": null }
dbbench_sft_0962
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "UPDATE `NBC Programming` SET `Title` = 'Updated Value', `Type` = 'Sandra Rodriguez' WHERE `Time` = '12:00';", "table_name": "NBC Programming", "type": "UPDATE", "where_col": null, "wrong_sql": null, "w...
dbbench_sft_0442
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": "Name", "error_reason": "reserved", "label": [ "1" ], "sql": "SELECT COUNT(*) FROM `Telesat_Satellite_Fleet` WHERE `Name` = 'Eutelsat-19';", "table_name": "Telesat_Satellite_Fleet", "type": "counting_error_recovery", "where_col": null, "wrong_sql": "SELECT COU...
dbbench_sft_0469
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": "Race 1\nTime", "error_reason": "special", "label": [ "done" ], "sql": "UPDATE `World Cup Competition Records` SET `Event` = 'Robert Miller', `Race 1\nTime` = '53.8', `Race 2\nTime` = '85.5' WHERE `Athlete` = 'Lisa Carter';", "table_name": "World Cup Competition Rec...
dbbench_sft_0437
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "1" ], "sql": "SELECT COUNT(*) FROM `Journal of Mathematics Publications` WHERE `Title` = 'Advances in Classification';", "table_name": "Journal of Mathematics Publications", "type": "counting", "where_col": null, "wrong_...
null
[ { "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 or to answer.\nyour...
null
[ { "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": "system" }, { "content": "Task: Find the ID for customer 'Jon Smyth'. Table: customers. Columns include: customer_id, cust...
null
dbbench_sft_0958
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "51.9" ], "sql": "SELECT MIN(`Score`) FROM `Asia Higher Education Data`;", "table_name": "Asia Higher Education Data", "type": "aggregation-MIN", "where_col": null, "wrong_sql": null, "wrong_val": null }
dbbench_sft_0515
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": "Box Office", "error_reason": "special", "label": [ "done" ], "sql": "INSERT INTO `Drama Films 2020s` (`Year`, `Title`, `Genre`, `Box Office`, `Rating`, `Release`) VALUES ('56', 'Beta', 'Germany', '55.1', '66.0', 'Jessica Baker');", "table_name": "Drama Films 2020s"...
dbbench_sft_0859
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": "Date", "error_reason": "reserved", "label": [ "September 24, 2001", "November 8, 1979", "March 18, 1984" ], "sql": "SELECT `Date` FROM `Drug Approval Database` WHERE `Dosage (mg)` > 200;", "table_name": "Drug Approval Database", "type": "comparison_error_...
dbbench_sft_0304
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": "Name", "error_reason": "reserved", "label": [ "BG Linda Taylor" ], "sql": "SELECT `Name` FROM `Military Leaders Table` WHERE `From` = 'January 20, 1979';", "table_name": "Military Leaders Table", "type": "other_error_recovery", "where_col": null, "wrong_sql":...
null
[ { "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 or to answer.\nyour...
null
dbbench_sft_0263
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "INSERT INTO `Journal of Economics Publications` (`Title`, `Year`, `Citations`, `Authors`, `Venue`) VALUES ('Vienna', '9', '79', 'Beta', 'Beta');", "table_name": "Journal of Economics Publications", "type": "...
dbbench_sft_1008
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "UPDATE `Premier League 2016 Season Standings` SET `Attendance` = '92', `Rank` = '50', `Score` = 'New Entry' WHERE `Date` = 'January 20, 1954';", "table_name": "Premier League 2016 Season Standings", "type": ...
dbbench_sft_0009
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": "Position", "error_reason": "reserved", "label": [ "done" ], "sql": "INSERT INTO `Marine_Corps_Officers_List` (`Name`, `From`, `To`, `Position`, `Unit`) VALUES ('Istanbul', 'Dallas', 'Alpha', 'Epsilon', 'Hungary');", "table_name": "Marine_Corps_Officers_List", "ty...
dbbench_sft_0205
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "30.0" ], "sql": "SELECT MIN(`Duration`) FROM `TV Schedule Spring 2023`;", "table_name": "TV Schedule Spring 2023", "type": "aggregation-MIN", "where_col": null, "wrong_sql": null, "wrong_val": null }
dbbench_sft_0981
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "38557.0" ], "sql": "SELECT SUM(`Number`) FROM `FDA Approved Medications`;", "table_name": "FDA Approved Medications", "type": "aggregation-SUM", "where_col": null, "wrong_sql": null, "wrong_val": null }
null
[ { "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.", "role": "system" }, { ...
null
dbbench_sft_0832
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "1" ], "sql": "SELECT COUNT(*) FROM `Pharmacological Data Table` WHERE `Cell type` = 'Neuron';", "table_name": "Pharmacological Data Table", "type": "counting", "where_col": null, "wrong_sql": null, "wrong_val": null }
dbbench_sft_0821
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "25" ], "sql": "SELECT `Total` FROM `1980 Olympic Medal Tally` WHERE `Nation` = 'Czech Republic';", "table_name": "1980 Olympic Medal Tally", "type": "other", "where_col": null, "wrong_sql": null, "wrong_val": null }
dbbench_sft_0815
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": "Date", "error_reason": "reserved", "label": [ "done" ], "sql": "INSERT INTO `Spain Match History` (`Date`, `Venue`, `Opponent`, `Score`, `Competition`) VALUES ('Gamma', 'Alpha', 'Richard Perez', 'Gamma', 'Greece');", "table_name": "Spain Match History", "type": "...
dbbench_sft_0344
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "INSERT INTO `Tony Gulotta Career Stats` (`Year`, `Car`, `Start`, `Qual`, `Rank`, `Finish`, `Laps`) VALUES ('79', 'Beta', '83', '96.0', '79', '35', '76');", "table_name": "Tony Gulotta Career Stats", "type": ...
dbbench_sft_0950
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "6125.3" ], "sql": "SELECT `Uplink (MHz)` FROM `Telesat Satellite Fleet` WHERE `System` = 'Ka-Band';", "table_name": "Telesat Satellite Fleet", "type": "other", "where_col": null, "wrong_sql": null, "wrong_val": null }
dbbench_sft_0270
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "200 Park St" ], "sql": "SELECT `Address` FROM `Toronto_Property_Listings` ORDER BY `Level` DESC LIMIT 1;", "table_name": "Toronto_Property_Listings", "type": "ranking", "where_col": null, "wrong_sql": null, "wrong_val"...
dbbench_sft_0845
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": "Race 1\nTime", "error_reason": "special", "label": [ "done" ], "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');"...
dbbench_sft_1110
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "INSERT INTO `2009 Formula One Season` (`No`, `Driver`, `Time/Retired`, `Laps`, `Points`) VALUES ('71', 'Beta', 'Epsilon', '55', '41.7');", "table_name": "2009 Formula One Season", "type": "INSERT", "where_...
dbbench_sft_0191
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "INSERT INTO `Chemistry Research Papers` (`Title`, `Year`, `Citations`, `Authors`, `Venue`) VALUES ('James Harris', '14', '53', 'Margaret Gonzalez', 'Copenhagen');", "table_name": "Chemistry Research Papers", ...
dbbench_sft_1038
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": "Rank", "error_reason": "reserved", "label": [ "Lewis" ], "sql": "SELECT `Island` FROM `Islands of Japan` ORDER BY `Rank` DESC LIMIT 1;", "table_name": "Islands of Japan", "type": "ranking_error_recovery", "where_col": null, "wrong_sql": "SELECT `Island` FROM ...
dbbench_sft_0315
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "UPDATE `Panthers Season Results` SET `Attendance` = '52', `Score` = 'New Entry' WHERE `Date` = 'April 1, 1987';", "table_name": "Panthers Season Results", "type": "UPDATE", "where_col": null, "wrong_sql"...
dbbench_sft_0095
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "UPDATE `World_Islands_Database` SET `Country/Region` = 'New Entry' WHERE `Island` = 'Cebu';", "table_name": "World_Islands_Database", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val"...
dbbench_sft_0824
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "INSERT INTO `Hawks Season Results` (`Date`, `Opponent`, `Result`, `Score`, `Rank`, `Attendance`) VALUES ('Beta', 'Beta', 'Mumbai', 'Gamma', '32', '40');", "table_name": "Hawks Season Results", "type": "INSER...
null
[ { "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 or to answer.\nyour...
null
dbbench_sft_0087
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "UPDATE `Christopher Nolan Filmography` SET `Genre` = 'Taipei', `Release` = 'Warsaw' WHERE `Title` = 'Silent Echo';", "table_name": "Christopher Nolan Filmography", "type": "UPDATE", "where_col": null, "w...
dbbench_sft_0139
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "2017.0" ], "sql": "SELECT MAX(`Year`) FROM `Indianapolis_500_History`;", "table_name": "Indianapolis_500_History", "type": "aggregation-MAX", "where_col": null, "wrong_sql": null, "wrong_val": null }
null
[ { "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 or to answer.\nyour...
null
dbbench_sft_0278
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": "From", "error_reason": "reserved", "label": [ "done" ], "sql": "INSERT INTO `Air Force Officers List` (`Name`, `From`, `To`, `Position`, `Unit`) VALUES ('Belgium', 'Beta', 'Epsilon', 'David Wright', 'Alpha');", "table_name": "Air Force Officers List", "type": "IN...
dbbench_sft_0542
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "INSERT INTO `FDA Approved Medications` (`Name`, `Date`, `Type`, `Number`, `Dosage (mg)`) VALUES ('Alpha', 'Gamma', 'Beta', '57', '26.4');", "table_name": "FDA Approved Medications", "type": "INSERT", "wher...
dbbench_sft_1172
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "1" ], "sql": "SELECT COUNT(*) FROM `Eastern_Census_Data` WHERE `Region` = 'Yekaterinburg';", "table_name": "Eastern_Census_Data", "type": "counting", "where_col": null, "wrong_sql": null, "wrong_val": null }
null
[ { "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 or to answer.\nyour...
null
dbbench_sft_0240
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "INSERT INTO `Amtrak Train Schedule` (`No`, `Name`, `From`, `To`, `Distance (km)`, `Platforms`) VALUES ('45', 'Alpha', 'Gamma', 'Deborah Harris', '75', '70');", "table_name": "Amtrak Train Schedule", "type": ...
dbbench_sft_1119
[ { "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 or to answer.\nyour...
{ "correct_val": "L-Band", "error_col": null, "error_reason": null, "label": [ "2" ], "sql": "SELECT COUNT(*) FROM `Viasat Satellite Fleet` WHERE `System` = 'L-Band';", "table_name": "Viasat Satellite Fleet", "type": "counting_retry", "where_col": "System", "wrong_sql": "SELECT COUNT(*) FROM `Vi...
dbbench_sft_0573
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "UPDATE `Railway_Stations_France` SET `From` = 'Margaret Baker' WHERE `Name` = 'Chhatisgarh Express';", "table_name": "Railway_Stations_France", "type": "UPDATE", "where_col": null, "wrong_sql": null, "...
dbbench_sft_1020
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "16" ], "sql": "SELECT `Total\nRank` FROM `World Cup Competition Records` WHERE `Athlete` = 'Sharon Smith';", "table_name": "World Cup Competition Records", "type": "other", "where_col": null, "wrong_sql": null, "wrong_...
dbbench_sft_0104
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "UPDATE `Journal of Economics Publications` SET `Year` = '42', `Citations` = '56', `Authors` = 'New Entry' WHERE `Title` = 'Revisiting Clustering';", "table_name": "Journal of Economics Publications", "type":...
dbbench_sft_0992
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "UPDATE `Race_Results` SET `Rank` = '93', `Qual` = '50.4', `Start` = '75' WHERE `Car` = '#21';", "table_name": "Race_Results", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null }
dbbench_sft_1121
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "UPDATE `BBC Programming` SET `Type` = 'Istanbul', `Duration` = '3' WHERE `Time` = '7:00';", "table_name": "BBC Programming", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null }
dbbench_sft_0429
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "New Zealand", "Peru", "France" ], "sql": "SELECT `Nation` FROM `2016 Olympic Medal Tally` WHERE `Silver` > 15;", "table_name": "2016 Olympic Medal Tally", "type": "comparison", "where_col": null, "wrong_sql": nul...
dbbench_sft_0593
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "INSERT INTO `Premier League 2008 Season Standings` (`Date`, `Opponent`, `Result`, `Score`, `Rank`, `Attendance`) VALUES ('Beta', 'Delta', 'Alpha', 'Epsilon', '90', '75');", "table_name": "Premier League 2008 S...
null
[ { "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.", "role": "system" }, { ...
null
dbbench_sft_0404
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": "Race 2\nTime", "error_reason": "special", "label": [ "Susan Moore", "Dorothy Young", "Kimberly Roberts" ], "sql": "SELECT `Athlete` FROM `World_Cup_Competition_Records` WHERE `Race 2\nTime` < 93;", "table_name": "World_Cup_Competition_Records", "type": "c...
dbbench_sft_0524
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "UPDATE `JR East Train Schedule` SET `Distance (km)` = '50', `Platforms` = '47', `From` = 'New Entry' WHERE `Name` = 'Mountain Route';", "table_name": "JR East Train Schedule", "type": "UPDATE", "where_col"...
dbbench_sft_0966
[ { "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 or to answer.\nyour...
{ "correct_val": "Relaxation", "error_col": null, "error_reason": null, "label": [ "2" ], "sql": "SELECT COUNT(*) FROM `Cell_Receptor_Database` WHERE `Effects` = 'Relaxation';", "table_name": "Cell_Receptor_Database", "type": "counting_retry", "where_col": "Effects", "wrong_sql": "SELECT COUNT(*...
dbbench_sft_0800
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "INSERT INTO `Tokyo Property Listings` (`Address`, `Price`, `Area\n(sq ft)`, `Year`, `Level`) VALUES ('Gamma', '12', '68', '88', '46');", "table_name": "Tokyo Property Listings", "type": "INSERT", "where_co...
dbbench_sft_0555
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "2022.0" ], "sql": "SELECT MIN(`Year`) FROM `Journal of Chemistry Publications` WHERE `Venue` = 'NeurIPS';", "table_name": "Journal of Chemistry Publications", "type": "aggregation-MIN", "where_col": null, "wrong_sql": nu...
dbbench_sft_0929
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "UPDATE `Telesat_Satellite_Fleet` SET `Uplink (MHz)` = '33.5' WHERE `Name` = 'SES-6';", "table_name": "Telesat_Satellite_Fleet", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null...
dbbench_sft_0286
[ { "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 or to answer.\nyour...
{ "correct_val": "948 Oak St", "error_col": null, "error_reason": null, "label": [ "1" ], "sql": "SELECT COUNT(*) FROM `Real Estate 2023` WHERE `Address` = '948 Oak St';", "table_name": "Real Estate 2023", "type": "counting_retry", "where_col": "Address", "wrong_sql": "SELECT COUNT(*) FROM `Real...
dbbench_sft_1096
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "43782" ], "sql": "SELECT `15 to 17` FROM `Population by Age Group and Region in Russia` WHERE `Region` = 'St. Petersburg';", "table_name": "Population by Age Group and Region in Russia", "type": "other", "where_col": null,...
null
[ { "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 or to answer.\nyour...
null
dbbench_sft_0374
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "565709.0" ], "sql": "SELECT SUM(`Students`) FROM `Americas Higher Education Data`;", "table_name": "Americas Higher Education Data", "type": "aggregation-SUM", "where_col": null, "wrong_sql": null, "wrong_val": null }
null
[ { "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 or to answer.\nyour...
null
dbbench_sft_1175
[ { "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 or to answer.\nyour...
{ "correct_val": "December 25, 1981", "error_col": null, "error_reason": null, "label": [ "1" ], "sql": "SELECT COUNT(*) FROM `Marine Corps Officers List` WHERE `To` = 'December 25, 1981';", "table_name": "Marine Corps Officers List", "type": "counting_retry", "where_col": "To", "wrong_sql": "SE...
dbbench_sft_0253
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "UPDATE `Actress_Filmography` SET `Box Office` = '19.1', `Release` = 'New Entry' WHERE `Title` = 'Rising Sun';", "table_name": "Actress_Filmography", "type": "UPDATE", "where_col": null, "wrong_sql": null...
dbbench_sft_0099
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "200.0" ], "sql": "SELECT MIN(`Distance (km)`) FROM `Railway Stations UK` WHERE `Name` = 'City Link';", "table_name": "Railway Stations UK", "type": "aggregation-MIN", "where_col": null, "wrong_sql": null, "wrong_val": ...
dbbench_sft_1113
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": "Start", "error_reason": "reserved", "label": [ "#27", "#72", "#17" ], "sql": "SELECT `Car` FROM `Indianapolis 500 History` WHERE `Start` > 17;", "table_name": "Indianapolis 500 History", "type": "comparison_error_recovery", "where_col": null, "wrong_s...
dbbench_sft_0245
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "UPDATE `Intelsat_Satellite_Fleet` SET `Status` = 'Updated Value', `Uplink (MHz)` = '94.1' WHERE `Name` = 'Intelsat-10';", "table_name": "Intelsat_Satellite_Fleet", "type": "UPDATE", "where_col": null, "w...
dbbench_sft_0743
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "29.0" ], "sql": "SELECT MAX(`Silver`) FROM `1996 Olympic Medal Tally` WHERE `Nation` = 'Belgium';", "table_name": "1996 Olympic Medal Tally", "type": "aggregation-MAX", "where_col": null, "wrong_sql": null, "wrong_val"...
dbbench_sft_0073
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": "To", "error_reason": "reserved", "label": [ "done" ], "sql": "UPDATE `Railway_Stations_UK` SET `To` = 'Updated Value', `No` = '34', `From` = 'Berlin' WHERE `Name` = 'Rajdhani Express';", "table_name": "Railway_Stations_UK", "type": "UPDATE_error_recovery", "whe...
dbbench_sft_0861
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": "Name", "error_reason": "reserved", "label": [ "done" ], "sql": "UPDATE `Americas Higher Education Data` SET `Score` = '28.1', `Students` = '51' WHERE `Name` = 'Stanford';", "table_name": "Americas Higher Education Data", "type": "UPDATE_error_recovery", "where_...
dbbench_sft_0644
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "UPDATE `FDA_Approved_Medications` SET `Number` = '43', `Type` = 'New Entry', `Dosage (mg)` = '25.4' WHERE `Name` = 'Aspirin';", "table_name": "FDA_Approved_Medications", "type": "UPDATE", "where_col": null...
dbbench_sft_0098
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "UPDATE `Alpine_Skiing_Athletes_Results` SET `Total\nTime` = '78.2' WHERE `Athlete` = 'Michael Harris';", "table_name": "Alpine_Skiing_Athletes_Results", "type": "UPDATE", "where_col": null, "wrong_sql": ...
dbbench_sft_1063
[ { "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 or to answer.\nyour...
{ "correct_val": "EMNLP", "error_col": null, "error_reason": null, "label": [ "4" ], "sql": "SELECT COUNT(*) FROM `Physics_Research_Papers` WHERE `Venue` = 'EMNLP';", "table_name": "Physics_Research_Papers", "type": "counting_retry", "where_col": "Venue", "wrong_sql": "SELECT COUNT(*) FROM `Phys...
dbbench_sft_0973
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "UPDATE `2004_Olympic_Medal_Tally` SET `Gold` = '70' WHERE `Nation` = 'Ireland';", "table_name": "2004_Olympic_Medal_Tally", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null }
dbbench_sft_0591
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": "Year", "error_reason": "reserved", "label": [ "Charles Torres et al.", "Karen King et al.", "Joshua Allen et al." ], "sql": "SELECT `Authors` FROM `Journal_of_Engineering_Publications` WHERE `Year` > 2011;", "table_name": "Journal_of_Engineering_Publication...
dbbench_sft_0325
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": "Race 1\nTime", "error_reason": "special", "label": [ "80.67" ], "sql": "SELECT MAX(`Race 1\nTime`) FROM `Cross-Country Athletes Results` WHERE `Athlete` = 'Michael Stewart';", "table_name": "Cross-Country Athletes Results", "type": "aggregation-MAX_error_recovery...
dbbench_fix16_10
[ { "content": "You are a database agent. Do not loop. Output exactly one action.", "role": "system" }, { "content": "If the task requests a final answer (not SQL), output Action: Answer once.", "role": "user" }, { "content": "Action: Answer\nFinal Answer: [\"none\"]", "role": "assista...
{ "correct_val": "", "error_col": "", "error_reason": "loop_fix_answer", "label": [], "sql": "", "table_name": "", "type": "other", "where_col": "", "wrong_sql": "", "wrong_val": "" }
dbbench_sft_0843
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "UPDATE `Southern Census Data` SET `15 to 17` = '62' WHERE `Region` = 'Moscow';", "table_name": "Southern Census Data", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null }
dbbench_sft_0883
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "Joshua Collins", "Patricia Miller", "Jennifer Roberts" ], "sql": "SELECT `Name` FROM `2018 General Election` WHERE `Percentage` > 44;", "table_name": "2018 General Election", "type": "comparison", "where_col": null...
dbbench_sft_1137
[ { "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 or to answer.\nyour...
{ "correct_val": "News", "error_col": null, "error_reason": null, "label": [ "1" ], "sql": "SELECT COUNT(*) FROM `Channel 4 Programming` WHERE `Type` = 'News';", "table_name": "Channel 4 Programming", "type": "counting_retry", "where_col": "Type", "wrong_sql": "SELECT COUNT(*) FROM `Channel 4 Pr...
dbbench_sft_0311
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "INSERT INTO `Summer Olympics Medal Count` (`Rank`, `Nation`, `Gold`, `Silver`, `Bronze`, `Total`) VALUES ('96', 'Delta', '7', '34', '90', '94');", "table_name": "Summer Olympics Medal Count", "type": "INSERT...
dbbench_sft_0503
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "done" ], "sql": "INSERT INTO `Railway Stations UK` (`No`, `Name`, `From`, `To`, `Distance (km)`, `Platforms`) VALUES ('16', 'Beta', 'Pakistan', 'Beta', '1', '63');", "table_name": "Railway Stations UK", "type": "INSERT", "...
null
[ { "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.", "role": "system" }, { ...
null
dbbench_sft_0346
[ { "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 or to answer.\nyour...
{ "correct_val": null, "error_col": null, "error_reason": null, "label": [ "6" ], "sql": "SELECT `Rank` FROM `World_Higher_Education_Data` WHERE `Country` = 'United Kingdom';", "table_name": "World_Higher_Education_Data", "type": "other", "where_col": null, "wrong_sql": null, "wrong_val": null...
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
12