messages
listlengths
2
2
metadata
dict
id
stringlengths
16
16
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Nation is 'New Zealand': set Gold to 83, Total to 2, Silver to 94.\nThe name of this table is Summer Olympics Medal Count, and the headers of this table are Rank,Nation,Gold,Silver,Bronze,Total." }, { "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": "Summer Olympics Medal Count", "sql": "UPDATE `Summer Olympics Medal Count` SET `Gold` = '83', `Total` = '2', `Silver` = '94' WHERE `Nation` = 'New Zealand';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0604
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Epsilon' for 'Date', 'Delta' for 'Venue', 'Beta' for 'Opponent', 'Alpha' for 'Score', 'Helsinki' for 'Competition'.\nThe name of this table is Argentina Match History, and the headers of this table are Date,Venue,Oppone...
{ "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 ('Epsilon', 'Delta', 'Beta', 'Alpha', 'Helsinki');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0645
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Epsilon' for 'Date', 'Delta' for 'Venue', 'Alpha' for 'Opponent', 'Philippines' for 'Score', 'Delta' for 'Competition'.\nThe name of this table is Football_Matches_2023, and the headers of this table are Date,Venue,Oppo...
{ "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": "Football_Matches_2023", "sql": "INSERT INTO `Football_Matches_2023` (`Date`, `Venue`, `Opponent`, `Score`, `Competition`) VALUES ('Epsilon', 'Delta', 'Alpha', 'Philippines', 'Delta');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0368
[ { "role": "user", "content": "[TASK=DB]\n[(1,)]" }, { "role": "assistant", "content": "Final: SELECT COUNT(*) FROM `Population by Age Group and Region in China` WHERE `Region` = 'Yekaterinburg'" } ]
{ "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": "Population by Age Group and Region in China", "sql": "SELECT COUNT(*) FROM `Population by Age Group and Region in China` WHERE `Region` = 'Yekaterinburg';", "label": [ "1" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0511
[ { "role": "user", "content": "[TASK=DB]\n[('6125.3',)]" }, { "role": "assistant", "content": "Final: SELECT `Uplink (MHz)` FROM `Telesat Satellite Fleet` WHERE `System` = 'Ka-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": "other", "table_name": "Telesat Satellite Fleet", "sql": "SELECT `Uplink (MHz)` FROM `Telesat Satellite Fleet` WHERE `System` = 'Ka-Band';", "label": [ "6125.3" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0950
[ { "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 `Pop_Album_Chart` SET `Title` = 'U...
{ "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": "Pop_Album_Chart", "sql": "UPDATE `Pop_Album_Chart` SET `Title` = 'Updated Value' WHERE `Release` = 'August 16, 1981';", "label": [ "done" ], "wrong_sql": "UPDATE `Pop_Album_Chart` SET `Title` = 'Updated Value' WHERE Release = 'August 16, 1981';", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Release", "error_reason": "reserved" }
dbbench_sft_0116
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '98' for 'Rank', 'Alpha' for 'Island', '94.2' for 'Area\n(km²)', '52.0' for 'Area\n(sq mi)', 'Epsilon' for 'Country/Region'.\nThe name of this table is Islands of Indonesia, and the headers of this table are Rank,Island,...
{ "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": "Islands of Indonesia", "sql": "INSERT INTO `Islands of Indonesia` (`Rank`, `Island`, `Area\n(km²)`, `Area\n(sq mi)`, `Country/Region`) VALUES ('98', 'Alpha', '94.2', '52.0', 'Epsilon');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0786
[ { "role": "user", "content": "[TASK=DB]\n[('Levothyroxine',)]" }, { "role": "assistant", "content": "Final: SELECT `Name` FROM `Drug Approval Database` ORDER BY `Dosage (mg)` 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": "Drug Approval Database", "sql": "SELECT `Name` FROM `Drug Approval Database` ORDER BY `Dosage (mg)` ASC LIMIT 1;", "label": [ "Levothyroxine" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0701
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Epsilon' for 'Cell type', 'Gamma' for 'Organ/System', 'Beta' for 'Activators ligands --> Gq-GPCRs', 'Gamma' 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', 'Gamma', 'Beta', 'Gamma');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0491
[ { "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: INSERT INTO `Football Matches 2012` (`Date`,...
{ "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": "Football Matches 2012", "sql": "INSERT INTO `Football Matches 2012` (`Date`, `Venue`, `Opponent`, `Score`, `Competition`) VALUES ('Alpha', 'Delta', 'Melbourne', 'Beta', 'Epsilon');", "label": [ "done" ], "wrong_sql": "INSERT INTO `Football Matches 2012` (Date, `Venue`, `Opponent`, `Score`, `Competition`) VALUES ('Alpha', 'Delta', 'Melbourne', 'Beta', 'Epsilon');", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Date", "error_reason": "reserved" }
dbbench_sft_1031
[ { "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: UPDATE `Navy Officers List` SET `Unit` = 'Sa...
{ "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": "Navy Officers List", "sql": "UPDATE `Navy Officers List` SET `Unit` = 'Sarah Flores', `To` = 'Updated Value' WHERE `Name` = 'BG Thomas Robinson';", "label": [ "done" ], "wrong_sql": "UPDATE `Navy Officers List` SET `Unit` = 'Sarah Flores', `To` = 'Updated Value' WHERE Name = 'BG Thomas Robinson';", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Name", "error_reason": "reserved" }
dbbench_sft_0585
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Gamma' for 'Address', '12' for 'Price', '68' for 'Area\n(sq ft)', '88' for 'Year', '46' for 'Level'.\nThe name of this table is Tokyo 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": "Tokyo Property Listings", "sql": "INSERT INTO `Tokyo Property Listings` (`Address`, `Price`, `Area\n(sq ft)`, `Year`, `Level`) VALUES ('Gamma', '12', '68', '88', '46');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0800
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '98' for 'No', 'Delta' for 'Name', 'Delta' for 'From', 'Andrew Johnson' for 'To', '78' for 'Distance (km)', '29' for 'Platforms'.\nThe name of this table is Indian Railways Train Schedule, and the headers of this table a...
{ "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": "Indian Railways Train Schedule", "sql": "INSERT INTO `Indian Railways Train Schedule` (`No`, `Name`, `From`, `To`, `Distance (km)`, `Platforms`) VALUES ('98', 'Delta', 'Delta', 'Andrew Johnson', '78', '29');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0488
[ { "role": "user", "content": "[TASK=DB]\n[(3,)]" }, { "role": "assistant", "content": "Final: SELECT COUNT(*) FROM `Amtrak Train Schedule` WHERE `Name` = 'City Link'" } ]
{ "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": "Amtrak Train Schedule", "sql": "SELECT COUNT(*) FROM `Amtrak Train Schedule` WHERE `Name` = 'City Link';", "label": [ "3" ], "wrong_sql": "SELECT COUNT(*) FROM `Amtrak Train Schedule` WHERE `Name` = 'City';", "wrong_val": "City", "correct_val": "City Link", "where_col": "Name", "error_col": null, "error_reason": null }
dbbench_sft_0151
[ { "role": "user", "content": "[TASK=DB]\n[('#23',)]" }, { "role": "assistant", "content": "Final: SELECT `Car` FROM `Indianapolis 500 History` 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": "Indianapolis 500 History", "sql": "SELECT `Car` FROM `Indianapolis 500 History` ORDER BY `Rank` DESC LIMIT 1;", "label": [ "#23" ], "wrong_sql": "SELECT `Car` FROM `Indianapolis 500 History` ORDER BY Rank DESC LIMIT 1;", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Rank", "error_reason": "reserved" }
dbbench_sft_0951
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Title is 'A Novel Approach Neural Networks': set Venue to London, Authors to Moscow, Year to 40.\nThe name of this table is Chemistry Research Papers, 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": "Chemistry Research Papers", "sql": "UPDATE `Chemistry Research Papers` SET `Venue` = 'London', `Authors` = 'Moscow', `Year` = '40' WHERE `Title` = 'A Novel Approach Neural Networks';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0636
[ { "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 `Actress Filmography` (`Ye...
{ "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 ('85', 'Alpha', 'Alpha', '5.8', '66.2', 'Alpha');", "label": [ "done" ], "wrong_sql": "INSERT INTO `Actress Filmography` (`Year`, `Title`, `Genre`, Box Office, `Rating`, `Release`) VALUES ('85', 'Alpha', 'Alpha', '5.8', '66.2', 'Alpha');", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Box Office", "error_reason": "special" }
dbbench_sft_1173
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '98' for 'Rank', 'Epsilon' for 'Nation', '43' for 'Gold', '59' for 'Silver', '43' for 'Bronze', '47' for 'Total'.\nThe name of this table is 2012_Olympic_Medal_Tally, and the headers of this table are Rank,Nation,Gold,Si...
{ "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": "2012_Olympic_Medal_Tally", "sql": "INSERT INTO `2012_Olympic_Medal_Tally` (`Rank`, `Nation`, `Gold`, `Silver`, `Bronze`, `Total`) VALUES ('98', 'Epsilon', '43', '59', '43', '47');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0279
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'London' for 'Cell type', 'Beta' for 'Organ/System', 'Alpha' 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 typ...
{ "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 ('London', 'Beta', 'Alpha', 'Delta');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0658
[ { "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 'Rank' at line 1" }, { "role": "assistant", "content": "Final: INSERT INTO `2000_Olympic_Medal_Tally` (`Ran...
{ "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": "2000_Olympic_Medal_Tally", "sql": "INSERT INTO `2000_Olympic_Medal_Tally` (`Rank`, `Nation`, `Gold`, `Silver`, `Bronze`, `Total`) VALUES ('2', 'Gamma', '94', '22', '81', '73');", "label": [ "done" ], "wrong_sql": "INSERT INTO `2000_Olympic_Medal_Tally` (Rank, `Nation`, `Gold`, `Silver`, `Bronze`, `Total`) VALUES ('2', 'Gamma', '94', '22', '81', '73');", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Rank", "error_reason": "reserved" }
dbbench_sft_0168
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Australia' for 'Athlete', 'Epsilon' for 'Event', '78.7' for 'Race 1\nTime', '52.8' for 'Race 2\nTime', '32.9' for 'Total\nTime', '91' for 'Total\nRank'.\nThe name of this table is Luge Athletes Results, and the headers ...
{ "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": "Luge Athletes Results", "sql": "INSERT INTO `Luge Athletes Results` (`Athlete`, `Event`, `Race 1\nTime`, `Race 2\nTime`, `Total\nTime`, `Total\nRank`) VALUES ('Australia', 'Epsilon', '78.7', '52.8', '32.9', '91');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0556
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Portugal' for 'Release', 'Gamma' for 'Title', 'Epsilon' for 'Format', 'Epsilon' for 'Label', '74' for 'No'.\nThe name of this table is Pink Floyd Discography, and the headers of this table are Release,Title,Format,Label...
{ "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": "Pink Floyd Discography", "sql": "INSERT INTO `Pink Floyd Discography` (`Release`, `Title`, `Format`, `Label`, `No`) VALUES ('Portugal', 'Gamma', 'Epsilon', 'Epsilon', '74');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0133
[ { "role": "user", "content": "[TASK=DB]\n[(5045.0,)]" }, { "role": "assistant", "content": "Final: SELECT SUM(`Number`) FROM `Drug Approval Database` WHERE `Type` = 'Cream'" } ]
{ "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": "Drug Approval Database", "sql": "SELECT SUM(`Number`) FROM `Drug Approval Database` WHERE `Type` = 'Cream';", "label": [ "5045.0" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0322
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '34' for 'Rank', 'Philippines' for 'Island', '58.3' for 'Area\n(km²)', '9.1' for 'Area\n(sq mi)', 'Egypt' for 'Country/Region'.\nThe name of this table is Islands_of_Caribbean, and the headers of this table are Rank,Isla...
{ "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": "Islands_of_Caribbean", "sql": "INSERT INTO `Islands_of_Caribbean` (`Rank`, `Island`, `Area\n(km²)`, `Area\n(sq mi)`, `Country/Region`) VALUES ('34', 'Philippines', '58.3', '9.1', 'Egypt');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0408
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Delta' for 'Date', 'Margaret Campbell' for 'Venue', 'San Jose' for 'Opponent', 'Poland' for 'Score', 'Alpha' for 'Competition'.\nThe name of this table is Football Matches 2019, and the headers of this table are Date,Ve...
{ "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": "Football Matches 2019", "sql": "INSERT INTO `Football Matches 2019` (`Date`, `Venue`, `Opponent`, `Score`, `Competition`) VALUES ('Delta', 'Margaret Campbell', 'San Jose', 'Poland', 'Alpha');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0292
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '45' for 'No', 'Alpha' for 'Name', 'Gamma' for 'From', 'Deborah Harris' for 'To', '75' for 'Distance (km)', '70' for 'Platforms'.\nThe name of this table is Amtrak Train Schedule, and the headers of this table are No,Nam...
{ "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": "Amtrak Train Schedule", "sql": "INSERT INTO `Amtrak Train Schedule` (`No`, `Name`, `From`, `To`, `Distance (km)`, `Platforms`) VALUES ('45', 'Alpha', 'Gamma', 'Deborah Harris', '75', '70');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0240
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '87' for 'Year', 'Egypt' for 'Title', 'Gamma' for 'Genre', '39.9' for 'Box Office', '56.6' for 'Rating', 'Epsilon' for 'Release'.\nThe name of this table is Steven Spielberg Filmography, 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": "Steven Spielberg Filmography", "sql": "INSERT INTO `Steven Spielberg Filmography` (`Year`, `Title`, `Genre`, `Box Office`, `Rating`, `Release`) VALUES ('87', 'Egypt', 'Gamma', '39.9', '56.6', 'Epsilon');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0341
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Athlete is 'Sharon Rivera': set Race 2\nTime to 8.0, Event to Los Angeles, Race 1\nTime to 94.0.\nThe name of this table is European Championships Competition Records, and the headers of this table are Athlete,Event,Race 1\nTime,Race 2\nTime,T...
{ "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": "European Championships Competition Records", "sql": "UPDATE `European Championships Competition Records` SET `Race 2\nTime` = '8.0', `Event` = 'Los Angeles', `Race 1\nTime` = '94.0' WHERE `Athlete` = 'Sharon Rivera';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0197
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Delta' for 'Name', '42.3' for 'Uplink (MHz)', '86.8' for 'Downlink (MHz)', 'Delta' for 'System', 'Delta' for 'Status'.\nThe name of this table is Satellite Communications Data, and the headers of this table are Name,Upl...
{ "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 ('Delta', '42.3', '86.8', 'Delta', 'Delta');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0361
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Shanghai' for 'Name', '14.6' for 'Uplink (MHz)', '32.0' for 'Downlink (MHz)', 'Delta' for 'System', 'Delta' for 'Status'.\nThe name of this table is Satellite Communications Data, and the headers of this table are 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", "table_name": "Satellite Communications Data", "sql": "INSERT INTO `Satellite Communications Data` (`Name`, `Uplink (MHz)`, `Downlink (MHz)`, `System`, `Status`) VALUES ('Shanghai', '14.6', '32.0', 'Delta', 'Delta');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0201
[ { "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 'Activators ligands --> Gq-GPCRs' at line 1" }, { "role": "assistant", "content": "Final: INSERT INTO `Phar...
{ "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": "Pharmacological Data Table", "sql": "INSERT INTO `Pharmacological Data Table` (`Cell type`, `Organ/System`, `Activators ligands --> Gq-GPCRs`, `Effects`) VALUES ('Stephanie Harris', 'Beta', 'Michelle Taylor', 'Gamma');", "label": [ "done" ], "wrong_sql": "INSERT INTO `Pharmacological Data Table` (`Cell type`, `Organ/System`, Activators ligands --> Gq-GPCRs, `Effects`) VALUES ('Stephanie Harris', 'Beta', 'Michelle Taylor', 'Gamma');", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Activators ligands --> Gq-GPCRs", "error_reason": "special" }
dbbench_sft_0017
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Delta' for 'Title', '14' for 'Year', '87' for 'Citations', 'Beta' for 'Authors', 'Mumbai' for 'Venue'.\nThe name of this table is Chemistry Research Papers, and the headers of this table are Title,Year,Citations,Authors...
{ "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": "Chemistry Research Papers", "sql": "INSERT INTO `Chemistry Research Papers` (`Title`, `Year`, `Citations`, `Authors`, `Venue`) VALUES ('Delta', '14', '87', 'Beta', 'Mumbai');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0600
[ { "role": "user", "content": "[TASK=DB]\n[('16:00',), ('18:00',)]" }, { "role": "assistant", "content": "Final: SELECT `Time` FROM `TV Schedule Spring 2023` WHERE `Duration` < 90" } ]
{ "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": "TV Schedule Spring 2023", "sql": "SELECT `Time` FROM `TV Schedule Spring 2023` WHERE `Duration` < 90;", "label": [ "16:00", "18:00" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0425
[ { "role": "user", "content": "[TASK=DB]\n[(1913.4,)]" }, { "role": "assistant", "content": "Final: SELECT MAX(`Area (sq mi)`) FROM `Islands of Caribbean`" } ]
{ "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_error_recovery", "table_name": "Islands of Caribbean", "sql": "SELECT MAX(`Area\n(sq mi)`) FROM `Islands of Caribbean`;", "label": [ "1913.4" ], "wrong_sql": "SELECT MAX(Area\n(sq mi)) FROM `Islands of Caribbean`;", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Area\n(sq mi)", "error_reason": "special" }
dbbench_sft_0764
[ { "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 'Rank' at line 1" }, { "role": "assistant", "content": "Final: INSERT INTO `2008 Olympic Medal Tally` (`Ran...
{ "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": "2008 Olympic Medal Tally", "sql": "INSERT INTO `2008 Olympic Medal Tally` (`Rank`, `Nation`, `Gold`, `Silver`, `Bronze`, `Total`) VALUES ('71', 'Emily Brown', '15', '91', '29', '4');", "label": [ "done" ], "wrong_sql": "INSERT INTO `2008 Olympic Medal Tally` (Rank, `Nation`, `Gold`, `Silver`, `Bronze`, `Total`) VALUES ('71', 'Emily Brown', '15', '91', '29', '4');", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Rank", "error_reason": "reserved" }
dbbench_sft_0348
[ { "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 `Railway Stations UK` (`No`, `Na...
{ "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": "Railway Stations UK", "sql": "INSERT INTO `Railway Stations UK` (`No`, `Name`, `From`, `To`, `Distance (km)`, `Platforms`) VALUES ('2', 'Donald Martin', 'Delta', 'Delta', '23', '71');", "label": [ "done" ], "wrong_sql": "INSERT INTO `Railway Stations UK` (`No`, Name, `From`, `To`, `Distance (km)`, `Platforms`) VALUES ('2', 'Donald Martin', 'Delta', 'Delta', '23', '71');", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Name", "error_reason": "reserved" }
dbbench_sft_0071
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '71' for 'Rank', 'Kenya' for 'Island', '16.5' for 'Area\n(km²)', '82.2' for 'Area\n(sq mi)', 'Zurich' for 'Country/Region'.\nThe name of this table is World Islands Database, and the headers of this table are Rank,Island...
{ "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 ('71', 'Kenya', '16.5', '82.2', 'Zurich');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0758
[ { "role": "user", "content": "[TASK=DB]\n[(1,)]" }, { "role": "assistant", "content": "Final: SELECT COUNT(*) FROM `World Islands Database` WHERE `Island` = 'Mull'" } ]
{ "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": "World Islands Database", "sql": "SELECT COUNT(*) FROM `World Islands Database` WHERE `Island` = 'Mull';", "label": [ "1" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0128
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '12' for 'Rank', 'Alpha' for 'Nation', '22' for 'Gold', '66' for 'Silver', '14' for 'Bronze', '52' for 'Total'.\nThe name of this table is 2004 Olympic Medal Tally, and the headers of this table are Rank,Nation,Gold,Silv...
{ "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 Olympic Medal Tally", "sql": "INSERT INTO `2004 Olympic Medal Tally` (`Rank`, `Nation`, `Gold`, `Silver`, `Bronze`, `Total`) VALUES ('12', 'Alpha', '22', '66', '14', '52');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0118
[ { "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: 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 ('Romania', 'Gamma', 'Gamma', 'Peru', 'Denmark');", "label": [ "done" ], "wrong_sql": "INSERT INTO `Military Leaders Table` (`Name`, `From`, To, `Position`, `Unit`) VALUES ('Romania', 'Gamma', 'Gamma', 'Peru', 'Denmark');", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "To", "error_reason": "reserved" }
dbbench_sft_1089
[ { "role": "user", "content": "[TASK=DB]\n[('Moscow',)]" }, { "role": "assistant", "content": "Final: SELECT `Region` FROM `Eastern Census Data` ORDER BY `20 to 24` 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": "Eastern Census Data", "sql": "SELECT `Region` FROM `Eastern Census Data` ORDER BY `20 to 24` DESC LIMIT 1;", "label": [ "Moscow" ], "wrong_sql": "SELECT `Region` FROM `Eastern Census Data` ORDER BY 20 to 24 DESC LIMIT 1;", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "20 to 24", "error_reason": "special" }
dbbench_sft_0812
[ { "role": "user", "content": "[TASK=DB]\n[('Afternoon Live',), ('Talk Hour',), ('Weekend Special',)]" }, { "role": "assistant", "content": "Final: SELECT `Title` FROM `CBS Programming` WHERE `Rating` > 7" } ]
{ "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": "CBS Programming", "sql": "SELECT `Title` FROM `CBS Programming` WHERE `Rating` > 7;", "label": [ "Afternoon Live", "Talk Hour", "Weekend Special" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0630
[ { "role": "user", "content": "[TASK=DB]\n[('2-5',), ('5-2',), ('0-4',)]" }, { "role": "assistant", "content": "Final: SELECT `Score` FROM `Lions Season Results` WHERE `Rank` > 6" } ]
{ "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": "Lions Season Results", "sql": "SELECT `Score` FROM `Lions Season Results` WHERE `Rank` > 6;", "label": [ "2-5", "5-2", "0-4" ], "wrong_sql": "SELECT `Score` FROM `Lions Season Results` WHERE Rank > 6;", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Rank", "error_reason": "reserved" }
dbbench_sft_0552
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Name is 'Aspirin': set Number to 43, Type to New Entry, Dosage (mg) to 25.4.\nThe name of this table is FDA_Approved_Medications, and the headers of this table are Name,Date,Type,Number,Dosage (mg)." }, { "role": "assistant", "cont...
{ "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` = '43', `Type` = 'New Entry', `Dosage (mg)` = '25.4' WHERE `Name` = 'Aspirin';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0644
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Epsilon' for 'Name', 'Epsilon' for 'Party', '97' for 'Votes', '81.6' for 'Percentage', 'Delta' for 'Status'.\nThe name of this table is 2014 General Election, and the headers of this table are Name,Party,Votes,Percentag...
{ "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": "2014 General Election", "sql": "INSERT INTO `2014 General Election` (`Name`, `Party`, `Votes`, `Percentage`, `Status`) VALUES ('Epsilon', 'Epsilon', '97', '81.6', 'Delta');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0595
[ { "role": "user", "content": "[TASK=DB]\n[(32.0,)]" }, { "role": "assistant", "content": "Final: SELECT MIN(`No`) FROM `Pink Floyd Discography` WHERE `Title` = 'Horizons'" } ]
{ "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_retry", "table_name": "Pink Floyd Discography", "sql": "SELECT MIN(`No`) FROM `Pink Floyd Discography` WHERE `Title` = 'Horizons';", "label": [ "32.0" ], "wrong_sql": "SELECT MIN(`No`) FROM `Pink Floyd Discography` WHERE `Title` = 'Horizons ';", "wrong_val": "Horizons ", "correct_val": "Horizons", "where_col": "Title", "error_col": null, "error_reason": null }
dbbench_sft_1107
[ { "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 '18 to 19' at line 1" }, { "role": "assistant", "content": "Final: INSERT INTO `Central Census Data` (`Regi...
{ "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": "Central Census Data", "sql": "INSERT INTO `Central Census Data` (`Region`, `Population`, `15 to 17`, `18 to 19`, `20 to 24`) VALUES ('Donald Collins', '58', '91', '15', '78');", "label": [ "done" ], "wrong_sql": "INSERT INTO `Central Census Data` (`Region`, `Population`, `15 to 17`, 18 to 19, `20 to 24`) VALUES ('Donald Collins', '58', '91', '15', '78');", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "18 to 19", "error_reason": "special" }
dbbench_sft_0579
[ { "role": "user", "content": "[TASK=DB]\n[(1973.0,)]" }, { "role": "assistant", "content": "Final: SELECT MAX(`Year`) FROM `Real Estate 2022` WHERE `Address` = '212 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-MAX_error_recovery", "table_name": "Real Estate 2022", "sql": "SELECT MAX(`Year`) FROM `Real Estate 2022` WHERE `Address` = '212 River St';", "label": [ "1973.0" ], "wrong_sql": "SELECT MAX(Year) FROM `Real Estate 2022` WHERE `Address` = '212 River St';", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Year", "error_reason": "reserved" }
dbbench_sft_0371
[ { "role": "user", "content": "[TASK=DB]\n[('3',)]" }, { "role": "assistant", "content": "Final: SELECT `Rank` FROM `2008 Olympic Medal Tally` WHERE `Nation` = 'New Zealand'" } ]
{ "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": "2008 Olympic Medal Tally", "sql": "SELECT `Rank` FROM `2008 Olympic Medal Tally` WHERE `Nation` = 'New Zealand';", "label": [ "3" ], "wrong_sql": "SELECT Rank FROM `2008 Olympic Medal Tally` WHERE `Nation` = 'New Zealand';", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Rank", "error_reason": "reserved" }
dbbench_sft_1108
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Address is '229 Oak St': set Year to 41.\nThe name of this table is Real Estate 2018, and the headers of this table are Address,Price,Area\n(sq ft),Year,Level." }, { "role": "assistant", "content": "Final: UPDATE `Real Estate 2018`...
{ "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": "Real Estate 2018", "sql": "UPDATE `Real Estate 2018` SET `Year` = '41' WHERE `Address` = '229 Oak St';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0464
[ { "role": "user", "content": "[TASK=DB]\n[(2017.0,)]" }, { "role": "assistant", "content": "Final: SELECT MAX(`Year`) FROM `Indianapolis_500_History`" } ]
{ "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": "Indianapolis_500_History", "sql": "SELECT MAX(`Year`) FROM `Indianapolis_500_History`;", "label": [ "2017.0" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0139
[ { "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 'Total\nTime' at line 1" }, { "role": "assistant", "content": "Final: UPDATE `Biathlon Athletes Results` SE...
{ "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": "Biathlon Athletes Results", "sql": "UPDATE `Biathlon Athletes Results` SET `Total\nTime` = '51.0', `Race 1\nTime` = '61.2', `Event` = 'Singapore' WHERE `Athlete` = 'Dorothy Wilson';", "label": [ "done" ], "wrong_sql": "UPDATE `Biathlon Athletes Results` SET Total\nTime = '51.0', `Race 1\nTime` = '61.2', `Event` = 'Singapore' WHERE `Athlete` = 'Dorothy Wilson';", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Total\nTime", "error_reason": "special" }
dbbench_sft_0648
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Delta' for 'Date', 'Gamma' for 'Opponent', 'Jason Davis' for 'Result', 'Warsaw' for 'Score', '7' for 'Rank', '20' for 'Attendance'.\nThe name of this table is Premier League 2002 Season Standings, and the headers of thi...
{ "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 2002 Season Standings", "sql": "INSERT INTO `Premier League 2002 Season Standings` (`Date`, `Opponent`, `Result`, `Score`, `Rank`, `Attendance`) VALUES ('Delta', 'Gamma', 'Jason Davis', 'Warsaw', '7', '20');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0582
[ { "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: INSERT INTO `Eagles Season Results` (`Date`,...
{ "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": "Eagles Season Results", "sql": "INSERT INTO `Eagles Season Results` (`Date`, `Opponent`, `Result`, `Score`, `Rank`, `Attendance`) VALUES ('India', 'Alpha', 'Beta', 'Delta', '15', '38');", "label": [ "done" ], "wrong_sql": "INSERT INTO `Eagles Season Results` (Date, `Opponent`, `Result`, `Score`, `Rank`, `Attendance`) VALUES ('India', 'Alpha', 'Beta', 'Delta', '15', '38');", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Date", "error_reason": "reserved" }
dbbench_sft_1014
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '68' for 'Rank', 'Epsilon' for 'Name', 'Toronto' for 'Country', '52' for 'Students', '45.1' for 'Score'.\nThe name of this table is University_Rankings_2018, and the headers of this table are Rank,Name,Country,Students,S...
{ "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": "University_Rankings_2018", "sql": "INSERT INTO `University_Rankings_2018` (`Rank`, `Name`, `Country`, `Students`, `Score`) VALUES ('68', 'Epsilon', 'Toronto', '52', '45.1');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1075
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '55' for 'No', 'Singapore' for 'Driver', 'Houston' for 'Time/Retired', '32' for 'Laps', '34.5' for 'Points'.\nThe name of this table is F1 Monaco Grand Prix Results, and the headers of this table are No,Driver,Time/Retir...
{ "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": "F1 Monaco Grand Prix Results", "sql": "INSERT INTO `F1 Monaco Grand Prix Results` (`No`, `Driver`, `Time/Retired`, `Laps`, `Points`) VALUES ('55', 'Singapore', 'Houston', '32', '34.5');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0590
[ { "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 'Time/Retired' at line 1" }, { "role": "assistant", "content": "Final: INSERT INTO `F1 Spa Grand Prix Resul...
{ "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": "F1 Spa Grand Prix Results", "sql": "INSERT INTO `F1 Spa Grand Prix Results` (`No`, `Driver`, `Time/Retired`, `Laps`, `Points`) VALUES ('47', 'Gamma', 'Gamma', '61', '94.0');", "label": [ "done" ], "wrong_sql": "INSERT INTO `F1 Spa Grand Prix Results` (`No`, `Driver`, Time/Retired, `Laps`, `Points`) VALUES ('47', 'Gamma', 'Gamma', '61', '94.0');", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Time/Retired", "error_reason": "special" }
dbbench_sft_0739
[ { "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 `Eagles_Season_Results` SET `Rank` = ...
{ "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": "Eagles_Season_Results", "sql": "UPDATE `Eagles_Season_Results` SET `Rank` = '83', `Attendance` = '30' WHERE `Date` = 'December 7, 1998';", "label": [ "done" ], "wrong_sql": "UPDATE `Eagles_Season_Results` SET `Rank` = '83', `Attendance` = '30' WHERE Date = 'December 7, 1998';", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Date", "error_reason": "reserved" }
dbbench_sft_0372
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Release is 'November 8, 1982': set Label to Montreal, Title 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":...
{ "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` = 'Montreal', `Title` = 'Updated Value' WHERE `Release` = 'November 8, 1982';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0492
[ { "role": "user", "content": "[TASK=DB]\n[(1.0,)]" }, { "role": "assistant", "content": "Final: SELECT MIN(`No`) FROM `Music Releases`" } ]
{ "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": "Music Releases", "sql": "SELECT MIN(`No`) FROM `Music Releases`;", "label": [ "1.0" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0742
[ { "role": "user", "content": "[TASK=DB]\n[(8.1,)]" }, { "role": "assistant", "content": "Final: SELECT SUM(`Rating`) FROM `Fox Programming` WHERE `Time` = '19:30'" } ]
{ "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_error_recovery", "table_name": "Fox Programming", "sql": "SELECT SUM(`Rating`) FROM `Fox Programming` WHERE `Time` = '19:30';", "label": [ "8.1" ], "wrong_sql": "SELECT SUM(`Rating`) FROM `Fox Programming` WHERE Time = '19:30';", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Time", "error_reason": "reserved" }
dbbench_sft_0986
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Epsilon' for 'Cell type', 'Delta' for 'Organ/System', 'David Walker' for 'Activators ligands --> Gq-GPCRs', 'Mexico City' for 'Effects'.\nThe name of this table is Cell_Receptor_Database, and the headers of this table a...
{ "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": "Cell_Receptor_Database", "sql": "INSERT INTO `Cell_Receptor_Database` (`Cell type`, `Organ/System`, `Activators ligands --> Gq-GPCRs`, `Effects`) VALUES ('Epsilon', 'Delta', 'David Walker', 'Mexico City');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0050
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Gamma' for 'Name', 'Alpha' for 'Party', '75' for 'Votes', '86.9' for 'Percentage', 'Gamma' for 'Status'.\nThe name of this table is Georgia_Election_Results, and the headers of this table are Name,Party,Votes,Percentage...
{ "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": "Georgia_Election_Results", "sql": "INSERT INTO `Georgia_Election_Results` (`Name`, `Party`, `Votes`, `Percentage`, `Status`) VALUES ('Gamma', 'Alpha', '75', '86.9', 'Gamma');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0787
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Name is 'City Link': set Distance (km) to 22.\nThe name of this table is Railway_Stations_Japan, and the headers of this table are No,Name,From,To,Distance (km),Platforms." }, { "role": "assistant", "content": "Final: UPDATE `Railw...
{ "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_Japan", "sql": "UPDATE `Railway_Stations_Japan` SET `Distance (km)` = '22' WHERE `Name` = 'City Link';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1090
[ { "role": "user", "content": "[TASK=DB]\n[('Indonesia',), ('Vietnam',), ('Egypt',)]" }, { "role": "assistant", "content": "Final: SELECT `Country` FROM `Europe_Higher_Education_Data` WHERE `Students` < 24806" } ]
{ "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": "Europe_Higher_Education_Data", "sql": "SELECT `Country` FROM `Europe_Higher_Education_Data` WHERE `Students` < 24806;", "label": [ "Indonesia", "Vietnam", "Egypt" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1194
[ { "role": "user", "content": "[TASK=DB]\n[('Efficient Methods Clustering',), ('Efficient Methods Classification',), ('Revisiting Deep Learning',)]" }, { "role": "assistant", "content": "Final: SELECT `Title` FROM `Psychology Research Papers` WHERE `Year` > 2017" } ]
{ "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": "Psychology Research Papers", "sql": "SELECT `Title` FROM `Psychology Research Papers` WHERE `Year` > 2017;", "label": [ "Efficient Methods Clustering", "Efficient Methods Classification", "Revisiting Deep Learning" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0390
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Release is 'July 9, 1976': set Label to Updated Value, No to 65, Title to New Entry.\nThe name of this table is The Beatles Discography, and the headers of this table are Release,Title,Format,Label,No." }, { "role": "assistant", "c...
{ "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": "The Beatles Discography", "sql": "UPDATE `The Beatles Discography` SET `Label` = 'Updated Value', `No` = '65', `Title` = 'New Entry' WHERE `Release` = 'July 9, 1976';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0855
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Egypt' for 'Time', 'Alpha' for 'Title', '28' for 'Duration', 'Japan' for 'Type', '60.7' for 'Rating'.\nThe name of this table is ABC Programming, and the headers of this table are Time,Title,Duration,Type,Rating." }, ...
{ "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": "ABC Programming", "sql": "INSERT INTO `ABC Programming` (`Time`, `Title`, `Duration`, `Type`, `Rating`) VALUES ('Egypt', 'Alpha', '28', 'Japan', '60.7');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0342
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Date is 'July 9, 1969': set Rank to 34.\nThe name of this table is Premier_League_2010_Season_Standings, and the headers of this table are Date,Opponent,Result,Score,Rank,Attendance." }, { "role": "assistant", "content": "Final: UP...
{ "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": "Premier_League_2010_Season_Standings", "sql": "UPDATE `Premier_League_2010_Season_Standings` SET `Rank` = '34' WHERE `Date` = 'July 9, 1969';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0479
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Matthew Mitchell' for 'Cell type', 'Singapore' for 'Organ/System', 'Gamma' for 'Activators ligands --> Gq-GPCRs', 'Karen King' for 'Effects'.\nThe name of this table is Pharmacological Data Table, and the headers of thi...
{ "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 ('Matthew Mitchell', 'Singapore', 'Gamma', 'Karen King');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0430
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Cell type is 'Lymphocyte': set Activators ligands --> Gq-GPCRs to Austin, Effects to Timothy Jackson, Organ/System to Updated Value.\nThe name of this table is Cell Receptor Database, and the headers of this table are Cell type,Organ/System,Ac...
{ "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": "Cell Receptor Database", "sql": "UPDATE `Cell Receptor Database` SET `Activators ligands --> Gq-GPCRs` = 'Austin', `Effects` = 'Timothy Jackson', `Organ/System` = 'Updated Value' WHERE `Cell type` = 'Lymphocyte';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0825
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Title is 'Rising Sun': set Box Office to 19.1, Release to New Entry.\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 `Box Office` = '19.1', `Release` = 'New Entry' WHERE `Title` = 'Rising Sun';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0253
[ { "role": "user", "content": "[TASK=DB]\n[(1,)]" }, { "role": "assistant", "content": "Final: SELECT COUNT(*) FROM `Islands of Caribbean` WHERE `Country/Region` = 'Israel'" } ]
{ "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_error_recovery", "table_name": "Islands of Caribbean", "sql": "SELECT COUNT(*) FROM `Islands of Caribbean` WHERE `Country/Region` = 'Israel';", "label": [ "1" ], "wrong_sql": "SELECT COUNT(*) FROM `Islands of Caribbean` WHERE Country/Region = 'Israel';", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Country/Region", "error_reason": "special" }
dbbench_sft_0012
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Name is 'Coastal Line': set To to Updated Value, From to New Entry.\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", "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": "Railway Stations France", "sql": "UPDATE `Railway Stations France` SET `To` = 'Updated Value', `From` = 'New Entry' WHERE `Name` = 'Coastal Line';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0551
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Title is 'Beyond Clustering': set Citations to 100.\nThe name of this table is Journal_of_Economics_Publications, and the headers of this table are Title,Year,Citations,Authors,Venue." }, { "role": "assistant", "content": "Final: U...
{ "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 `Citations` = '100' WHERE `Title` = 'Beyond Clustering';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0721
[ { "role": "user", "content": "[TASK=DB]\n[(1,)]" }, { "role": "assistant", "content": "Final: SELECT COUNT(*) FROM `University_Rankings_2024` WHERE `Country` = 'Portugal'" } ]
{ "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": "University_Rankings_2024", "sql": "SELECT COUNT(*) FROM `University_Rankings_2024` WHERE `Country` = 'Portugal';", "label": [ "1" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1046
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Date is 'July 14, 1993': set Venue to Singapore, Opponent to Mary Lewis.\nThe name of this table is Football_Matches_2012, and the headers of this table are Date,Venue,Opponent,Score,Competition." }, { "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": "Football_Matches_2012", "sql": "UPDATE `Football_Matches_2012` SET `Venue` = 'Singapore', `Opponent` = 'Mary Lewis' WHERE `Date` = 'July 14, 1993';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0602
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Name is 'Chhatisgarh Express': set Platforms to 54, To to Susan Baker.\nThe name of this table is Railway Stations India, and the headers of this table are No,Name,From,To,Distance (km),Platforms." }, { "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": "Railway Stations India", "sql": "UPDATE `Railway Stations India` SET `Platforms` = '54', `To` = 'Susan Baker' WHERE `Name` = 'Chhatisgarh Express';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0321
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Name is 'Amlodipine': set Date to Elizabeth Roberts, Type to Brussels, Number to 65.\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 `Date` = 'Elizabeth Roberts', `Type` = 'Brussels', `Number` = '65' WHERE `Name` = 'Amlodipine';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0680
[ { "role": "user", "content": "[TASK=DB]\n[('1867.7',)]" }, { "role": "assistant", "content": "Final: SELECT `Area (sq mi)` FROM `Islands of Greece` WHERE `Country/Region` = 'Indonesia'" } ]
{ "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": "Islands of Greece", "sql": "SELECT `Area\n(sq mi)` FROM `Islands of Greece` WHERE `Country/Region` = 'Indonesia';", "label": [ "1867.7" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0485
[ { "role": "user", "content": "[TASK=DB]\n[('8',)]" }, { "role": "assistant", "content": "Final: SELECT `Finish` FROM `Indianapolis_500_History` WHERE `Car` = '#25'" } ]
{ "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": "Indianapolis_500_History", "sql": "SELECT `Finish` FROM `Indianapolis_500_History` WHERE `Car` = '#25';", "label": [ "8" ], "wrong_sql": "SELECT `Finish` FROM `Indianapolis_500_History` WHERE `Car` = '#25s';", "wrong_val": "#25s", "correct_val": "#25", "where_col": "Car", "error_col": null, "error_reason": null }
dbbench_sft_1140
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Alpha' for 'Name', 'Alpha' for 'Party', '37' for 'Votes', '13.0' for 'Percentage', 'Alpha' for 'Status'.\nThe name of this table is 2006_General_Election, and the headers of this table are Name,Party,Votes,Percentage,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": "INSERT", "table_name": "2006_General_Election", "sql": "INSERT INTO `2006_General_Election` (`Name`, `Party`, `Votes`, `Percentage`, `Status`) VALUES ('Alpha', 'Alpha', '37', '13.0', 'Alpha');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0767
[ { "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 'Status' at line 1" }, { "role": "assistant", "content": "Final: INSERT INTO `Ohio Election Results` (`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": "Ohio Election Results", "sql": "INSERT INTO `Ohio Election Results` (`Name`, `Party`, `Votes`, `Percentage`, `Status`) VALUES ('Michelle Anderson', 'Alpha', '14', '51.6', 'Amanda Hernandez');", "label": [ "done" ], "wrong_sql": "INSERT INTO `Ohio Election Results` (`Name`, `Party`, `Votes`, `Percentage`, Status) VALUES ('Michelle Anderson', 'Alpha', '14', '51.6', 'Amanda Hernandez');", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Status", "error_reason": "reserved" }
dbbench_sft_0576
[ { "role": "user", "content": "[TASK=DB]\n[('Third',)]" }, { "role": "assistant", "content": "Final: SELECT `Status` FROM `2014 General Election` ORDER BY `Percentage` 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": "2014 General Election", "sql": "SELECT `Status` FROM `2014 General Election` ORDER BY `Percentage` DESC LIMIT 1;", "label": [ "Third" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0281
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '79' for 'Year', 'Beta' for 'Car', '83' for 'Start', '96.0' for 'Qual', '79' for 'Rank', '35' for 'Finish', '76' for 'Laps'.\nThe name of this table is Tony Gulotta Career Stats, and the headers of this table are Year,Ca...
{ "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": "Tony Gulotta Career Stats", "sql": "INSERT INTO `Tony Gulotta Career Stats` (`Year`, `Car`, `Start`, `Qual`, `Rank`, `Finish`, `Laps`) VALUES ('79', 'Beta', '83', '96.0', '79', '35', '76');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0344
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Beta' for 'Name', 'Epsilon' for 'Party', '68' for 'Votes', '5.5' for 'Percentage', 'Houston' for 'Status'.\nThe name of this table is New York Election Results, 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": "New York Election Results", "sql": "INSERT INTO `New York Election Results` (`Name`, `Party`, `Votes`, `Percentage`, `Status`) VALUES ('Beta', 'Epsilon', '68', '5.5', 'Houston');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0332
[ { "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: UPDATE `Deutsche Bahn Train Schedule` SET `T...
{ "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": "Deutsche Bahn Train Schedule", "sql": "UPDATE `Deutsche Bahn Train Schedule` SET `To` = 'Istanbul', `From` = 'New Entry', `Distance (km)` = '35' WHERE `Name` = 'Coastal Line';", "label": [ "done" ], "wrong_sql": "UPDATE `Deutsche Bahn Train Schedule` SET `To` = 'Istanbul', From = 'New Entry', `Distance (km)` = '35' WHERE `Name` = 'Coastal Line';", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "From", "error_reason": "reserved" }
dbbench_sft_0969
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Name is 'Stephanie Rodriguez': set Party to Copenhagen, Percentage to 45.7, Status to Updated Value.\nThe name of this table is Pennsylvania Election Results, and the headers of this table are Name,Party,Votes,Percentage,Status." }, { ...
{ "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": "Pennsylvania Election Results", "sql": "UPDATE `Pennsylvania Election Results` SET `Party` = 'Copenhagen', `Percentage` = '45.7', `Status` = 'Updated Value' WHERE `Name` = 'Stephanie Rodriguez';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0093
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Name is 'Lisinopril': set Number to 51.\nThe name of this table is Drug Approval Database, and the headers of this table are Name,Date,Type,Number,Dosage (mg)." }, { "role": "assistant", "content": "Final: UPDATE `Drug Approval Dat...
{ "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": "Drug Approval Database", "sql": "UPDATE `Drug Approval Database` SET `Number` = '51' WHERE `Name` = 'Lisinopril';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0867
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Beta' for 'Date', 'Jennifer Sanchez' for 'Opponent', 'Vancouver' for 'Result', 'Delta' for 'Score', '51' for 'Rank', '7' for 'Attendance'.\nThe name of this table is National League 2005 Season Standings, and the header...
{ "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": "National League 2005 Season Standings", "sql": "INSERT INTO `National League 2005 Season Standings` (`Date`, `Opponent`, `Result`, `Score`, `Rank`, `Attendance`) VALUES ('Beta', 'Jennifer Sanchez', 'Vancouver', 'Delta', '51', '7');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1161
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Release is 'January 8, 2009': set Label to New Entry, Title to Jacksonville.\nThe name of this table is Led Zeppelin Discography, and the headers of this table are Release,Title,Format,Label,No." }, { "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": "Led Zeppelin Discography", "sql": "UPDATE `Led Zeppelin Discography` SET `Label` = 'New Entry', `Title` = 'Jacksonville' WHERE `Release` = 'January 8, 2009';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1009
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '14' for 'No', 'Alpha' for 'Driver', 'Gamma' for 'Time/Retired', '84' for 'Laps', '95.4' for 'Points'.\nThe name of this table is F1 Suzuka Grand Prix Results, and the headers of this table are No,Driver,Time/Retired,Lap...
{ "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": "F1 Suzuka Grand Prix Results", "sql": "INSERT INTO `F1 Suzuka Grand Prix Results` (`No`, `Driver`, `Time/Retired`, `Laps`, `Points`) VALUES ('14', 'Alpha', 'Gamma', '84', '95.4');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1035
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '25' for 'Rank', 'Donna Smith' for 'Name', 'Delta' for 'Country', '23' for 'Students', '40.4' for 'Score'.\nThe name of this table is University Rankings 2019, and the headers of this table are Rank,Name,Country,Students...
{ "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": "University Rankings 2019", "sql": "INSERT INTO `University Rankings 2019` (`Rank`, `Name`, `Country`, `Students`, `Score`) VALUES ('25', 'Donna Smith', 'Delta', '23', '40.4');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0820
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Delta' for 'Athlete', 'Mark Allen' for 'Event', '91.1' for 'Race 1\nTime', '33.7' for 'Race 2\nTime', '41.0' for 'Total\nTime', '55' for 'Total\nRank'.\nThe name of this table is Bobsled Athletes Results, and the header...
{ "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": "Bobsled Athletes Results", "sql": "INSERT INTO `Bobsled Athletes Results` (`Athlete`, `Event`, `Race 1\nTime`, `Race 2\nTime`, `Total\nTime`, `Total\nRank`) VALUES ('Delta', 'Mark Allen', '91.1', '33.7', '41.0', '55');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0877
[ { "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: INSERT INTO `Railway_Stations_UK` (`No`, `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": "Railway_Stations_UK", "sql": "INSERT INTO `Railway_Stations_UK` (`No`, `Name`, `From`, `To`, `Distance (km)`, `Platforms`) VALUES ('8', 'London', 'Gamma', 'Delta', '64', '4');", "label": [ "done" ], "wrong_sql": "INSERT INTO `Railway_Stations_UK` (`No`, `Name`, `From`, To, `Distance (km)`, `Platforms`) VALUES ('8', 'London', 'Gamma', 'Delta', '64', '4');", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "To", "error_reason": "reserved" }
dbbench_sft_0300
[ { "role": "user", "content": "[TASK=DB]\n[(234.96,)]" }, { "role": "assistant", "content": "Final: SELECT MAX(`Total Time`) FROM `Alpine Skiing Athletes Results` WHERE `Event` = 'Combined'" } ]
{ "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": "Alpine Skiing Athletes Results", "sql": "SELECT MAX(`Total\nTime`) FROM `Alpine Skiing Athletes Results` WHERE `Event` = 'Combined';", "label": [ "234.96" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0530
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '29' for 'Rank', 'Beta' for 'Island', '53.3' for 'Area\n(km²)', '59.9' for 'Area\n(sq mi)', 'Gamma' for 'Country/Region'.\nThe name of this table is World_Islands_Database, and the headers of this table are Rank,Island,A...
{ "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 ('29', 'Beta', '53.3', '59.9', 'Gamma');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0878