messages
listlengths
2
2
metadata
dict
id
stringlengths
16
16
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Time is '7:00': set Type to Istanbul, Duration to 3.\nThe name of this table is BBC Programming, and the headers of this table are Time,Title,Duration,Type,Rating." }, { "role": "assistant", "content": "Final: UPDATE `BBC Programmi...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "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_1121
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Car is '#15': set Year to 95, Laps to 95, Qual to 78.1.\nThe name of this table is Race Results, and the headers of this table are Year,Car,Start,Qual,Rank,Finish,Laps." }, { "role": "assistant", "content": "Final: UPDATE `Race Res...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE", "table_name": "Race Results", "sql": "UPDATE `Race Results` SET `Year` = '95', `Laps` = '95', `Qual` = '78.1' WHERE `Car` = '#15';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0211
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '45' for 'Rank', 'Epsilon' for 'Island', '16.1' for 'Area\n(km²)', '8.4' for 'Area\n(sq mi)', 'Prague' for 'Country/Region'.\nThe name of this table is World Islands Database, and the headers of this table are Rank,Islan...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "World Islands Database", "sql": "INSERT INTO `World Islands Database` (`Rank`, `Island`, `Area\n(km²)`, `Area\n(sq mi)`, `Country/Region`) VALUES ('45', 'Epsilon', '16.1', '8.4', 'Prague');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0752
[ { "role": "user", "content": "[TASK=DB]\n[('Lewis',)]" }, { "role": "assistant", "content": "Final: SELECT `Island` FROM `Islands of Japan` ORDER BY `Rank` DESC LIMIT 1" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "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, "where_col": null, "error_col": "Rank", "error_reason": "reserved" }
dbbench_sft_1038
[ { "role": "user", "content": "[TASK=DB]\n1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'To' at line 1" }, { "role": "assistant", "content": "Final: UPDATE `Military Leaders Table` SET `Unit` = '...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE_error_recovery", "table_name": "Military Leaders Table", "sql": "UPDATE `Military Leaders Table` SET `Unit` = 'Patricia Roberts', `To` = 'Austin' WHERE `Name` = 'GEN Kenneth Lewis';", "label": [ "done" ], "wrong_sql": "UPDATE `Military Leaders Table` SET `Unit` = 'Patricia Roberts', To = 'Austin' WHERE `Name` = 'GEN Kenneth Lewis';", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "To", "error_reason": "reserved" }
dbbench_sft_0862
[ { "role": "user", "content": "[TASK=DB]\n[('London',), ('Singapore',), ('Mexico City',)]" }, { "role": "assistant", "content": "Final: SELECT `To` FROM `Indian Railways Train Schedule` WHERE `Platforms` > 3" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "comparison", "table_name": "Indian Railways Train Schedule", "sql": "SELECT `To` FROM `Indian Railways Train Schedule` WHERE `Platforms` > 3;", "label": [ "London", "Singapore", "Mexico City" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0234
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Athlete is 'Dorothy Ramirez': set Race 1\nTime to 23.8, Event to Karen Smith, Total\nTime to 52.2.\nThe name of this table is Luge Athletes Results, and the headers of this table are Athlete,Event,Race 1\nTime,Race 2\nTime,Total\nTime,Total\nR...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE", "table_name": "Luge Athletes Results", "sql": "UPDATE `Luge Athletes Results` SET `Race 1\nTime` = '23.8', `Event` = 'Karen Smith', `Total\nTime` = '52.2' WHERE `Athlete` = 'Dorothy Ramirez';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0999
[ { "role": "user", "content": "[TASK=DB]\n[(27.0,)]" }, { "role": "assistant", "content": "Final: SELECT MAX(`Level`) FROM `London_Property_Listings`" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "aggregation-MAX", "table_name": "London_Property_Listings", "sql": "SELECT MAX(`Level`) FROM `London_Property_Listings`;", "label": [ "27.0" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0114
[ { "role": "user", "content": "[TASK=DB]\n[('3',)]" }, { "role": "assistant", "content": "Final: SELECT `Gold` FROM `2012_Olympic_Medal_Tally` WHERE `Nation` = 'Netherlands'" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "other_retry", "table_name": "2012_Olympic_Medal_Tally", "sql": "SELECT `Gold` FROM `2012_Olympic_Medal_Tally` WHERE `Nation` = 'Netherlands';", "label": [ "3" ], "wrong_sql": "SELECT `Gold` FROM `2012_Olympic_Medal_Tally` WHERE `Nation` = 'Netherlandss';", "wrong_val": "Netherlandss", "correct_val": "Netherlands", "where_col": "Nation", "error_col": null, "error_reason": null }
dbbench_sft_0089
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Region is 'Kazan': set Population to 52, 15 to 17 to 23, 20 to 24 to 7.\nThe name of this table is Population_by_Age_Group_and_Region_in_China, and the headers of this table are Region,Population,15 to 17,18 to 19,20 to 24." }, { "role...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE", "table_name": "Population_by_Age_Group_and_Region_in_China", "sql": "UPDATE `Population_by_Age_Group_and_Region_in_China` SET `Population` = '52', `15 to 17` = '23', `20 to 24` = '7' WHERE `Region` = 'Kazan';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0889
[ { "role": "user", "content": "[TASK=DB]\n[('#8',), ('#76',), ('#72',)]" }, { "role": "assistant", "content": "Final: SELECT `Car` FROM `Indianapolis 500 History` WHERE `Rank` > 16" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "comparison_error_recovery", "table_name": "Indianapolis 500 History", "sql": "SELECT `Car` FROM `Indianapolis 500 History` WHERE `Rank` > 16;", "label": [ "#8", "#76", "#72" ], "wrong_sql": "SELECT `Car` FROM `Indianapolis 500 History` WHERE Rank > 16;", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Rank", "error_reason": "reserved" }
dbbench_sft_0207
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Release is 'April 25, 2003': set Format to Moscow.\nThe name of this table is Queen Discography, and the headers of this table are Release,Title,Format,Label,No." }, { "role": "assistant", "content": "Final: UPDATE `Queen Discograp...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE", "table_name": "Queen Discography", "sql": "UPDATE `Queen Discography` SET `Format` = 'Moscow' WHERE `Release` = 'April 25, 2003';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0293
[ { "role": "user", "content": "[TASK=DB]\n1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Name' at line 1" }, { "role": "assistant", "content": "Final: INSERT INTO `North_Carolina_Election_Results...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT_error_recovery", "table_name": "North_Carolina_Election_Results", "sql": "INSERT INTO `North_Carolina_Election_Results` (`Name`, `Party`, `Votes`, `Percentage`, `Status`) VALUES ('Gamma', 'United States', '20', '21.5', 'Beta');", "label": [ "done" ], "wrong_sql": "INSERT INTO `North_Carolina_Election_Results` (Name, `Party`, `Votes`, `Percentage`, `Status`) VALUES ('Gamma', 'United States', '20', '21.5', 'Beta');", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Name", "error_reason": "reserved" }
dbbench_sft_0650
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Name is 'Mountain Route': set Distance (km) to 84, No to 79, To to Updated Value.\nThe name of this table is Railway Stations France, and the headers of this table are No,Name,From,To,Distance (km),Platforms." }, { "role": "assistant",...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE", "table_name": "Railway Stations France", "sql": "UPDATE `Railway Stations France` SET `Distance (km)` = '84', `No` = '79', `To` = 'Updated Value' WHERE `Name` = 'Mountain Route';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0336
[ { "role": "user", "content": "[TASK=DB]\n1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Release' at line 1" }, { "role": "assistant", "content": "Final: INSERT INTO `Led Zeppelin Discography` (`...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT_error_recovery", "table_name": "Led Zeppelin Discography", "sql": "INSERT INTO `Led Zeppelin Discography` (`Release`, `Title`, `Format`, `Label`, `No`) VALUES ('Warsaw', 'Hungary', 'George Robinson', 'Richard Clark', '56');", "label": [ "done" ], "wrong_sql": "INSERT INTO `Led Zeppelin Discography` (Release, `Title`, `Format`, `Label`, `No`) VALUES ('Warsaw', 'Hungary', 'George Robinson', 'Richard Clark', '56');", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Release", "error_reason": "reserved" }
dbbench_sft_0324
[ { "role": "user", "content": "[TASK=DB]\n[('11',)]" }, { "role": "assistant", "content": "Final: SELECT `Level` FROM `Paris Property Listings` WHERE `Address` = '285 Park St'" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "other_retry", "table_name": "Paris Property Listings", "sql": "SELECT `Level` FROM `Paris Property Listings` WHERE `Address` = '285 Park St';", "label": [ "11" ], "wrong_sql": "SELECT `Level` FROM `Paris Property Listings` WHERE `Address` = '285 park st';", "wrong_val": "285 park st", "correct_val": "285 Park St", "where_col": "Address", "error_col": null, "error_reason": null }
dbbench_sft_0343
[ { "role": "user", "content": "[TASK=DB]\n[('Hydraulics',), ('1:23:18.420',), ('Hydraulics',)]" }, { "role": "assistant", "content": "Final: SELECT `Time/Retired` FROM `2017 Formula One Season` WHERE `Points` < 8" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "comparison_error_recovery", "table_name": "2017 Formula One Season", "sql": "SELECT `Time/Retired` FROM `2017 Formula One Season` WHERE `Points` < 8;", "label": [ "Hydraulics", "1:23:18.420", "Hydraulics" ], "wrong_sql": "SELECT Time/Retired FROM `2017 Formula One Season` WHERE `Points` < 8;", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Time/Retired", "error_reason": "special" }
dbbench_sft_1127
[ { "role": "user", "content": "[TASK=DB]\n[('Neuron',)]" }, { "role": "assistant", "content": "Final: SELECT `Cell type` FROM `Pharmacological Data Table` WHERE `Organ/System` = 'Kidney'" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "other", "table_name": "Pharmacological Data Table", "sql": "SELECT `Cell type` FROM `Pharmacological Data Table` WHERE `Organ/System` = 'Kidney';", "label": [ "Neuron" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0337
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Release is 'October 28, 2023': set Format to San Jose, Title to New Entry, Label to Deborah Jackson.\nThe name of this table is Nirvana Discography, and the headers of this table are Release,Title,Format,Label,No." }, { "role": "assist...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE", "table_name": "Nirvana Discography", "sql": "UPDATE `Nirvana Discography` SET `Format` = 'San Jose', `Title` = 'New Entry', `Label` = 'Deborah Jackson' WHERE `Release` = 'October 28, 2023';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0939
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Beta' for 'Name', 'Delta' for 'Date', 'Alpha' for 'Type', '2' for 'Number', '89.6' for 'Dosage (mg)'.\nThe name of this table is FDA Approved Medications, and the headers of this table are Name,Date,Type,Number,Dosage (...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "FDA Approved Medications", "sql": "INSERT INTO `FDA Approved Medications` (`Name`, `Date`, `Type`, `Number`, `Dosage (mg)`) VALUES ('Beta', 'Delta', 'Alpha', '2', '89.6');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0712
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Alpha' for 'Name', 'Alpha' for 'Party', '3' for 'Votes', '22.6' for 'Percentage', 'South Africa' for 'Status'.\nThe name of this table is 2004_General_Election, and the headers of this table are Name,Party,Votes,Percent...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "2004_General_Election", "sql": "INSERT INTO `2004_General_Election` (`Name`, `Party`, `Votes`, `Percentage`, `Status`) VALUES ('Alpha', 'Alpha', '3', '22.6', 'South Africa');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0314
[ { "role": "user", "content": "[TASK=DB]\n1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Country/Region' at line 1" }, { "role": "assistant", "content": "Final: UPDATE `Islands_of_Indonesia` SET ...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE_error_recovery", "table_name": "Islands_of_Indonesia", "sql": "UPDATE `Islands_of_Indonesia` SET `Rank` = '29', `Country/Region` = 'Warsaw' WHERE `Island` = 'Lewis';", "label": [ "done" ], "wrong_sql": "UPDATE `Islands_of_Indonesia` SET `Rank` = '29', Country/Region = 'Warsaw' WHERE `Island` = 'Lewis';", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Country/Region", "error_reason": "special" }
dbbench_sft_0264
[ { "role": "user", "content": "[TASK=DB]\n1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Box Office' at line 1" }, { "role": "assistant", "content": "Final: INSERT INTO `Quentin_Tarantino_Filmogr...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT_error_recovery", "table_name": "Quentin_Tarantino_Filmography", "sql": "INSERT INTO `Quentin_Tarantino_Filmography` (`Year`, `Title`, `Genre`, `Box Office`, `Rating`, `Release`) VALUES ('15', 'Alpha', 'Delta', '91.6', '92.0', 'Gamma');", "label": [ "done" ], "wrong_sql": "INSERT INTO `Quentin_Tarantino_Filmography` (`Year`, `Title`, `Genre`, Box Office, `Rating`, `Release`) VALUES ('15', 'Alpha', 'Delta', '91.6', '92.0', 'Gamma');", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Box Office", "error_reason": "special" }
dbbench_sft_0391
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Delta' for 'Address', '56' for 'Price', '2' for 'Area\n(sq ft)', '99' for 'Year', '25' for 'Level'.\nThe name of this table is Paris Property Listings, and the headers of this table are Address,Price,Area\n(sq ft),Year,...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "Paris Property Listings", "sql": "INSERT INTO `Paris Property Listings` (`Address`, `Price`, `Area\n(sq ft)`, `Year`, `Level`) VALUES ('Delta', '56', '2', '99', '25');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0638
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Release is 'January 27, 2006': set Title to Sydney, Label to Nancy Perez.\nThe name of this table is Pink Floyd Discography, and the headers of this table are Release,Title,Format,Label,No." }, { "role": "assistant", "content": "Fi...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE", "table_name": "Pink Floyd Discography", "sql": "UPDATE `Pink Floyd Discography` SET `Title` = 'Sydney', `Label` = 'Nancy Perez' WHERE `Release` = 'January 27, 2006';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0258
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '71' for 'No', 'Beta' for 'Driver', 'Epsilon' for 'Time/Retired', '55' for 'Laps', '41.7' for 'Points'.\nThe name of this table is 2009 Formula One Season, and the headers of this table are No,Driver,Time/Retired,Laps,Po...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "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": null, "error_col": null, "error_reason": null }
dbbench_sft_1110
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Date is 'March 15, 1964': set Rank to 9, Result to Updated Value, Opponent to Sydney.\nThe name of this table is National League 2012 Season Standings, and the headers of this table are Date,Opponent,Result,Score,Rank,Attendance." }, { ...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE", "table_name": "National League 2012 Season Standings", "sql": "UPDATE `National League 2012 Season Standings` SET `Rank` = '9', `Result` = 'Updated Value', `Opponent` = 'Sydney' WHERE `Date` = 'March 15, 1964';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0153
[ { "role": "user", "content": "[TASK=DB]\n1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Release' at line 1" }, { "role": "assistant", "content": "Final: UPDATE `Ridley_Scott_Filmography` SET `Bo...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE_error_recovery", "table_name": "Ridley_Scott_Filmography", "sql": "UPDATE `Ridley_Scott_Filmography` SET `Box Office` = '83.7', `Release` = 'Updated Value', `Genre` = 'Updated Value' WHERE `Title` = 'Dark Waters';", "label": [ "done" ], "wrong_sql": "UPDATE `Ridley_Scott_Filmography` SET `Box Office` = '83.7', Release = 'Updated Value', `Genre` = 'Updated Value' WHERE `Title` = 'Dark Waters';", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Release", "error_reason": "reserved" }
dbbench_sft_0075
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Delta' for 'Date', 'Delta' for 'Opponent', 'Seoul' for 'Result', 'Beta' for 'Score', '43' for 'Rank', '34' for 'Attendance'.\nThe name of this table is Premier League 2008 Season Standings, and the headers of this table...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "Premier League 2008 Season Standings", "sql": "INSERT INTO `Premier League 2008 Season Standings` (`Date`, `Opponent`, `Result`, `Score`, `Rank`, `Attendance`) VALUES ('Delta', 'Delta', 'Seoul', 'Beta', '43', '34');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0813
[ { "role": "user", "content": "[TASK=DB]\n[('BG Linda Taylor',)]" }, { "role": "assistant", "content": "Final: SELECT `Name` FROM `Military Leaders Table` WHERE `From` = 'January 20, 1979'" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "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": null, "correct_val": null, "where_col": null, "error_col": "Name", "error_reason": "reserved" }
dbbench_sft_0304
[ { "role": "user", "content": "[TASK=DB]\n[('London',)]" }, { "role": "assistant", "content": "Final: SELECT `From` FROM `Amtrak Train Schedule` WHERE `To` = 'San Diego'" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "other", "table_name": "Amtrak Train Schedule", "sql": "SELECT `From` FROM `Amtrak Train Schedule` WHERE `To` = 'San Diego';", "label": [ "London" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0587
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Athlete is 'Barbara Brown': set Total\nTime to 81.5.\nThe name of this table is Biathlon Athletes Results, and the headers of this table are Athlete,Event,Race 1\nTime,Race 2\nTime,Total\nTime,Total\nRank." }, { "role": "assistant", ...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE", "table_name": "Biathlon Athletes Results", "sql": "UPDATE `Biathlon Athletes Results` SET `Total\nTime` = '81.5' WHERE `Athlete` = 'Barbara Brown';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0543
[ { "role": "user", "content": "[TASK=DB]\n[(51.0,)]" }, { "role": "assistant", "content": "Final: SELECT SUM(`Rank`) FROM `Division One 2010 Season Standings` WHERE `Result` = 'Draw'" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "aggregation-SUM_retry", "table_name": "Division One 2010 Season Standings", "sql": "SELECT SUM(`Rank`) FROM `Division One 2010 Season Standings` WHERE `Result` = 'Draw';", "label": [ "51.0" ], "wrong_sql": "SELECT SUM(`Rank`) FROM `Division One 2010 Season Standings` WHERE `Result` = 'Draw ';", "wrong_val": "Draw ", "correct_val": "Draw", "where_col": "Result", "error_col": null, "error_reason": null }
dbbench_sft_0663
[ { "role": "user", "content": "[TASK=DB]\n[('Chhatisgarh Express',)]" }, { "role": "assistant", "content": "Final: SELECT `Name` FROM `Railway Stations UK` WHERE `From` = 'Paris'" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "other", "table_name": "Railway Stations UK", "sql": "SELECT `Name` FROM `Railway Stations UK` WHERE `From` = 'Paris';", "label": [ "Chhatisgarh Express" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0872
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Name is 'Intelsat-26': set Status to Sydney, Downlink (MHz) to 34.5.\nThe name of this table is Satellite_Communications_Data, and the headers of this table are Name,Uplink (MHz),Downlink (MHz),System,Status." }, { "role": "assistant",...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE", "table_name": "Satellite_Communications_Data", "sql": "UPDATE `Satellite_Communications_Data` SET `Status` = 'Sydney', `Downlink (MHz)` = '34.5' WHERE `Name` = 'Intelsat-26';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1078
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '37' for 'Rank', 'Delta' for 'Island', '85.3' for 'Area\n(km²)', '54.9' for 'Area\n(sq mi)', 'Epsilon' for 'Country/Region'.\nThe name of this table is World Islands Database, and the headers of this table are Rank,Islan...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "World Islands Database", "sql": "INSERT INTO `World Islands Database` (`Rank`, `Island`, `Area\n(km²)`, `Area\n(sq mi)`, `Country/Region`) VALUES ('37', 'Delta', '85.3', '54.9', 'Epsilon');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1182
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Title is 'Revisiting Clustering': set Year to 42, Citations to 56, Authors to New Entry.\nThe name of this table is Journal of Economics Publications, and the headers of this table are Title,Year,Citations,Authors,Venue." }, { "role": ...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "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": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0104
[ { "role": "user", "content": "[TASK=DB]\n[(139.0,)]" }, { "role": "assistant", "content": "Final: SELECT MIN(`Distance (km)`) FROM `Railway Stations UK`" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "aggregation-MIN", "table_name": "Railway Stations UK", "sql": "SELECT MIN(`Distance (km)`) FROM `Railway Stations UK`;", "label": [ "139.0" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0328
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '92' for 'Year', 'Delta' for 'Title', 'Edinburgh' for 'Genre', '82.7' for 'Box Office', '35.1' for 'Rating', 'Robert Smith' for 'Release'.\nThe name of this table is Comedy Films 2000s, and the headers of this table are ...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "Comedy Films 2000s", "sql": "INSERT INTO `Comedy Films 2000s` (`Year`, `Title`, `Genre`, `Box Office`, `Rating`, `Release`) VALUES ('92', 'Delta', 'Edinburgh', '82.7', '35.1', 'Robert Smith');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1085
[ { "role": "user", "content": "[TASK=DB]\n[('125 Hill St',)]" }, { "role": "assistant", "content": "Final: SELECT `Address` FROM `Real Estate 2021` ORDER BY `Price` DESC LIMIT 1" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "ranking", "table_name": "Real Estate 2021", "sql": "SELECT `Address` FROM `Real Estate 2021` ORDER BY `Price` DESC LIMIT 1;", "label": [ "125 Hill St" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0662
[ { "role": "user", "content": "[TASK=DB]\n[('25',)]" }, { "role": "assistant", "content": "Final: SELECT `Dosage (mg)` FROM `Drug Approval Database` WHERE `Type` = 'Patch'" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "other_error_recovery", "table_name": "Drug Approval Database", "sql": "SELECT `Dosage (mg)` FROM `Drug Approval Database` WHERE `Type` = 'Patch';", "label": [ "25" ], "wrong_sql": "SELECT Dosage (mg) FROM `Drug Approval Database` WHERE `Type` = 'Patch';", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Dosage (mg)", "error_reason": "special" }
dbbench_sft_0183
[ { "role": "user", "content": "[TASK=DB]\n[(2,)]" }, { "role": "assistant", "content": "Final: SELECT COUNT(*) FROM `University Rankings 2019` WHERE `Country` = 'United States'" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "counting_retry", "table_name": "University Rankings 2019", "sql": "SELECT COUNT(*) FROM `University Rankings 2019` WHERE `Country` = 'United States';", "label": [ "2" ], "wrong_sql": "SELECT COUNT(*) FROM `University Rankings 2019` WHERE `Country` = 'United States ';", "wrong_val": "United States ", "correct_val": "United States", "where_col": "Country", "error_col": null, "error_reason": null }
dbbench_sft_1039
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Date is 'December 20, 2016': set Score to Updated Value, Venue to Hong Kong.\nThe name of this table is Spain Match History, and the headers of this table are Date,Venue,Opponent,Score,Competition." }, { "role": "assistant", "conte...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE", "table_name": "Spain Match History", "sql": "UPDATE `Spain Match History` SET `Score` = 'Updated Value', `Venue` = 'Hong Kong' WHERE `Date` = 'December 20, 2016';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0708
[ { "role": "user", "content": "[TASK=DB]\n[('Moscow',), ('Nizhny Novgorod',)]" }, { "role": "assistant", "content": "Final: SELECT `Region` FROM `Population_by_Age_Group_and_Region_in_France` WHERE `20 to 24` > 37764" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "comparison", "table_name": "Population_by_Age_Group_and_Region_in_France", "sql": "SELECT `Region` FROM `Population_by_Age_Group_and_Region_in_France` WHERE `20 to 24` > 37764;", "label": [ "Moscow", "Nizhny Novgorod" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0486
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Release is 'June 2, 2003': set Label to Oslo, Format to Updated Value.\nThe name of this table is Pink Floyd Discography, and the headers of this table are Release,Title,Format,Label,No." }, { "role": "assistant", "content": "Final...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE", "table_name": "Pink Floyd Discography", "sql": "UPDATE `Pink Floyd Discography` SET `Label` = 'Oslo', `Format` = 'Updated Value' WHERE `Release` = 'June 2, 2003';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0891
[ { "role": "user", "content": "[TASK=DB]\n1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Race 1\nTime' at line 1" }, { "role": "assistant", "content": "Final: UPDATE `World Cup Competition Record...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE_error_recovery", "table_name": "World Cup Competition Records", "sql": "UPDATE `World Cup Competition Records` SET `Race 2\nTime` = '14.2', `Event` = 'Vienna', `Race 1\nTime` = '70.0' WHERE `Athlete` = 'Richard Campbell';", "label": [ "done" ], "wrong_sql": "UPDATE `World Cup Competition Records` SET `Race 2\nTime` = '14.2', `Event` = 'Vienna', Race 1\nTime = '70.0' WHERE `Athlete` = 'Richard Campbell';", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Race 1\nTime", "error_reason": "special" }
dbbench_sft_0280
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Time is '11:00': set Type to Amsterdam.\nThe name of this table is TV Schedule Winter 2024, and the headers of this table are Time,Title,Duration,Type,Rating." }, { "role": "assistant", "content": "Final: UPDATE `TV Schedule Winter...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE", "table_name": "TV Schedule Winter 2024", "sql": "UPDATE `TV Schedule Winter 2024` SET `Type` = 'Amsterdam' WHERE `Time` = '11:00';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0434
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Greece' for 'Athlete', 'Alpha' for 'Event', '23.9' for 'Race 1\nTime', '39.0' for 'Race 2\nTime', '57.3' for 'Total\nTime', '12' for 'Total\nRank'.\nThe name of this table is World Cup Competition Records, and the heade...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "World Cup Competition Records", "sql": "INSERT INTO `World Cup Competition Records` (`Athlete`, `Event`, `Race 1\nTime`, `Race 2\nTime`, `Total\nTime`, `Total\nRank`) VALUES ('Greece', 'Alpha', '23.9', '39.0', '57.3', '12');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0601
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'India' for 'Region', '87' for 'Population', '91' for '15 to 17', '93' for '18 to 19', '54' for '20 to 24'.\nThe name of this table is Western Census Data, and the headers of this table are Region,Population,15 to 17,18 ...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "Western Census Data", "sql": "INSERT INTO `Western Census Data` (`Region`, `Population`, `15 to 17`, `18 to 19`, `20 to 24`) VALUES ('India', '87', '91', '93', '54');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0998
[ { "role": "user", "content": "[TASK=DB]\n[(72.0,)]" }, { "role": "assistant", "content": "Final: SELECT MIN(`Laps`) FROM `2007_Formula_One_Season` WHERE `Driver` = 'Donna Moore'" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "aggregation-MIN", "table_name": "2007_Formula_One_Season", "sql": "SELECT MIN(`Laps`) FROM `2007_Formula_One_Season` WHERE `Driver` = 'Donna Moore';", "label": [ "72.0" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0431
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Gamma' for 'Cell type', 'United Arab Emirates' for 'Organ/System', 'Beta' for 'Activators ligands --> Gq-GPCRs', 'Delta' for 'Effects'.\nThe name of this table is Pharmacological Data Table, and the headers of this tabl...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "Pharmacological Data Table", "sql": "INSERT INTO `Pharmacological Data Table` (`Cell type`, `Organ/System`, `Activators ligands --> Gq-GPCRs`, `Effects`) VALUES ('Gamma', 'United Arab Emirates', 'Beta', 'Delta');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0718
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Epsilon' for 'Name', '35.7' for 'Uplink (MHz)', '30.5' for 'Downlink (MHz)', 'Alpha' for 'System', 'Michelle Roberts' for 'Status'.\nThe name of this table is Telesat Satellite Fleet, and the headers of this table are N...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "Telesat Satellite Fleet", "sql": "INSERT INTO `Telesat Satellite Fleet` (`Name`, `Uplink (MHz)`, `Downlink (MHz)`, `System`, `Status`) VALUES ('Epsilon', '35.7', '30.5', 'Alpha', 'Michelle Roberts');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0166
[ { "role": "user", "content": "[TASK=DB]\n[(2,)]" }, { "role": "assistant", "content": "Final: SELECT COUNT(*) FROM `Viasat Satellite Fleet` WHERE `System` = 'L-Band'" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "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-Band", "where_col": "System", "error_col": null, "error_reason": null }
dbbench_sft_1119
[ { "role": "user", "content": "[TASK=DB]\n[('Late Night',)]" }, { "role": "assistant", "content": "Final: SELECT `Title` FROM `BBC Programming` ORDER BY `Rating` ASC LIMIT 1" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "ranking", "table_name": "BBC Programming", "sql": "SELECT `Title` FROM `BBC Programming` ORDER BY `Rating` ASC LIMIT 1;", "label": [ "Late Night" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0414
[ { "role": "user", "content": "[TASK=DB]\n[('MG Emily Wilson',)]" }, { "role": "assistant", "content": "Final: SELECT `Name` FROM `Military_Leaders_Table` WHERE `Position` = 'Commander'" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "other_retry", "table_name": "Military_Leaders_Table", "sql": "SELECT `Name` FROM `Military_Leaders_Table` WHERE `Position` = 'Commander';", "label": [ "MG Emily Wilson" ], "wrong_sql": "SELECT `Name` FROM `Military_Leaders_Table` WHERE `Position` = 'COMMANDER';", "wrong_val": "COMMANDER", "correct_val": "Commander", "where_col": "Position", "error_col": null, "error_reason": null }
dbbench_sft_0512
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Alpha' for 'Date', 'Hungary' for 'Venue', 'Beta' for 'Opponent', 'Beta' for 'Score', 'Beta' for 'Competition'.\nThe name of this table is Argentina Match History, and the headers of this table are Date,Venue,Opponent,Sc...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "Argentina Match History", "sql": "INSERT INTO `Argentina Match History` (`Date`, `Venue`, `Opponent`, `Score`, `Competition`) VALUES ('Alpha', 'Hungary', 'Beta', 'Beta', 'Beta');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0997
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Beta' for 'Region', '7' for 'Population', '72' for '15 to 17', '70' for '18 to 19', '30' for '20 to 24'.\nThe name of this table is Western Census Data, and the headers of this table are Region,Population,15 to 17,18 to...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "Western Census Data", "sql": "INSERT INTO `Western Census Data` (`Region`, `Population`, `15 to 17`, `18 to 19`, `20 to 24`) VALUES ('Beta', '7', '72', '70', '30');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0685
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Alpha' for 'Name', 'Gamma' for 'Date', 'Alpha' for 'Type', '22' for 'Number', '73.3' for 'Dosage (mg)'.\nThe name of this table is Drug Approval Database, and the headers of this table are Name,Date,Type,Number,Dosage (...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "Drug Approval Database", "sql": "INSERT INTO `Drug Approval Database` (`Name`, `Date`, `Type`, `Number`, `Dosage (mg)`) VALUES ('Alpha', 'Gamma', 'Alpha', '22', '73.3');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0987
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Gamma' for 'Name', '35.0' for 'Uplink (MHz)', '82.1' for 'Downlink (MHz)', 'Delta' for 'System', 'Beta' for 'Status'.\nThe name of this table is Satellite Communications Data, and the headers of this table are Name,Upli...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "Satellite Communications Data", "sql": "INSERT INTO `Satellite Communications Data` (`Name`, `Uplink (MHz)`, `Downlink (MHz)`, `System`, `Status`) VALUES ('Gamma', '35.0', '82.1', 'Delta', 'Beta');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1198
[ { "role": "user", "content": "[TASK=DB]\n[(30.0,)]" }, { "role": "assistant", "content": "Final: SELECT MIN(`Duration`) FROM `TV Schedule Spring 2023`" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "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_0205
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Region is 'Nizhny Novgorod': set 20 to 24 to 29.\nThe name of this table is Population by Age Group and Region in India, and the headers of this table are Region,Population,15 to 17,18 to 19,20 to 24." }, { "role": "assistant", "co...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE", "table_name": "Population by Age Group and Region in India", "sql": "UPDATE `Population by Age Group and Region in India` SET `20 to 24` = '29' WHERE `Region` = 'Nizhny Novgorod';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1143
[ { "role": "user", "content": "[TASK=DB]\n[(61.0,)]" }, { "role": "assistant", "content": "Final: SELECT MAX(`Laps`) FROM `F1_Spa_Grand_Prix_Results`" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "aggregation-MAX", "table_name": "F1_Spa_Grand_Prix_Results", "sql": "SELECT MAX(`Laps`) FROM `F1_Spa_Grand_Prix_Results`;", "label": [ "61.0" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0737
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Delta' for 'Cell type', 'Delta' for 'Organ/System', 'Tokyo' for 'Activators ligands --> Gq-GPCRs', 'Copenhagen' for 'Effects'.\nThe name of this table is Pharmacological Data Table, and the headers of this table are Cel...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "Pharmacological Data Table", "sql": "INSERT INTO `Pharmacological Data Table` (`Cell type`, `Organ/System`, `Activators ligands --> Gq-GPCRs`, `Effects`) VALUES ('Delta', 'Delta', 'Tokyo', 'Copenhagen');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0252
[ { "role": "user", "content": "[TASK=DB]\n[(3381.0,)]" }, { "role": "assistant", "content": "Final: SELECT SUM(`Citations`) FROM `Engineering Research Papers`" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "aggregation-SUM", "table_name": "Engineering Research Papers", "sql": "SELECT SUM(`Citations`) FROM `Engineering Research Papers`;", "label": [ "3381.0" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0507
[ { "role": "user", "content": "[TASK=DB]\n[('17',)]" }, { "role": "assistant", "content": "Final: SELECT `Start` FROM `Indianapolis 500 History` WHERE `Car` = '#24'" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "other_error_recovery", "table_name": "Indianapolis 500 History", "sql": "SELECT `Start` FROM `Indianapolis 500 History` WHERE `Car` = '#24';", "label": [ "17" ], "wrong_sql": "SELECT Start FROM `Indianapolis 500 History` WHERE `Car` = '#24';", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Start", "error_reason": "reserved" }
dbbench_sft_0375
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'San Jose' for 'Region', '69' for 'Population', '10' for '15 to 17', '87' for '18 to 19', '20' for '20 to 24'.\nThe name of this table is Population by Age Group and Region in France, and the headers of this table are Re...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "Population by Age Group and Region in France", "sql": "INSERT INTO `Population by Age Group and Region in France` (`Region`, `Population`, `15 to 17`, `18 to 19`, `20 to 24`) VALUES ('San Jose', '69', '10', '87', '20');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1178
[ { "role": "user", "content": "[TASK=DB]\n[('0',)]" }, { "role": "assistant", "content": "Final: SELECT `Bronze` FROM `1984_Olympic_Medal_Tally` WHERE `Nation` = 'Denmark'" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "other_retry", "table_name": "1984_Olympic_Medal_Tally", "sql": "SELECT `Bronze` FROM `1984_Olympic_Medal_Tally` WHERE `Nation` = 'Denmark';", "label": [ "0" ], "wrong_sql": "SELECT `Bronze` FROM `1984_Olympic_Medal_Tally` WHERE `Nation` = 'Denmark ';", "wrong_val": "Denmark ", "correct_val": "Denmark", "where_col": "Nation", "error_col": null, "error_reason": null }
dbbench_sft_0126
[ { "role": "user", "content": "[TASK=DB]\n[(2022.0,)]" }, { "role": "assistant", "content": "Final: SELECT MIN(`Year`) FROM `Journal of Chemistry Publications` WHERE `Venue` = 'NeurIPS'" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "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, "error_reason": null }
dbbench_sft_0555
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Name is 'Aspirin': set Number to 46, Date to Updated Value, Type to Updated Value.\nThe name of this table is FDA Approved Medications, and the headers of this table are Name,Date,Type,Number,Dosage (mg)." }, { "role": "assistant", ...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE", "table_name": "FDA Approved Medications", "sql": "UPDATE `FDA Approved Medications` SET `Number` = '46', `Date` = 'Updated Value', `Type` = 'Updated Value' WHERE `Name` = 'Aspirin';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0977
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Island is 'Cebu': set Rank to 38, Area\n(km²) to 61.0, Country/Region to Updated Value.\nThe name of this table is Islands_of_Greece, and the headers of this table are Rank,Island,Area\n(km²),Area\n(sq mi),Country/Region." }, { "role":...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE", "table_name": "Islands_of_Greece", "sql": "UPDATE `Islands_of_Greece` SET `Rank` = '38', `Area\n(km²)` = '61.0', `Country/Region` = 'Updated Value' WHERE `Island` = 'Cebu';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0024
[ { "role": "user", "content": "[TASK=DB]\n1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Release' at line 1" }, { "role": "assistant", "content": "Final: INSERT INTO `Actress Filmography` (`Year`...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT_error_recovery", "table_name": "Actress Filmography", "sql": "INSERT INTO `Actress Filmography` (`Year`, `Title`, `Genre`, `Box Office`, `Rating`, `Release`) VALUES ('100', 'Gamma', 'Alpha', '33.3', '95.6', 'Epsilon');", "label": [ "done" ], "wrong_sql": "INSERT INTO `Actress Filmography` (`Year`, `Title`, `Genre`, `Box Office`, `Rating`, Release) VALUES ('100', 'Gamma', 'Alpha', '33.3', '95.6', 'Epsilon');", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Release", "error_reason": "reserved" }
dbbench_sft_0165
[ { "role": "user", "content": "[TASK=DB]\n[(308.1,)]" }, { "role": "assistant", "content": "Final: SELECT SUM(`Percentage`) FROM `California Election Results`" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "aggregation-SUM", "table_name": "California Election Results", "sql": "SELECT SUM(`Percentage`) FROM `California Election Results`;", "label": [ "308.1" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0927
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Address is '649 Main St': set Level to 10, Area\n(sq ft) to 42, Year to 90.\nThe name of this table is Sydney Property Listings, and the headers of this table are Address,Price,Area\n(sq ft),Year,Level." }, { "role": "assistant", "...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE", "table_name": "Sydney Property Listings", "sql": "UPDATE `Sydney Property Listings` SET `Level` = '10', `Area\n(sq ft)` = '42', `Year` = '90' WHERE `Address` = '649 Main St';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0633
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Gamma' for 'Date', 'Greece' for 'Opponent', 'Alpha' for 'Result', 'Delta' for 'Score', '54' for 'Rank', '66' for 'Attendance'.\nThe name of this table is Wolves Season Results, and the headers of this table are Date,Opp...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "Wolves Season Results", "sql": "INSERT INTO `Wolves Season Results` (`Date`, `Opponent`, `Result`, `Score`, `Rank`, `Attendance`) VALUES ('Gamma', 'Greece', 'Alpha', 'Delta', '54', '66');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0873
[ { "role": "user", "content": "[TASK=DB]\n[('11',)]" }, { "role": "assistant", "content": "Final: SELECT `Rank` FROM `2004 Olympic Medal Tally` WHERE `Nation` = 'Kenya'" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "other_retry", "table_name": "2004 Olympic Medal Tally", "sql": "SELECT `Rank` FROM `2004 Olympic Medal Tally` WHERE `Nation` = 'Kenya';", "label": [ "11" ], "wrong_sql": "SELECT `Rank` FROM `2004 Olympic Medal Tally` WHERE `Nation` = 'Kenya ';", "wrong_val": "Kenya ", "correct_val": "Kenya", "where_col": "Nation", "error_col": null, "error_reason": null }
dbbench_sft_0146
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Epsilon' for 'Cell type', 'Beta' for 'Organ/System', 'Delta' for 'Activators ligands --> Gq-GPCRs', 'Delta' for 'Effects'.\nThe name of this table is Pharmacological Data Table, and the headers of this table are Cell ty...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "Pharmacological Data Table", "sql": "INSERT INTO `Pharmacological Data Table` (`Cell type`, `Organ/System`, `Activators ligands --> Gq-GPCRs`, `Effects`) VALUES ('Epsilon', 'Beta', 'Delta', 'Delta');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0443
[ { "role": "user", "content": "[TASK=DB]\n1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'No' at line 1" }, { "role": "assistant", "content": "Final: INSERT INTO `JR East Train Schedule` (`No`, `N...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT_error_recovery", "table_name": "JR East Train Schedule", "sql": "INSERT INTO `JR East Train Schedule` (`No`, `Name`, `From`, `To`, `Distance (km)`, `Platforms`) VALUES ('81', 'Delta', 'Helsinki', 'Beta', '83', '52');", "label": [ "done" ], "wrong_sql": "INSERT INTO `JR East Train Schedule` (No, `Name`, `From`, `To`, `Distance (km)`, `Platforms`) VALUES ('81', 'Delta', 'Helsinki', 'Beta', '83', '52');", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "No", "error_reason": "reserved" }
dbbench_sft_0057
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Sarah Campbell' for 'Name', 'Epsilon' for 'From', 'Beta' for 'To', 'Delta' for 'Position', 'Colombia' for 'Unit'.\nThe name of this table is Command_History_1940-1960, and the headers of this table are Name,From,To,Posi...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "Command_History_1940-1960", "sql": "INSERT INTO `Command_History_1940-1960` (`Name`, `From`, `To`, `Position`, `Unit`) VALUES ('Sarah Campbell', 'Epsilon', 'Beta', 'Delta', 'Colombia');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0502
[ { "role": "user", "content": "[TASK=DB]\n[('Super-G',)]" }, { "role": "assistant", "content": "Final: SELECT `Event` FROM `World Championships Competition Records` ORDER BY `Total Rank` DESC LIMIT 1" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "ranking", "table_name": "World Championships Competition Records", "sql": "SELECT `Event` FROM `World Championships Competition Records` ORDER BY `Total\nRank` DESC LIMIT 1;", "label": [ "Super-G" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0557
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Release is 'October 17, 1992': set No to 45, Title to Budapest.\nThe name of this table is Music Releases, and the headers of this table are Release,Title,Format,Label,No." }, { "role": "assistant", "content": "Final: UPDATE `Music...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE", "table_name": "Music Releases", "sql": "UPDATE `Music Releases` SET `No` = '45', `Title` = 'Budapest' WHERE `Release` = 'October 17, 1992';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0681
[ { "role": "user", "content": "[TASK=DB]\n[('Advances in Generation',)]" }, { "role": "assistant", "content": "Final: SELECT `Title` FROM `Journal of Engineering Publications` WHERE `Authors` = 'Joshua Hall et al.'" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "other_retry", "table_name": "Journal of Engineering Publications", "sql": "SELECT `Title` FROM `Journal of Engineering Publications` WHERE `Authors` = 'Joshua Hall et al.';", "label": [ "Advances in Generation" ], "wrong_sql": "SELECT `Title` FROM `Journal of Engineering Publications` WHERE `Authors` = 'Joshua Hall et al. ';", "wrong_val": "Joshua Hall et al. ", "correct_val": "Joshua Hall et al.", "where_col": "Authors", "error_col": null, "error_reason": null }
dbbench_sft_0519
[ { "role": "user", "content": "[TASK=DB]\n1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Year' at line 1" }, { "role": "assistant", "content": "Final: INSERT INTO `Tokyo Property Listings` (`Addr...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT_error_recovery", "table_name": "Tokyo Property Listings", "sql": "INSERT INTO `Tokyo Property Listings` (`Address`, `Price`, `Area\n(sq ft)`, `Year`, `Level`) VALUES ('Paul Martin', '35', '24', '83', '13');", "label": [ "done" ], "wrong_sql": "INSERT INTO `Tokyo Property Listings` (`Address`, `Price`, `Area\n(sq ft)`, Year, `Level`) VALUES ('Paul Martin', '35', '24', '83', '13');", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Year", "error_reason": "reserved" }
dbbench_sft_0127
[ { "role": "user", "content": "[TASK=DB]\n[(1,)]" }, { "role": "assistant", "content": "Final: SELECT COUNT(*) FROM `FDA_Approved_Medications` WHERE `Date` = 'March 5, 1958'" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "counting", "table_name": "FDA_Approved_Medications", "sql": "SELECT COUNT(*) FROM `FDA_Approved_Medications` WHERE `Date` = 'March 5, 1958';", "label": [ "1" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0627
[ { "role": "user", "content": "[TASK=DB]\n[(1952.0,)]" }, { "role": "assistant", "content": "Final: SELECT AVG(`Year`) FROM `Real Estate 2019` WHERE `Address` = '454 River St'" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "aggregation-AVG_retry", "table_name": "Real Estate 2019", "sql": "SELECT AVG(`Year`) FROM `Real Estate 2019` WHERE `Address` = '454 River St';", "label": [ "1952.0" ], "wrong_sql": "SELECT AVG(`Year`) FROM `Real Estate 2019` WHERE `Address` = '454 River St ';", "wrong_val": "454 River St ", "correct_val": "454 River St", "where_col": "Address", "error_col": null, "error_reason": null }
dbbench_sft_1081
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Title is 'Thunder Road': set Year to 24, Release to Philadelphia.\nThe name of this table is Actress Filmography, and the headers of this table are Year,Title,Genre,Box Office,Rating,Release." }, { "role": "assistant", "content": "...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE", "table_name": "Actress Filmography", "sql": "UPDATE `Actress Filmography` SET `Year` = '24', `Release` = 'Philadelphia' WHERE `Title` = 'Thunder Road';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0462
[ { "role": "user", "content": "[TASK=DB]\n[(1,)]" }, { "role": "assistant", "content": "Final: SELECT COUNT(*) FROM `Europe Higher Education Data` WHERE `Country` = 'Greece'" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "counting", "table_name": "Europe Higher Education Data", "sql": "SELECT COUNT(*) FROM `Europe Higher Education Data` WHERE `Country` = 'Greece';", "label": [ "1" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0522
[ { "role": "user", "content": "[TASK=DB]\n[('4',)]" }, { "role": "assistant", "content": "Final: SELECT `Rank` FROM `World Islands Database` WHERE `Country/Region` = 'Colombia'" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "other_retry", "table_name": "World Islands Database", "sql": "SELECT `Rank` FROM `World Islands Database` WHERE `Country/Region` = 'Colombia';", "label": [ "4" ], "wrong_sql": "SELECT `Rank` FROM `World Islands Database` WHERE `Country/Region` = 'colombia';", "wrong_val": "colombia", "correct_val": "Colombia", "where_col": "Country/Region", "error_col": null, "error_reason": null }
dbbench_sft_0082
[ { "role": "user", "content": "[TASK=DB]\n[('3',)]" }, { "role": "assistant", "content": "Final: SELECT `Level` FROM `Real Estate 2019` WHERE `Address` = '984 Elm St'" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "other_retry", "table_name": "Real Estate 2019", "sql": "SELECT `Level` FROM `Real Estate 2019` WHERE `Address` = '984 Elm St';", "label": [ "3" ], "wrong_sql": "SELECT `Level` FROM `Real Estate 2019` WHERE `Address` = '984 ELM ST';", "wrong_val": "984 ELM ST", "correct_val": "984 Elm St", "where_col": "Address", "error_col": null, "error_reason": null }
dbbench_sft_0265
[ { "role": "user", "content": "[TASK=DB]\n[(90.0,)]" }, { "role": "assistant", "content": "Final: SELECT MAX(`No`) FROM `2003 Formula One Season`" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "aggregation-MAX", "table_name": "2003 Formula One Season", "sql": "SELECT MAX(`No`) FROM `2003 Formula One Season`;", "label": [ "90.0" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0547
[ { "role": "user", "content": "[TASK=DB]\n1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'From' at line 1" }, { "role": "assistant", "content": "Final: INSERT INTO `Military Leaders Table` (`Name`...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT_error_recovery", "table_name": "Military Leaders Table", "sql": "INSERT INTO `Military Leaders Table` (`Name`, `From`, `To`, `Position`, `Unit`) VALUES ('Beta', 'Linda Harris', 'Alpha', 'Gamma', 'Alpha');", "label": [ "done" ], "wrong_sql": "INSERT INTO `Military Leaders Table` (`Name`, From, `To`, `Position`, `Unit`) VALUES ('Beta', 'Linda Harris', 'Alpha', 'Gamma', 'Alpha');", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "From", "error_reason": "reserved" }
dbbench_sft_0920
[ { "role": "user", "content": "[TASK=DB]\n1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Date' at line 1" }, { "role": "assistant", "content": "Final: UPDATE `Argentina Match History` SET `Score`...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE_error_recovery", "table_name": "Argentina Match History", "sql": "UPDATE `Argentina Match History` SET `Score` = 'George Flores', `Venue` = 'Ashley Rivera', `Opponent` = 'Moscow' WHERE `Date` = 'March 17, 2012';", "label": [ "done" ], "wrong_sql": "UPDATE `Argentina Match History` SET `Score` = 'George Flores', `Venue` = 'Ashley Rivera', `Opponent` = 'Moscow' WHERE Date = 'March 17, 2012';", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Date", "error_reason": "reserved" }
dbbench_sft_0875
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Delta' for 'Release', 'Alpha' for 'Title', 'Epsilon' for 'Format', 'Austria' for 'Label', '14' for 'No'.\nThe name of this table is Music Releases, and the headers of this table are Release,Title,Format,Label,No." }, ...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "Music Releases", "sql": "INSERT INTO `Music Releases` (`Release`, `Title`, `Format`, `Label`, `No`) VALUES ('Delta', 'Alpha', 'Epsilon', 'Austria', '14');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0956
[ { "role": "user", "content": "[TASK=DB]\n[(90.0,)]" }, { "role": "assistant", "content": "Final: SELECT MAX(`Duration`) FROM `BBC_Programming` WHERE `Title` = 'Weekend Special'" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "aggregation-MAX_retry", "table_name": "BBC_Programming", "sql": "SELECT MAX(`Duration`) FROM `BBC_Programming` WHERE `Title` = 'Weekend Special';", "label": [ "90.0" ], "wrong_sql": "SELECT MAX(`Duration`) FROM `BBC_Programming` WHERE `Title` = 'weekend special';", "wrong_val": "weekend special", "correct_val": "Weekend Special", "where_col": "Title", "error_col": null, "error_reason": null }
dbbench_sft_0209
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Nation is 'Turkey': set Gold to 3.\nThe name of this table is Youth Olympics Medal Count, and the headers of this table are Rank,Nation,Gold,Silver,Bronze,Total." }, { "role": "assistant", "content": "Final: UPDATE `Youth Olympics ...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE", "table_name": "Youth Olympics Medal Count", "sql": "UPDATE `Youth Olympics Medal Count` SET `Gold` = '3' WHERE `Nation` = 'Turkey';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0757
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Driver is 'Kevin Phillips': set Laps to 72, Time/Retired to Updated Value.\nThe name of this table is 2017 Formula One Season, and the headers of this table are No,Driver,Time/Retired,Laps,Points." }, { "role": "assistant", "conten...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE", "table_name": "2017 Formula One Season", "sql": "UPDATE `2017 Formula One Season` SET `Laps` = '72', `Time/Retired` = 'Updated Value' WHERE `Driver` = 'Kevin Phillips';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0735
[ { "role": "user", "content": "[TASK=DB]\n[(189.0,)]" }, { "role": "assistant", "content": "Final: SELECT MIN(`Laps`) FROM `Helio Castroneves Career Stats` WHERE `Car` = '#3'" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "aggregation-MIN", "table_name": "Helio Castroneves Career Stats", "sql": "SELECT MIN(`Laps`) FROM `Helio Castroneves Career Stats` WHERE `Car` = '#3';", "label": [ "189.0" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0090
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Epsilon' for 'Name', 'Turkey' for 'From', 'Gamma' for 'To', 'Gamma' for 'Position', 'Epsilon' for 'Unit'.\nThe name of this table is Command_History_2000-2020, and the headers of this table are Name,From,To,Position,Uni...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "Command_History_2000-2020", "sql": "INSERT INTO `Command_History_2000-2020` (`Name`, `From`, `To`, `Position`, `Unit`) VALUES ('Epsilon', 'Turkey', 'Gamma', 'Gamma', 'Epsilon');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0581
[ { "role": "user", "content": "[TASK=DB]\n[('April 3, 1991',), ('August 22, 1990',), ('April 13, 2012',)]" }, { "role": "assistant", "content": "Final: SELECT `Release` FROM `Comedy_Films_2010s` WHERE `Rating` < 4" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "comparison", "table_name": "Comedy_Films_2010s", "sql": "SELECT `Release` FROM `Comedy_Films_2010s` WHERE `Rating` < 4;", "label": [ "April 3, 1991", "August 22, 1990", "April 13, 2012" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0063
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Epsilon' for 'Address', '36' for 'Price', '60' for 'Area\n(sq ft)', '22' for 'Year', '77' for 'Level'.\nThe name of this table is Toronto Property Listings, and the headers of this table are Address,Price,Area\n(sq ft),...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "Toronto Property Listings", "sql": "INSERT INTO `Toronto Property Listings` (`Address`, `Price`, `Area\n(sq ft)`, `Year`, `Level`) VALUES ('Epsilon', '36', '60', '22', '77');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0908
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Name is 'Princeton': set Students to 94, Rank to 99.\nThe name of this table is University_Rankings_2019, and the headers of this table are Rank,Name,Country,Students,Score." }, { "role": "assistant", "content": "Final: UPDATE `Uni...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE", "table_name": "University_Rankings_2019", "sql": "UPDATE `University_Rankings_2019` SET `Students` = '94', `Rank` = '99' WHERE `Name` = 'Princeton';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0269