messages
listlengths
2
2
metadata
dict
id
stringlengths
16
16
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '34' for 'No', 'Indonesia' for 'Driver', 'Argentina' for 'Time/Retired', '74' for 'Laps', '52.2' for 'Points'.\nThe name of this table is F1 Silverstone Grand Prix Results, and the headers of this table are No,Driver,Tim...
{ "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 Silverstone Grand Prix Results", "sql": "INSERT INTO `F1 Silverstone Grand Prix Results` (`No`, `Driver`, `Time/Retired`, `Laps`, `Points`) VALUES ('34', 'Indonesia', 'Argentina', '74', '52.2');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1087
[ { "role": "user", "content": "[TASK=DB]\n[(3,)]" }, { "role": "assistant", "content": "Final: SELECT COUNT(*) FROM `Panthers Season Results` WHERE `Opponent` = 'Tigers'" } ]
{ "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": "Panthers Season Results", "sql": "SELECT COUNT(*) FROM `Panthers Season Results` WHERE `Opponent` = 'Tigers';", "label": [ "3" ], "wrong_sql": "SELECT COUNT(*) FROM `Panthers Season Results` WHERE `Opponent` = 'tigers';", "wrong_val": "tigers", "correct_val": "Tigers", "where_col": "Opponent", "error_col": null, "error_reason": null }
dbbench_sft_0208
[ { "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 'Area\n(km²)' at line 1" }, { "role": "assistant", "content": "Final: UPDATE `Islands of Japan` 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": "Islands of Japan", "sql": "UPDATE `Islands of Japan` SET `Rank` = '30', `Area\n(km²)` = '66.3' WHERE `Island` = 'Skye';", "label": [ "done" ], "wrong_sql": "UPDATE `Islands of Japan` SET `Rank` = '30', Area\n(km²) = '66.3' WHERE `Island` = 'Skye';", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Area\n(km²)", "error_reason": "special" }
dbbench_sft_0046
[ { "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 `University Rankings 2018` (`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": "University Rankings 2018", "sql": "INSERT INTO `University Rankings 2018` (`Rank`, `Name`, `Country`, `Students`, `Score`) VALUES ('23', 'Gamma', 'Alpha', '49', '40.1');", "label": [ "done" ], "wrong_sql": "INSERT INTO `University Rankings 2018` (`Rank`, Name, `Country`, `Students`, `Score`) VALUES ('23', 'Gamma', 'Alpha', '49', '40.1');", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Name", "error_reason": "reserved" }
dbbench_sft_0193
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Gamma' for 'Date', 'Michael Hill' for 'Opponent', 'London' for 'Result', 'Jeffrey Young' for 'Score', '59' for 'Rank', '44' for 'Attendance'.\nThe name of this table is Wolves_Season_Results, and the headers of this tab...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "Wolves_Season_Results", "sql": "INSERT INTO `Wolves_Season_Results` (`Date`, `Opponent`, `Result`, `Score`, `Rank`, `Attendance`) VALUES ('Gamma', 'Michael Hill', 'London', 'Jeffrey Young', '59', '44');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0974
[ { "role": "user", "content": "[TASK=DB]\n[(3,)]" }, { "role": "assistant", "content": "Final: SELECT COUNT(*) FROM `Ohio_Election_Results` WHERE `Party` = 'Republican'" } ]
{ "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": "Ohio_Election_Results", "sql": "SELECT COUNT(*) FROM `Ohio_Election_Results` WHERE `Party` = 'Republican';", "label": [ "3" ], "wrong_sql": "SELECT COUNT(*) FROM `Ohio_Election_Results` WHERE `Party` = 'REPUBLICAN';", "wrong_val": "REPUBLICAN", "correct_val": "Republican", "where_col": "Party", "error_col": null, "error_reason": null }
dbbench_sft_0108
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Name is 'Aspirin': set Dosage (mg) to 80.2, Date to Mumbai.\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: UPDAT...
{ "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 `Dosage (mg)` = '80.2', `Date` = 'Mumbai' 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_0704
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Gamma' for 'Name', 'Alpha' for 'From', 'Gamma' for 'To', 'Epsilon' for 'Position', 'Delta' for 'Unit'.\nThe name of this table is Military Leaders Table, and the headers of this table are Name,From,To,Position,Unit." ...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "Military Leaders Table", "sql": "INSERT INTO `Military Leaders Table` (`Name`, `From`, `To`, `Position`, `Unit`) VALUES ('Gamma', 'Alpha', 'Gamma', 'Epsilon', 'Delta');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0402
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Date is 'February 25, 2022': set Opponent to Carol Roberts.\nThe name of this table is Lions Season Results, and the headers of this table are Date,Opponent,Result,Score,Rank,Attendance." }, { "role": "assistant", "content": "Final...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE", "table_name": "Lions Season Results", "sql": "UPDATE `Lions Season Results` SET `Opponent` = 'Carol Roberts' WHERE `Date` = 'February 25, 2022';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0801
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Istanbul' for 'Athlete', 'Malaysia' for 'Event', '86.5' for 'Race 1\nTime', '71.3' for 'Race 2\nTime', '78.2' for 'Total\nTime', '87' for 'Total\nRank'.\nThe name of this table is Alpine_Skiing_Athletes_Results, and the...
{ "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": "Alpine_Skiing_Athletes_Results", "sql": "INSERT INTO `Alpine_Skiing_Athletes_Results` (`Athlete`, `Event`, `Race 1\nTime`, `Race 2\nTime`, `Total\nTime`, `Total\nRank`) VALUES ('Istanbul', 'Malaysia', '86.5', '71.3', '78.2', '87');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0162
[ { "role": "user", "content": "[TASK=DB]\n[('New Zealand',), ('Peru',), ('France',)]" }, { "role": "assistant", "content": "Final: SELECT `Nation` FROM `2016 Olympic Medal Tally` WHERE `Silver` > 15" } ]
{ "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": "2016 Olympic Medal Tally", "sql": "SELECT `Nation` FROM `2016 Olympic Medal Tally` WHERE `Silver` > 15;", "label": [ "New Zealand", "Peru", "France" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0429
[ { "role": "user", "content": "[TASK=DB]\n[(12.0,)]" }, { "role": "assistant", "content": "Final: SELECT MAX(`Silver`) FROM `Winter Olympics Medal Count` WHERE `Nation` = 'Spain'" } ]
{ "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": "Winter Olympics Medal Count", "sql": "SELECT MAX(`Silver`) FROM `Winter Olympics Medal Count` WHERE `Nation` = 'Spain';", "label": [ "12.0" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0771
[ { "role": "user", "content": "[TASK=DB]\n[('111.68',)]" }, { "role": "assistant", "content": "Final: SELECT `Race 2 Time` FROM `World Cup Competition Records` WHERE `Athlete` = 'David Johnson'" } ]
{ "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": "World Cup Competition Records", "sql": "SELECT `Race 2\nTime` FROM `World Cup Competition Records` WHERE `Athlete` = 'David Johnson';", "label": [ "111.68" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0713
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '48' for 'No', 'Beta' for 'Name', 'Finland' for 'From', 'Gamma' for 'To', '18' for 'Distance (km)', '18' for 'Platforms'.\nThe name of this table is JR East Train Schedule, and the headers of this table are No,Name,From,...
{ "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": "JR East Train Schedule", "sql": "INSERT INTO `JR East Train Schedule` (`No`, `Name`, `From`, `To`, `Distance (km)`, `Platforms`) VALUES ('48', 'Beta', 'Finland', 'Gamma', '18', '18');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0262
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Name is 'Rajdhani Express': set To to New Entry, No to 13.\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: ...
{ "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 `To` = 'New Entry', `No` = '13' WHERE `Name` = 'Rajdhani Express';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1158
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Address is '995 River St': set Price to 56, Year to 43, Level to 12.\nThe name of this table is Real Estate 2023, and the headers of this table are Address,Price,Area\n(sq ft),Year,Level." }, { "role": "assistant", "content": "Fina...
{ "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 2023", "sql": "UPDATE `Real Estate 2023` SET `Price` = '56', `Year` = '43', `Level` = '12' WHERE `Address` = '995 River St';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0667
[ { "role": "user", "content": "[TASK=DB]\n[('16',)]" }, { "role": "assistant", "content": "Final: SELECT `Total Rank` FROM `World Cup Competition Records` WHERE `Athlete` = 'Sharon Smith'" } ]
{ "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": "World Cup Competition Records", "sql": "SELECT `Total\nRank` FROM `World Cup Competition Records` WHERE `Athlete` = 'Sharon Smith';", "label": [ "16" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1020
[ { "role": "user", "content": "[TASK=DB]\n[(1,)]" }, { "role": "assistant", "content": "Final: SELECT COUNT(*) FROM `Actress_Filmography` WHERE `Genre` = 'Musical'" } ]
{ "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": "Actress_Filmography", "sql": "SELECT COUNT(*) FROM `Actress_Filmography` WHERE `Genre` = 'Musical';", "label": [ "1" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0021
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Name is 'Atorvastatin': set Dosage (mg) to 39.0, Date to Beijing.\nThe name of this table is FDA_Approved_Medications, and the headers of this table are Name,Date,Type,Number,Dosage (mg)." }, { "role": "assistant", "content": "Fina...
{ "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 `Dosage (mg)` = '39.0', `Date` = 'Beijing' WHERE `Name` = 'Atorvastatin';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1139
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '34' for 'No', 'Beta' for 'Driver', 'Denmark' for 'Time/Retired', '46' for 'Laps', '44.9' for 'Points'.\nThe name of this table is 2020 Formula One Season, and the headers of this table are No,Driver,Time/Retired,Laps,Po...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "2020 Formula One Season", "sql": "INSERT INTO `2020 Formula One Season` (`No`, `Driver`, `Time/Retired`, `Laps`, `Points`) VALUES ('34', 'Beta', 'Denmark', '46', '44.9');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0189
[ { "role": "user", "content": "[TASK=DB]\n[(1,)]" }, { "role": "assistant", "content": "Final: SELECT COUNT(*) FROM `Pharmacological Data Table` WHERE `Cell type` = 'Neuron'" } ]
{ "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": "Pharmacological Data Table", "sql": "SELECT COUNT(*) FROM `Pharmacological Data Table` WHERE `Cell type` = 'Neuron';", "label": [ "1" ], "wrong_sql": "SELECT COUNT(*) FROM `Pharmacological Data Table` WHERE `Cell type` = 'NEURON';", "wrong_val": "NEURON", "correct_val": "Neuron", "where_col": "Cell type", "error_col": null, "error_reason": null }
dbbench_sft_0030
[ { "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 'Cell type' at line 1" }, { "role": "assistant", "content": "Final: INSERT INTO `Pharmacological Data Table...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT_error_recovery", "table_name": "Pharmacological Data Table", "sql": "INSERT INTO `Pharmacological Data Table` (`Cell type`, `Organ/System`, `Activators ligands --> Gq-GPCRs`, `Effects`) VALUES ('Rebecca Harris', 'Delta', 'Delta', 'Carol Green');", "label": [ "done" ], "wrong_sql": "INSERT INTO `Pharmacological Data Table` (Cell type, `Organ/System`, `Activators ligands --> Gq-GPCRs`, `Effects`) VALUES ('Rebecca Harris', 'Delta', 'Delta', 'Carol Green');", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Cell type", "error_reason": "special" }
dbbench_sft_1189
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Gamma' for 'Athlete', 'Gamma' for 'Event', '81.1' for 'Race 1\nTime', '48.2' for 'Race 2\nTime', '23.3' for 'Total\nTime', '95' for 'Total\nRank'.\nThe name of this table is European Championships Competition Records, 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": "European Championships Competition Records", "sql": "INSERT INTO `European Championships Competition Records` (`Athlete`, `Event`, `Race 1\nTime`, `Race 2\nTime`, `Total\nTime`, `Total\nRank`) VALUES ('Gamma', 'Gamma', '81.1', '48.2', '23.3', '95');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0763
[ { "role": "user", "content": "[TASK=DB]\n[('622 Oak St',), ('510 Hill St',), ('479 Oak St',)]" }, { "role": "assistant", "content": "Final: SELECT `Address` FROM `Toronto_Property_Listings` WHERE `Level` > 14" } ]
{ "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": "Toronto_Property_Listings", "sql": "SELECT `Address` FROM `Toronto_Property_Listings` WHERE `Level` > 14;", "label": [ "622 Oak St", "510 Hill St", "479 Oak St" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1000
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '93' for 'No', 'Alpha' for 'Name', 'Epsilon' for 'From', 'Alpha' for 'To', '53' for 'Distance (km)', '81' for 'Platforms'.\nThe name of this table is Railway Stations Germany, and the headers of this table are No,Name,Fr...
{ "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": "Railway Stations Germany", "sql": "INSERT INTO `Railway Stations Germany` (`No`, `Name`, `From`, `To`, `Distance (km)`, `Platforms`) VALUES ('93', 'Alpha', 'Epsilon', 'Alpha', '53', '81');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0572
[ { "role": "user", "content": "[TASK=DB]\n[(833.7,)]" }, { "role": "assistant", "content": "Final: SELECT SUM(`Box Office`) FROM `Sci-Fi Films 1990s` WHERE `Title` = 'Dark Waters'" } ]
{ "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": "Sci-Fi Films 1990s", "sql": "SELECT SUM(`Box Office`) FROM `Sci-Fi Films 1990s` WHERE `Title` = 'Dark Waters';", "label": [ "833.7" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1007
[ { "role": "user", "content": "[TASK=DB]\n[('Retired',)]" }, { "role": "assistant", "content": "Final: SELECT `Status` FROM `Satellite_Communications_Data` ORDER BY `Uplink (MHz)` 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_error_recovery", "table_name": "Satellite_Communications_Data", "sql": "SELECT `Status` FROM `Satellite_Communications_Data` ORDER BY `Uplink (MHz)` ASC LIMIT 1;", "label": [ "Retired" ], "wrong_sql": "SELECT Status FROM `Satellite_Communications_Data` ORDER BY `Uplink (MHz)` ASC LIMIT 1;", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Status", "error_reason": "reserved" }
dbbench_sft_0102
[ { "role": "user", "content": "[TASK=DB]\n[('6',)]" }, { "role": "assistant", "content": "Final: SELECT `Rank` FROM `Europe Higher Education Data` WHERE `Country` = 'Chile'" } ]
{ "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": "Europe Higher Education Data", "sql": "SELECT `Rank` FROM `Europe Higher Education Data` WHERE `Country` = 'Chile';", "label": [ "6" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1011
[ { "role": "user", "content": "[TASK=DB]\n[(44146.0,)]" }, { "role": "assistant", "content": "Final: SELECT SUM(`18 to 19`) FROM `Central Census Data` WHERE `Region` = 'Samara'" } ]
{ "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": "Central Census Data", "sql": "SELECT SUM(`18 to 19`) FROM `Central Census Data` WHERE `Region` = 'Samara';", "label": [ "44146.0" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0982
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Epsilon' for 'Date', 'Alpha' for 'Opponent', 'Gamma' for 'Result', 'Alpha' for 'Score', '35' for 'Rank', '98' for 'Attendance'.\nThe name of this table is National League 2004 Season Standings, and the headers of this 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": "INSERT", "table_name": "National League 2004 Season Standings", "sql": "INSERT INTO `National League 2004 Season Standings` (`Date`, `Opponent`, `Result`, `Score`, `Rank`, `Attendance`) VALUES ('Epsilon', 'Alpha', 'Gamma', 'Alpha', '35', '98');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1062
[ { "role": "user", "content": "[TASK=DB]\n[('Telesat-23',), ('Telesat-8',), ('Intelsat-29',)]" }, { "role": "assistant", "content": "Final: SELECT `Name` FROM `Satellite Communications Data` WHERE `Downlink (MHz)` < 3916" } ]
{ "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": "Satellite Communications Data", "sql": "SELECT `Name` FROM `Satellite Communications Data` WHERE `Downlink (MHz)` < 3916;", "label": [ "Telesat-23", "Telesat-8", "Intelsat-29" ], "wrong_sql": "SELECT `Name` FROM `Satellite Communications Data` WHERE Downlink (MHz) < 3916;", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Downlink (MHz)", "error_reason": "special" }
dbbench_sft_0476
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Beta' for 'Region', '20' for 'Population', '20' for '15 to 17', '83' for '18 to 19', '88' for '20 to 24'.\nThe name of this table is Southern Census Data, and the headers of this table are Region,Population,15 to 17,18 ...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "Southern Census Data", "sql": "INSERT INTO `Southern Census Data` (`Region`, `Population`, `15 to 17`, `18 to 19`, `20 to 24`) VALUES ('Beta', '20', '20', '83', '88');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0288
[ { "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 `2010_General_Election` (`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": "2010_General_Election", "sql": "INSERT INTO `2010_General_Election` (`Name`, `Party`, `Votes`, `Percentage`, `Status`) VALUES ('Finland', 'Epsilon', '90', '35.7', 'Alpha');", "label": [ "done" ], "wrong_sql": "INSERT INTO `2010_General_Election` (`Name`, `Party`, `Votes`, `Percentage`, Status) VALUES ('Finland', 'Epsilon', '90', '35.7', 'Alpha');", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Status", "error_reason": "reserved" }
dbbench_sft_1065
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Stephanie Green' for 'Name', 'Gamma' for 'Date', 'Barbara Davis' for 'Type', '23' for 'Number', '58.5' for 'Dosage (mg)'.\nThe name of this table is FDA_Approved_Medications, and the headers of this table are Name,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", "table_name": "FDA_Approved_Medications", "sql": "INSERT INTO `FDA_Approved_Medications` (`Name`, `Date`, `Type`, `Number`, `Dosage (mg)`) VALUES ('Stephanie Green', 'Gamma', 'Barbara Davis', '23', '58.5');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0913
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Address is '678 Main St': set Level to 14, Year to 90.\nThe name of this table is Real_Estate_2024, and the headers of this table are Address,Price,Area\n(sq ft),Year,Level." }, { "role": "assistant", "content": "Final: UPDATE `Rea...
{ "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_2024", "sql": "UPDATE `Real_Estate_2024` SET `Level` = '14', `Year` = '90' WHERE `Address` = '678 Main St';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1186
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '48' for 'Rank', 'Beta' for 'Nation', '10' for 'Gold', '19' for 'Silver', '55' for 'Bronze', '85' for 'Total'.\nThe name of this table is 1980 Olympic Medal Tally, and the headers of this table are Rank,Nation,Gold,Silve...
{ "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": "1980 Olympic Medal Tally", "sql": "INSERT INTO `1980 Olympic Medal Tally` (`Rank`, `Nation`, `Gold`, `Silver`, `Bronze`, `Total`) VALUES ('48', 'Beta', '10', '19', '55', '85');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0423
[ { "role": "user", "content": "[TASK=DB]\n[(1,)]" }, { "role": "assistant", "content": "Final: SELECT COUNT(*) FROM `Alpine_Skiing_Athletes_Results` WHERE `Athlete` = 'Thomas Turner'" } ]
{ "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": "Alpine_Skiing_Athletes_Results", "sql": "SELECT COUNT(*) FROM `Alpine_Skiing_Athletes_Results` WHERE `Athlete` = 'Thomas Turner';", "label": [ "1" ], "wrong_sql": "SELECT COUNT(*) FROM `Alpine_Skiing_Athletes_Results` WHERE `Athlete` = 'thomas turner';", "wrong_val": "thomas turner", "correct_val": "Thomas Turner", "where_col": "Athlete", "error_col": null, "error_reason": null }
dbbench_sft_0607
[ { "role": "user", "content": "[TASK=DB]\n[('Intelsat-18',), ('Telesat-3',), ('Intelsat-21',)]" }, { "role": "assistant", "content": "Final: SELECT `Name` FROM `Satellite_Communications_Data` WHERE `Downlink (MHz)` > 3858" } ]
{ "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": "Satellite_Communications_Data", "sql": "SELECT `Name` FROM `Satellite_Communications_Data` WHERE `Downlink (MHz)` > 3858;", "label": [ "Intelsat-18", "Telesat-3", "Intelsat-21" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0715
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Title is 'Silent Echo': set Release to Updated Value, Year to 4.\nThe name of this table is Comedy_Films_1990s, and the headers of this table are Year,Title,Genre,Box Office,Rating,Release." }, { "role": "assistant", "content": "Fi...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE", "table_name": "Comedy_Films_1990s", "sql": "UPDATE `Comedy_Films_1990s` SET `Release` = 'Updated Value', `Year` = '4' WHERE `Title` = 'Silent Echo';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1117
[ { "role": "user", "content": "[TASK=DB]\n[(1,)]" }, { "role": "assistant", "content": "Final: SELECT COUNT(*) FROM `2012 Formula One Season` WHERE `Time/Retired` = 'Electrical'" } ]
{ "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": "2012 Formula One Season", "sql": "SELECT COUNT(*) FROM `2012 Formula One Season` WHERE `Time/Retired` = 'Electrical';", "label": [ "1" ], "wrong_sql": "SELECT COUNT(*) FROM `2012 Formula One Season` WHERE Time/Retired = 'Electrical';", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Time/Retired", "error_reason": "special" }
dbbench_sft_0903
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Delta' for 'Release', 'Delta' for 'Title', 'Beta' for 'Format', 'Beta' for 'Label', '60' for 'No'.\nThe name of this table is Music Releases, and the headers of this table are Release,Title,Format,Label,No." }, { ...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "Music Releases", "sql": "INSERT INTO `Music Releases` (`Release`, `Title`, `Format`, `Label`, `No`) VALUES ('Delta', 'Delta', 'Beta', 'Beta', '60');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0394
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Cell type is 'Lymphocyte': set Effects to Updated Value.\nThe name of this table is Cell_Receptor_Database, and the headers of this table are Cell type,Organ/System,Activators ligands --> Gq-GPCRs,Effects." }, { "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": "Cell_Receptor_Database", "sql": "UPDATE `Cell_Receptor_Database` SET `Effects` = '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_0837
[ { "role": "user", "content": "[TASK=DB]\n[('Beijing',)]" }, { "role": "assistant", "content": "Final: SELECT `From` FROM `Amtrak Train Schedule` ORDER BY `Distance (km)` 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": "Amtrak Train Schedule", "sql": "SELECT `From` FROM `Amtrak Train Schedule` ORDER BY `Distance (km)` DESC LIMIT 1;", "label": [ "Beijing" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0187
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '71' for 'Rank', 'Gamma' for 'Name', 'Epsilon' for 'Country', '28' for 'Students', '93.5' for 'Score'.\nThe name of this table is University Rankings 2022, and the headers of this table are Rank,Name,Country,Students,Sco...
{ "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 2022", "sql": "INSERT INTO `University Rankings 2022` (`Rank`, `Name`, `Country`, `Students`, `Score`) VALUES ('71', 'Gamma', 'Epsilon', '28', '93.5');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0693
[ { "role": "user", "content": "[TASK=DB]\n[(262.0,)]" }, { "role": "assistant", "content": "Final: SELECT MIN(`Distance (km)`) FROM `SNCF Train Schedule` WHERE `To` = 'Phoenix'" } ]
{ "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": "SNCF Train Schedule", "sql": "SELECT MIN(`Distance (km)`) FROM `SNCF Train Schedule` WHERE `To` = 'Phoenix';", "label": [ "262.0" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0656
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Name is 'Jennifer Scott': set Party to Updated Value.\nThe name of this table is 2000 General Election, and the headers of this table are Name,Party,Votes,Percentage,Status." }, { "role": "assistant", "content": "Final: UPDATE `200...
{ "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": "2000 General Election", "sql": "UPDATE `2000 General Election` SET `Party` = 'Updated Value' WHERE `Name` = 'Jennifer Scott';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0059
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Karen Hill' for 'Name', '45.0' for 'Uplink (MHz)', '11.2' for 'Downlink (MHz)', 'Delta' for 'System', 'Rebecca Brown' for 'Status'.\nThe name of this table is Satellite Communications Data, and the headers of this table...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "Satellite Communications Data", "sql": "INSERT INTO `Satellite Communications Data` (`Name`, `Uplink (MHz)`, `Downlink (MHz)`, `System`, `Status`) VALUES ('Karen Hill', '45.0', '11.2', 'Delta', 'Rebecca Brown');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0963
[ { "role": "user", "content": "[TASK=DB]\n[('War',)]" }, { "role": "assistant", "content": "Final: SELECT `Genre` FROM `Drama Films 2010s` WHERE `Release` = 'April 18, 1970'" } ]
{ "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": "Drama Films 2010s", "sql": "SELECT `Genre` FROM `Drama Films 2010s` WHERE `Release` = 'April 18, 1970';", "label": [ "War" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0947
[ { "role": "user", "content": "[TASK=DB]\n[(6246.9,)]" }, { "role": "assistant", "content": "Final: SELECT AVG(`Uplink (MHz)`) FROM `Satellite Communications Data` WHERE `Status` = 'Standby'" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "aggregation-AVG", "table_name": "Satellite Communications Data", "sql": "SELECT AVG(`Uplink (MHz)`) FROM `Satellite Communications Data` WHERE `Status` = 'Standby';", "label": [ "6246.9" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0000
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Beta' for 'Date', 'Gamma' for 'Venue', 'Austria' for 'Opponent', 'Beta' for 'Score', 'Oslo' for 'Competition'.\nThe name of this table is Football_Matches_2020, and the headers of this table are Date,Venue,Opponent,Scor...
{ "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_2020", "sql": "INSERT INTO `Football_Matches_2020` (`Date`, `Venue`, `Opponent`, `Score`, `Competition`) VALUES ('Beta', 'Gamma', 'Austria', 'Beta', 'Oslo');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0330
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Alpha' for 'Date', 'Epsilon' for 'Venue', 'Sarah Anderson' for 'Opponent', 'Beijing' for 'Score', 'Delta' for 'Competition'.\nThe name of this table is Germany_Match_History, and the headers of this table are Date,Venue...
{ "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": "Germany_Match_History", "sql": "INSERT INTO `Germany_Match_History` (`Date`, `Venue`, `Opponent`, `Score`, `Competition`) VALUES ('Alpha', 'Epsilon', 'Sarah Anderson', 'Beijing', 'Delta');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1177
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '61' for 'Year', 'Alpha' for 'Car', '77' for 'Start', '55.5' for 'Qual', '61' for 'Rank', '98' for 'Finish', '19' for 'Laps'.\nThe name of this table is Indianapolis 500 History, 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": "Indianapolis 500 History", "sql": "INSERT INTO `Indianapolis 500 History` (`Year`, `Car`, `Start`, `Qual`, `Rank`, `Finish`, `Laps`) VALUES ('61', 'Alpha', '77', '55.5', '61', '98', '19');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1196
[ { "role": "user", "content": "[TASK=DB]\n[('Vienna',), ('Istanbul',), ('Dubai',)]" }, { "role": "assistant", "content": "Final: SELECT `To` FROM `JR_East_Train_Schedule` WHERE `Distance (km)` > 943" } ]
{ "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": "JR_East_Train_Schedule", "sql": "SELECT `To` FROM `JR_East_Train_Schedule` WHERE `Distance (km)` > 943;", "label": [ "Vienna", "Istanbul", "Dubai" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0214
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Time is '10:30': set Type to Sydney.\nThe name of this table is TV_Schedule_Spring_2023, and the headers of this table are Time,Title,Duration,Type,Rating." }, { "role": "assistant", "content": "Final: UPDATE `TV_Schedule_Spring_20...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE", "table_name": "TV_Schedule_Spring_2023", "sql": "UPDATE `TV_Schedule_Spring_2023` SET `Type` = 'Sydney' WHERE `Time` = '10:30';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0664
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '52' for 'Rank', 'Delta' for 'Island', '33.3' for 'Area\n(km²)', '75.1' for 'Area\n(sq mi)', 'Alpha' 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 ('52', 'Delta', '33.3', '75.1', 'Alpha');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1059
[ { "role": "user", "content": "[TASK=DB]\n[('CNS',)]" }, { "role": "assistant", "content": "Final: SELECT `Organ/System` FROM `Cell Receptor Database` WHERE `Effects` = 'Contraction'" } ]
{ "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": "Cell Receptor Database", "sql": "SELECT `Organ/System` FROM `Cell Receptor Database` WHERE `Effects` = 'Contraction';", "label": [ "CNS" ], "wrong_sql": "SELECT Organ/System FROM `Cell Receptor Database` WHERE `Effects` = 'Contraction';", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Organ/System", "error_reason": "special" }
dbbench_sft_0629
[ { "role": "user", "content": "[TASK=DB]\n[(1,)]" }, { "role": "assistant", "content": "Final: SELECT COUNT(*) FROM `Christopher Nolan Filmography` WHERE `Release` = 'December 11, 1976'" } ]
{ "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": "Christopher Nolan Filmography", "sql": "SELECT COUNT(*) FROM `Christopher Nolan Filmography` WHERE `Release` = 'December 11, 1976';", "label": [ "1" ], "wrong_sql": "SELECT COUNT(*) FROM `Christopher Nolan Filmography` WHERE `Release` = 'december 11, 1976';", "wrong_val": "december 11, 1976", "correct_val": "December 11, 1976", "where_col": "Release", "error_col": null, "error_reason": null }
dbbench_sft_0383
[ { "role": "user", "content": "[TASK=DB]\n[('Blood',)]" }, { "role": "assistant", "content": "Final: SELECT `Organ/System` FROM `Cell Receptor Database` WHERE `Activators ligands --> Gq-GPCRs` = 'Histamine'" } ]
{ "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": "Cell Receptor Database", "sql": "SELECT `Organ/System` FROM `Cell Receptor Database` WHERE `Activators ligands --> Gq-GPCRs` = 'Histamine';", "label": [ "Blood" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0053
[ { "role": "user", "content": "[TASK=DB]\n[(3,)]" }, { "role": "assistant", "content": "Final: SELECT COUNT(*) FROM `2002_General_Election` WHERE `Status` = 'Withdrawn'" } ]
{ "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": "2002_General_Election", "sql": "SELECT COUNT(*) FROM `2002_General_Election` WHERE `Status` = 'Withdrawn';", "label": [ "3" ], "wrong_sql": "SELECT COUNT(*) FROM `2002_General_Election` WHERE Status = 'Withdrawn';", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Status", "error_reason": "reserved" }
dbbench_sft_0049
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Name is 'Atorvastatin': set Type to Kevin Adams, Number to 44.\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: 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": "Drug Approval Database", "sql": "UPDATE `Drug Approval Database` SET `Type` = 'Kevin Adams', `Number` = '44' WHERE `Name` = 'Atorvastatin';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0754
[ { "role": "user", "content": "[TASK=DB]\n[(1,)]" }, { "role": "assistant", "content": "Final: SELECT COUNT(*) FROM `Drug Approval Database` WHERE `Date` = 'December 13, 2024'" } ]
{ "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": "Drug Approval Database", "sql": "SELECT COUNT(*) FROM `Drug Approval Database` WHERE `Date` = 'December 13, 2024';", "label": [ "1" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0606
[ { "role": "user", "content": "[TASK=DB]\n[('Crystal Peak',)]" }, { "role": "assistant", "content": "Final: SELECT `Title` FROM `James Cameron Filmography` WHERE `Genre` = 'Animation'" } ]
{ "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": "James Cameron Filmography", "sql": "SELECT `Title` FROM `James Cameron Filmography` WHERE `Genre` = 'Animation';", "label": [ "Crystal Peak" ], "wrong_sql": "SELECT `Title` FROM `James Cameron Filmography` WHERE `Genre` = 'animation';", "wrong_val": "animation", "correct_val": "Animation", "where_col": "Genre", "error_col": null, "error_reason": null }
dbbench_sft_0917
[ { "role": "user", "content": "[TASK=DB]\n[(486.56,)]" }, { "role": "assistant", "content": "Final: SELECT SUM(`Race 1 Time`) FROM `Biathlon Athletes Results` WHERE `Event` = 'Slalom'" } ]
{ "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": "Biathlon Athletes Results", "sql": "SELECT SUM(`Race 1\nTime`) FROM `Biathlon Athletes Results` WHERE `Event` = 'Slalom';", "label": [ "486.56" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0706
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'London' for 'Release', 'Delta' for 'Title', 'London' for 'Format', 'Lisa Baker' for 'Label', '8' for 'No'.\nThe name of this table is Music Releases, and the headers of this table are Release,Title,Format,Label,No." }...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "Music Releases", "sql": "INSERT INTO `Music Releases` (`Release`, `Title`, `Format`, `Label`, `No`) VALUES ('London', 'Delta', 'London', 'Lisa Baker', '8');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0544
[ { "role": "user", "content": "[TASK=DB]\n[(5,)]" }, { "role": "assistant", "content": "Final: SELECT COUNT(*) FROM `The Beatles Discography` WHERE `Label` = 'Atlantic'" } ]
{ "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": "The Beatles Discography", "sql": "SELECT COUNT(*) FROM `The Beatles Discography` WHERE `Label` = 'Atlantic';", "label": [ "5" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0440
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Alpha' for 'Region', '26' for 'Population', '15' for '15 to 17', '64' for '18 to 19', '70' for '20 to 24'.\nThe name of this table is Population by Age Group and Region in Brazil, and the headers of this table are Regio...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "Population by Age Group and Region in Brazil", "sql": "INSERT INTO `Population by Age Group and Region in Brazil` (`Region`, `Population`, `15 to 17`, `18 to 19`, `20 to 24`) VALUES ('Alpha', '26', '15', '64', '70');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0882
[ { "role": "user", "content": "[TASK=DB]\n[(5,)]" }, { "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": [ "5" ], "wrong_sql": "SELECT COUNT(*) FROM `Amtrak Train Schedule` WHERE `Name` = 'City Link ';", "wrong_val": "City Link ", "correct_val": "City Link", "where_col": "Name", "error_col": null, "error_reason": null }
dbbench_sft_0174
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '8' for 'Rank', 'Beta' for 'Nation', '22' for 'Gold', '36' for 'Silver', '40' for 'Bronze', '30' for 'Total'.\nThe name of this table is 2004_Olympic_Medal_Tally, and the headers of this table are Rank,Nation,Gold,Silver...
{ "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 ('8', 'Beta', '22', '36', '40', '30');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0938
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '77' for 'Year', 'Melbourne' for 'Car', '23' for 'Start', '30.7' for 'Qual', '74' for 'Rank', '61' for 'Finish', '94' for 'Laps'.\nThe name of this table is Race_Results, and the headers of this table are Year,Car,Start,...
{ "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": "Race_Results", "sql": "INSERT INTO `Race_Results` (`Year`, `Car`, `Start`, `Qual`, `Rank`, `Finish`, `Laps`) VALUES ('77', 'Melbourne', '23', '30.7', '74', '61', '94');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0700
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '60' for 'Rank', 'Deborah Campbell' for 'Island', '8.0' for 'Area\n(km²)', '58.4' 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 Ra...
{ "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 ('60', 'Deborah Campbell', '8.0', '58.4', 'Gamma');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0494
[ { "role": "user", "content": "[TASK=DB]\n[(1,)]" }, { "role": "assistant", "content": "Final: SELECT COUNT(*) FROM `Military_Leaders_Table` WHERE `From` = 'September 21, 1976'" } ]
{ "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": "Military_Leaders_Table", "sql": "SELECT COUNT(*) FROM `Military_Leaders_Table` WHERE `From` = 'September 21, 1976';", "label": [ "1" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0577
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Jacksonville' for 'Release', 'New York' for 'Title', 'Alpha' for 'Format', 'Beta' for 'Label', '98' for 'No'.\nThe name of this table is Pink Floyd Discography, and the headers of this table are Release,Title,Format,Lab...
{ "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 ('Jacksonville', 'New York', 'Alpha', 'Beta', '98');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0142
[ { "role": "user", "content": "[TASK=DB]\n[(35947.0,)]" }, { "role": "assistant", "content": "Final: SELECT SUM(`Attendance`) FROM `National League 2014 Season Standings` WHERE `Date` = 'May 2, 2002'" } ]
{ "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": "National League 2014 Season Standings", "sql": "SELECT SUM(`Attendance`) FROM `National League 2014 Season Standings` WHERE `Date` = 'May 2, 2002';", "label": [ "35947.0" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0121
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Region is 'St. Petersburg': set 18 to 19 to 48, 20 to 24 to 42, 15 to 17 to 67.\nThe name of this table is Population by Age Group and Region in India, and the headers of this table are Region,Population,15 to 17,18 to 19,20 to 24." }, { ...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE", "table_name": "Population by Age Group and Region in India", "sql": "UPDATE `Population by Age Group and Region in India` SET `18 to 19` = '48', `20 to 24` = '42', `15 to 17` = '67' WHERE `Region` = 'St. Petersburg';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0909
[ { "role": "user", "content": "[TASK=DB]\n[('21',)]" }, { "role": "assistant", "content": "Final: SELECT `Silver` FROM `Youth Olympics Medal Count` WHERE `Nation` = '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": "other", "table_name": "Youth Olympics Medal Count", "sql": "SELECT `Silver` FROM `Youth Olympics Medal Count` WHERE `Nation` = 'Israel';", "label": [ "21" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0014
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Name is 'Johns Hopkins': set Score to 78.4.\nThe name of this table is University Rankings 2021, and the headers of this table are Rank,Name,Country,Students,Score." }, { "role": "assistant", "content": "Final: UPDATE `University R...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE", "table_name": "University Rankings 2021", "sql": "UPDATE `University Rankings 2021` SET `Score` = '78.4' WHERE `Name` = 'Johns Hopkins';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0564
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Address is '722 Park St': set Year to 57, Level to 21, Price to 47.\nThe name of this table is Sydney Property Listings, and the headers of this table are Address,Price,Area\n(sq ft),Year,Level." }, { "role": "assistant", "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": "Sydney Property Listings", "sql": "UPDATE `Sydney Property Listings` SET `Year` = '57', `Level` = '21', `Price` = '47' WHERE `Address` = '722 Park St';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0266
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '21' for 'No', 'Delta' for 'Driver', 'Delta' for 'Time/Retired', '10' for 'Laps', '14.0' for 'Points'.\nThe name of this table is 2019 Formula One Season, and the headers of this table are No,Driver,Time/Retired,Laps,Poi...
{ "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": "2019 Formula One Season", "sql": "INSERT INTO `2019 Formula One Season` (`No`, `Driver`, `Time/Retired`, `Laps`, `Points`) VALUES ('21', 'Delta', 'Delta', '10', '14.0');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1106
[ { "role": "user", "content": "[TASK=DB]\n[('871',)]" }, { "role": "assistant", "content": "Final: SELECT `Area (sq ft)` FROM `Real Estate 2023` WHERE `Address` = '207 Lake St'" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "other_retry", "table_name": "Real Estate 2023", "sql": "SELECT `Area\n(sq ft)` FROM `Real Estate 2023` WHERE `Address` = '207 Lake St';", "label": [ "871" ], "wrong_sql": "SELECT `Area\n(sq ft)` FROM `Real Estate 2023` WHERE `Address` = '207';", "wrong_val": "207", "correct_val": "207 Lake St", "where_col": "Address", "error_col": null, "error_reason": null }
dbbench_sft_0369
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Alpha' for 'Name', 'Beta' for 'Date', 'Epsilon' for 'Type', '11' for 'Number', '26.8' for 'Dosage (mg)'.\nThe name of this table is FDA Approved Medications, and the headers of this table are Name,Date,Type,Number,Dosag...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "FDA Approved Medications", "sql": "INSERT INTO `FDA Approved Medications` (`Name`, `Date`, `Type`, `Number`, `Dosage (mg)`) VALUES ('Alpha', 'Beta', 'Epsilon', '11', '26.8');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1149
[ { "role": "user", "content": "[TASK=DB]\n[(319624.0,)]" }, { "role": "assistant", "content": "Final: SELECT SUM(`Attendance`) FROM `Eagles Season Results` WHERE `Result` = 'Loss'" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "aggregation-SUM_retry", "table_name": "Eagles Season Results", "sql": "SELECT SUM(`Attendance`) FROM `Eagles Season Results` WHERE `Result` = 'Loss';", "label": [ "319624.0" ], "wrong_sql": "SELECT SUM(`Attendance`) FROM `Eagles Season Results` WHERE `Result` = 'Losss';", "wrong_val": "Losss", "correct_val": "Loss", "where_col": "Result", "error_col": null, "error_reason": null }
dbbench_sft_0784
[ { "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 'Type' at line 1" }, { "role": "assistant", "content": "Final: UPDATE `Drug_Approval_Database` SET `Type` =...
{ "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": "Drug_Approval_Database", "sql": "UPDATE `Drug_Approval_Database` SET `Type` = 'Updated Value' WHERE `Name` = 'Amlodipine';", "label": [ "done" ], "wrong_sql": "UPDATE `Drug_Approval_Database` SET Type = 'Updated Value' WHERE `Name` = 'Amlodipine';", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Type", "error_reason": "reserved" }
dbbench_sft_1183
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Alpha' for 'Title', '94' for 'Year', '25' for 'Citations', 'San Diego' for 'Authors', 'Chile' for 'Venue'.\nThe name of this table is Engineering_Research_Papers, and the headers of this table are Title,Year,Citations,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": "Engineering_Research_Papers", "sql": "INSERT INTO `Engineering_Research_Papers` (`Title`, `Year`, `Citations`, `Authors`, `Venue`) VALUES ('Alpha', '94', '25', 'San Diego', 'Chile');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0177
[ { "role": "user", "content": "[TASK=DB]\n[(1,)]" }, { "role": "assistant", "content": "Final: SELECT COUNT(*) FROM `Computer Science Research Papers` WHERE `Title` = 'Efficient Methods Detection'" } ]
{ "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": "Computer Science Research Papers", "sql": "SELECT COUNT(*) FROM `Computer Science Research Papers` WHERE `Title` = 'Efficient Methods Detection';", "label": [ "1" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1176
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Name is 'Cornell': set Score to 54.5, Country to New Entry.\nThe name of this table is World Higher Education Data, and the headers of this table are Rank,Name,Country,Students,Score." }, { "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": "World Higher Education Data", "sql": "UPDATE `World Higher Education Data` SET `Score` = '54.5', `Country` = 'New Entry' WHERE `Name` = 'Cornell';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0004
[ { "role": "user", "content": "[TASK=DB]\n1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Release' at line 1" }, { "role": "assistant", "content": "Final: INSERT INTO `Music Releases` (`Release`, ...
{ "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": "Music Releases", "sql": "INSERT INTO `Music Releases` (`Release`, `Title`, `Format`, `Label`, `No`) VALUES ('Delta', 'Delta', 'Indonesia', 'Edinburgh', '83');", "label": [ "done" ], "wrong_sql": "INSERT INTO `Music Releases` (Release, `Title`, `Format`, `Label`, `No`) VALUES ('Delta', 'Delta', 'Indonesia', 'Edinburgh', '83');", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Release", "error_reason": "reserved" }
dbbench_sft_0078
[ { "role": "user", "content": "[TASK=DB]\n[(43172.7,)]" }, { "role": "assistant", "content": "Final: SELECT SUM(`Uplink (MHz)`) FROM `SES Satellite Fleet`" } ]
{ "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": "SES Satellite Fleet", "sql": "SELECT SUM(`Uplink (MHz)`) FROM `SES Satellite Fleet`;", "label": [ "43172.7" ], "wrong_sql": "SELECT SUM(Uplink (MHz)) FROM `SES Satellite Fleet`;", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Uplink (MHz)", "error_reason": "special" }
dbbench_sft_0972
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Cell type is 'Platelet': set Effects to Updated Value, Activators ligands --> Gq-GPCRs to Updated Value.\nThe name of this table is Pharmacological Data Table, and the headers of this table are Cell type,Organ/System,Activators ligands --> Gq-...
{ "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": "Pharmacological Data Table", "sql": "UPDATE `Pharmacological Data Table` SET `Effects` = 'Updated Value', `Activators ligands --> Gq-GPCRs` = 'Updated Value' WHERE `Cell type` = 'Platelet';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0937
[ { "role": "user", "content": "[TASK=DB]\n[('Lewis',), ('Borneo',), ('Islay',)]" }, { "role": "assistant", "content": "Final: SELECT `Island` FROM `World_Islands_Database` 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", "table_name": "World_Islands_Database", "sql": "SELECT `Island` FROM `World_Islands_Database` WHERE `Rank` < 6;", "label": [ "Lewis", "Borneo", "Islay" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0727
[ { "role": "user", "content": "[TASK=DB]\n[('Libertarian',), ('Republican',), ('Independent',)]" }, { "role": "assistant", "content": "Final: SELECT `Party` FROM `2022 General Election` WHERE `Percentage` > 16" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "comparison", "table_name": "2022 General Election", "sql": "SELECT `Party` FROM `2022 General Election` WHERE `Percentage` > 16;", "label": [ "Libertarian", "Republican", "Independent" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0834
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values '9' for 'Rank', 'Beta' for 'Name', 'Beta' for 'Country', '68' for 'Students', '79.2' for 'Score'.\nThe name of this table is Americas Higher Education Data, and the headers of this table are Rank,Name,Country,Students,Sc...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "INSERT", "table_name": "Americas Higher Education Data", "sql": "INSERT INTO `Americas Higher Education Data` (`Rank`, `Name`, `Country`, `Students`, `Score`) VALUES ('9', 'Beta', 'Beta', '68', '79.2');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0944
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Time is '13:00': set Duration to 80.\nThe name of this table is NBC Programming, and the headers of this table are Time,Title,Duration,Type,Rating." }, { "role": "assistant", "content": "Final: UPDATE `NBC Programming` SET `Duratio...
{ "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": "NBC Programming", "sql": "UPDATE `NBC Programming` SET `Duration` = '80' WHERE `Time` = '13:00';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0186
[ { "role": "user", "content": "[TASK=DB]\n[('6159',)]" }, { "role": "assistant", "content": "Final: SELECT `15 to 17` FROM `Population by Age Group and Region in Russia` WHERE `Region` = 'St. Petersburg'" } ]
{ "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": "Population by Age Group and Region in Russia", "sql": "SELECT `15 to 17` FROM `Population by Age Group and Region in Russia` WHERE `Region` = 'St. Petersburg';", "label": [ "6159" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0690
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Name is 'Mountain Route': set Distance (km) to 50, Platforms to 47, From to New Entry.\nThe name of this table is JR East Train Schedule, and the headers of this table are No,Name,From,To,Distance (km),Platforms." }, { "role": "assista...
{ "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": "JR East Train Schedule", "sql": "UPDATE `JR East Train Schedule` SET `Distance (km)` = '50', `Platforms` = '47', `From` = 'New Entry' WHERE `Name` = 'Mountain Route';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0524
[ { "role": "user", "content": "[TASK=DB]\nUpdate the record where Title is 'Iron Gate': set Year to 36, Rating to 1.9, Box Office to 30.7.\nThe name of this table is Actress Filmography, and the headers of this table are Year,Title,Genre,Box Office,Rating,Release." }, { "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": "Actress Filmography", "sql": "UPDATE `Actress Filmography` SET `Year` = '36', `Rating` = '1.9', `Box Office` = '30.7' WHERE `Title` = 'Iron Gate';", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0857
[ { "role": "user", "content": "[TASK=DB]\nInsert a new record into the table with values 'Beta' for 'Cell type', 'Gamma' for 'Organ/System', 'New York' for 'Activators ligands --> Gq-GPCRs', 'Epsilon' for 'Effects'.\nThe name of this table is Pharmacological_Data_Table, and the headers of this table are Cell...
{ "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 ('Beta', 'Gamma', 'New York', 'Epsilon');", "label": [ "done" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_0726
[ { "role": "user", "content": "[TASK=DB]\n1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Year' at line 1" }, { "role": "assistant", "content": "Final: UPDATE `Journal of Biology Publications` SET...
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "UPDATE_error_recovery", "table_name": "Journal of Biology Publications", "sql": "UPDATE `Journal of Biology Publications` SET `Citations` = '37', `Year` = '89' WHERE `Title` = 'Beyond Generation';", "label": [ "done" ], "wrong_sql": "UPDATE `Journal of Biology Publications` SET `Citations` = '37', Year = '89' WHERE `Title` = 'Beyond Generation';", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Year", "error_reason": "reserved" }
dbbench_sft_0470
[ { "role": "user", "content": "[TASK=DB]\n[(1,)]" }, { "role": "assistant", "content": "Final: SELECT COUNT(*) FROM `Real_Estate_2023` WHERE `Address` = '793 Elm St'" } ]
{ "task_type": null, "description": null, "room_type": null, "difficulty": null, "num_steps": null, "has_recovery_steps": null, "has_close_open": null, "has_admissible": null, "num_actions": null, "num_observations": null, "num_detours": null, "num_recovery_steps": null, "has_open_action": null, "subgoals": null, "total_chars": null, "trajectory_outcome": null, "failure_reason": null, "type": "counting", "table_name": "Real_Estate_2023", "sql": "SELECT COUNT(*) FROM `Real_Estate_2023` WHERE `Address` = '793 Elm St';", "label": [ "1" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1150
[ { "role": "user", "content": "[TASK=DB]\n[('4',)]" }, { "role": "assistant", "content": "Final: SELECT `Rank` FROM `Europe Higher Education Data` WHERE `Name` = 'Stanford'" } ]
{ "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": "Europe Higher Education Data", "sql": "SELECT `Rank` FROM `Europe Higher Education Data` WHERE `Name` = 'Stanford';", "label": [ "4" ], "wrong_sql": "SELECT `Rank` FROM `Europe Higher Education Data` WHERE Name = 'Stanford';", "wrong_val": null, "correct_val": null, "where_col": null, "error_col": "Name", "error_reason": "reserved" }
dbbench_sft_0360
[ { "role": "user", "content": "[TASK=DB]\n[('43782',)]" }, { "role": "assistant", "content": "Final: SELECT `15 to 17` FROM `Population by Age Group and Region in Russia` WHERE `Region` = 'St. Petersburg'" } ]
{ "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": "Population by Age Group and Region in Russia", "sql": "SELECT `15 to 17` FROM `Population by Age Group and Region in Russia` WHERE `Region` = 'St. Petersburg';", "label": [ "43782" ], "wrong_sql": null, "wrong_val": null, "correct_val": null, "where_col": null, "error_col": null, "error_reason": null }
dbbench_sft_1096