messages listlengths 2 2 | metadata dict | id stringlengths 16 16 |
|---|---|---|
[
{
"role": "user",
"content": "[TASK=DB]\n[('Musical',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Genre` FROM `Comedy Films 1990s` ORDER BY `Year` 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": "Comedy Films 1990s",
"sql": "SELECT `Genre` FROM `Comedy Films 1990s` ORDER BY `Year` DESC LIMIT 1;",
"label": [
"Musical"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0381 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Title is 'First Light': set Rating to 29.2, Year to 100, Release to Ronald Williams.\nThe name of this table is Action_Films_1990s, and the headers of this table are Year,Title,Genre,Box Office,Rating,Release."
},
{
"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": "Action_Films_1990s",
"sql": "UPDATE `Action_Films_1990s` SET `Rating` = '29.2', `Year` = '100', `Release` = 'Ronald Williams' WHERE `Title` = 'First Light';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0284 |
[
{
"role": "user",
"content": "[TASK=DB]\n1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Rank' at line 1"
},
{
"role": "assistant",
"content": "Final: UPDATE `Summer_Olympics_Medal_Count` SET `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": "UPDATE_error_recovery",
"table_name": "Summer_Olympics_Medal_Count",
"sql": "UPDATE `Summer_Olympics_Medal_Count` SET `Rank` = '99', `Total` = '95', `Bronze` = '36' WHERE `Nation` = 'Nigeria';",
"label": [
"done"
],
"wrong_sql": "UPDATE `Summer_Olympics_Medal_Count` SET Rank = '99', `Total` = '95', `Bronze` = '36' WHERE `Nation` = 'Nigeria';",
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": "Rank",
"error_reason": "reserved"
} | dbbench_sft_0586 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(1,)]"
},
{
"role": "assistant",
"content": "Final: SELECT COUNT(*) FROM `Psychology Research Papers` WHERE `Title` = 'Efficient Methods Neural Networks'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Psychology Research Papers",
"sql": "SELECT COUNT(*) FROM `Psychology Research Papers` WHERE `Title` = 'Efficient Methods Neural Networks';",
"label": [
"1"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0086 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Beyond Optimization',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Title` FROM `Computer Science Research Papers` ORDER BY `Year` ASC LIMIT 1"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "ranking",
"table_name": "Computer Science Research Papers",
"sql": "SELECT `Title` FROM `Computer Science Research Papers` ORDER BY `Year` ASC LIMIT 1;",
"label": [
"Beyond Optimization"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0894 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Colombia',), ('Austria',), ('Argentina',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Country` FROM `Asia Higher Education Data` WHERE `Students` < 31017"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Asia Higher Education Data",
"sql": "SELECT `Country` FROM `Asia Higher Education Data` WHERE `Students` < 31017;",
"label": [
"Colombia",
"Austria",
"Argentina"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0844 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Name is 'Intelsat-10': set Status to Updated Value, Uplink (MHz) to 94.1.\nThe name of this table is Intelsat_Satellite_Fleet, and the headers of this table are Name,Uplink (MHz),Downlink (MHz),System,Status."
},
{
"role": "assistant",... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "UPDATE",
"table_name": "Intelsat_Satellite_Fleet",
"sql": "UPDATE `Intelsat_Satellite_Fleet` SET `Status` = 'Updated Value', `Uplink (MHz)` = '94.1' WHERE `Name` = 'Intelsat-10';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0245 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(38691.0,)]"
},
{
"role": "assistant",
"content": "Final: SELECT SUM(`20 to 24`) FROM `Population_by_Age_Group_and_Region_in_Germany` WHERE `Region` = 'Chelyabinsk'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Population_by_Age_Group_and_Region_in_Germany",
"sql": "SELECT SUM(`20 to 24`) FROM `Population_by_Age_Group_and_Region_in_Germany` WHERE `Region` = 'Chelyabinsk';",
"label": [
"38691.0"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0345 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Jessica Sanchez',), ('James Harris',), ('Paul Lewis',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Driver` FROM `F1_Monaco_Grand_Prix_Results` WHERE `Laps` < 47"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "F1_Monaco_Grand_Prix_Results",
"sql": "SELECT `Driver` FROM `F1_Monaco_Grand_Prix_Results` WHERE `Laps` < 47;",
"label": [
"Jessica Sanchez",
"James Harris",
"Paul Lewis"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0643 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Last Stand',), ('Silver Ridge',), ('The Horizon',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Title` FROM `Horror Films 1990s` WHERE `Rating` > 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": "Horror Films 1990s",
"sql": "SELECT `Title` FROM `Horror Films 1990s` WHERE `Rating` > 6;",
"label": [
"Last Stand",
"Silver Ridge",
"The Horizon"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0271 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('2010',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Year` FROM `Sci-Fi_Films_2020s` 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",
"table_name": "Sci-Fi_Films_2020s",
"sql": "SELECT `Year` FROM `Sci-Fi_Films_2020s` WHERE `Genre` = 'Animation';",
"label": [
"2010"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0942 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(6,)]"
},
{
"role": "assistant",
"content": "Final: SELECT COUNT(*) FROM `European Championships Competition Records` WHERE `Event` = 'Super-G'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "European Championships Competition Records",
"sql": "SELECT COUNT(*) FROM `European Championships Competition Records` WHERE `Event` = 'Super-G';",
"label": [
"6"
],
"wrong_sql": "SELECT COUNT(*) FROM `European Championships Competition Records` WHERE `Event` = 'SUPER-G';",
"wrong_val": "SUPER-G",
"correct_val": "Super-G",
"where_col": "Event",
"error_col": null,
"error_reason": null
} | dbbench_sft_0626 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Name is 'Lisinopril': set Dosage (mg) to 38.6.\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": "Final: UPDATE `FDA Appr... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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)` = '38.6' WHERE `Name` = 'Lisinopril';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0022 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Title is 'Iron Gate': set Rating to 70.4.\nThe name of this table is Drama Films 2000s, and the headers of this table are Year,Title,Genre,Box Office,Rating,Release."
},
{
"role": "assistant",
"content": "Final: UPDATE `Drama Films... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Drama Films 2000s",
"sql": "UPDATE `Drama Films 2000s` SET `Rating` = '70.4' 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_1157 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Alpha' for 'Date', 'Delta' for 'Opponent', 'Greece' for 'Result', 'Alpha' for 'Score', '11' for 'Rank', '23' for 'Attendance'.\nThe name of this table is Eagles Season Results, and the headers of this table are Date,Opp... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "INSERT",
"table_name": "Eagles Season Results",
"sql": "INSERT INTO `Eagles Season Results` (`Date`, `Opponent`, `Result`, `Score`, `Rank`, `Attendance`) VALUES ('Alpha', 'Delta', 'Greece', 'Alpha', '11', '23');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_1168 |
[
{
"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 Philippines` SET `... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "UPDATE_error_recovery",
"table_name": "Islands of Philippines",
"sql": "UPDATE `Islands of Philippines` SET `Area\n(sq mi)` = '34.0', `Country/Region` = 'Updated Value', `Area\n(km²)` = '78.0' WHERE `Island` = 'Shetland';",
"label": [
"done"
],
"wrong_sql": "UPDATE `Islands of Philippines` SET `Area\n(sq mi)` = '34.0', `Country/Region` = 'Updated Value', Area\n(km²) = '78.0' WHERE `Island` = 'Shetland';",
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": "Area\n(km²)",
"error_reason": "special"
} | dbbench_sft_0006 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Digital',), ('Digital',), ('Vinyl',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Format` FROM `The Beatles Discography` WHERE `No` > 31"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "The Beatles Discography",
"sql": "SELECT `Format` FROM `The Beatles Discography` WHERE `No` > 31;",
"label": [
"Digital",
"Digital",
"Vinyl"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0775 |
[
{
"role": "user",
"content": "[TASK=DB]\n1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'From' at line 1"
},
{
"role": "assistant",
"content": "Final: INSERT INTO `SNCF Train Schedule` (`No`, `Na... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "INSERT_error_recovery",
"table_name": "SNCF Train Schedule",
"sql": "INSERT INTO `SNCF Train Schedule` (`No`, `Name`, `From`, `To`, `Distance (km)`, `Platforms`) VALUES ('68', 'Epsilon', 'Romania', 'Delta', '93', '3');",
"label": [
"done"
],
"wrong_sql": "INSERT INTO `SNCF Train Schedule` (`No`, `Name`, From, `To`, `Distance (km)`, `Platforms`) VALUES ('68', 'Epsilon', 'Romania', 'Delta', '93', '3');",
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": "From",
"error_reason": "reserved"
} | dbbench_sft_1072 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Epsilon' for 'Title', '84' for 'Year', '35' for 'Citations', 'Epsilon' for 'Authors', 'Beta' for 'Venue'.\nThe name of this table is Journal of Psychology Publications, and the headers of this table are Title,Year,Citat... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Journal of Psychology Publications",
"sql": "INSERT INTO `Journal of Psychology Publications` (`Title`, `Year`, `Citations`, `Authors`, `Venue`) VALUES ('Epsilon', '84', '35', 'Epsilon', 'Beta');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0483 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Epsilon' for 'Time', 'Margaret Anderson' for 'Title', '26' for 'Duration', 'Beta' for 'Type', '50.8' for 'Rating'.\nThe name of this table is Fox Programming, and the headers of this table are Time,Title,Duration,Type,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": "INSERT",
"table_name": "Fox Programming",
"sql": "INSERT INTO `Fox Programming` (`Time`, `Title`, `Duration`, `Type`, `Rating`) VALUES ('Epsilon', 'Margaret Anderson', '26', 'Beta', '50.8');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0514 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('6',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Rank` FROM `Division One 2000 Season Standings` WHERE `Opponent` = 'Lions'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Division One 2000 Season Standings",
"sql": "SELECT `Rank` FROM `Division One 2000 Season Standings` WHERE `Opponent` = 'Lions';",
"label": [
"6"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_1104 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Release is 'December 4, 1971': set No to 67, Title to New Entry.\nThe name of this table is Music Releases, and the headers of this table are Release,Title,Format,Label,No."
},
{
"role": "assistant",
"content": "Final: UPDATE `Musi... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "UPDATE",
"table_name": "Music Releases",
"sql": "UPDATE `Music Releases` SET `No` = '67', `Title` = 'New Entry' WHERE `Release` = 'December 4, 1971';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_1010 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('0-5',), ('2-4',), ('0-2',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Score` FROM `First Division 2008 Season Standings` WHERE `Rank` > 12"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "First Division 2008 Season Standings",
"sql": "SELECT `Score` FROM `First Division 2008 Season Standings` WHERE `Rank` > 12;",
"label": [
"0-5",
"2-4",
"0-2"
],
"wrong_sql": "SELECT `Score` FROM `First Division 2008 Season Standings` WHERE Rank > 12;",
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": "Rank",
"error_reason": "reserved"
} | dbbench_sft_0594 |
[
{
"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 'Start' at line 1"
},
{
"role": "assistant",
"content": "Final: INSERT INTO `Tony Gulotta Career Stats` (`Y... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Tony Gulotta Career Stats",
"sql": "INSERT INTO `Tony Gulotta Career Stats` (`Year`, `Car`, `Start`, `Qual`, `Rank`, `Finish`, `Laps`) VALUES ('45', 'Delta', '65', '17.3', '29', '33', '62');",
"label": [
"done"
],
"wrong_sql": "INSERT INTO `Tony Gulotta Career Stats` (`Year`, `Car`, Start, `Qual`, `Rank`, `Finish`, `Laps`) VALUES ('45', 'Delta', '65', '17.3', '29', '33', '62');",
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": "Start",
"error_reason": "reserved"
} | dbbench_sft_0235 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Gamma' for 'Address', '25' for 'Price', '92' for 'Area\n(sq ft)', '48' for 'Year', '79' for 'Level'.\nThe name of this table is Tokyo Property Listings, and the headers of this table are Address,Price,Area\n(sq ft),Year... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "INSERT",
"table_name": "Tokyo Property Listings",
"sql": "INSERT INTO `Tokyo Property Listings` (`Address`, `Price`, `Area\n(sq ft)`, `Year`, `Level`) VALUES ('Gamma', '25', '92', '48', '79');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0729 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values '99' for 'Year', 'Zurich' for 'Car', '2' for 'Start', '29.3' for 'Qual', '97' for 'Rank', '63' for 'Finish', '32' for 'Laps'.\nThe name of this table is Race_Results, and the headers of this table are Year,Car,Start,Qual... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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 ('99', 'Zurich', '2', '29.3', '97', '63', '32');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0753 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Time is '9:30': set Duration to 64, Type to David Jackson.\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 ... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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 `Duration` = '64', `Type` = 'David Jackson' WHERE `Time` = '9:30';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_1166 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values '1' for 'Rank', 'Epsilon' for 'Name', 'Epsilon' for 'Country', '65' for 'Students', '24.7' for 'Score'.\nThe name of this table is University Rankings 2020, 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": "University Rankings 2020",
"sql": "INSERT INTO `University Rankings 2020` (`Rank`, `Name`, `Country`, `Students`, `Score`) VALUES ('1', 'Epsilon', 'Epsilon', '65', '24.7');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0215 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('S-Band',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `System` 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": "other_retry",
"table_name": "Satellite Communications Data",
"sql": "SELECT `System` FROM `Satellite Communications Data` WHERE `Status` = 'Standby';",
"label": [
"S-Band"
],
"wrong_sql": "SELECT `System` FROM `Satellite Communications Data` WHERE `Status` = 'STANDBY';",
"wrong_val": "STANDBY",
"correct_val": "Standby",
"where_col": "Status",
"error_col": null,
"error_reason": null
} | dbbench_sft_0158 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Combined',), ('Giant Slalom',), ('Downhill',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Event` FROM `Alpine_Skiing_Athletes_Results` WHERE `Race 1 Time` < 97"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Alpine_Skiing_Athletes_Results",
"sql": "SELECT `Event` FROM `Alpine_Skiing_Athletes_Results` WHERE `Race 1\nTime` < 97;",
"label": [
"Combined",
"Giant Slalom",
"Downhill"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0646 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Title is 'Rising Sun': set Box Office to 15.3.\nThe name of this table is Actress Filmography, and the headers of this table are Year,Title,Genre,Box Office,Rating,Release."
},
{
"role": "assistant",
"content": "Final: UPDATE `Actr... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "UPDATE",
"table_name": "Actress Filmography",
"sql": "UPDATE `Actress Filmography` SET `Box Office` = '15.3' WHERE `Title` = 'Rising Sun';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0829 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Cell type is 'Hepatocyte': set Effects to Phoenix, Organ/System 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-GPCRs,Effects."
},
... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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` = 'Phoenix', `Organ/System` = 'Updated Value' WHERE `Cell type` = 'Hepatocyte';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0495 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Gamma' for 'Date', 'Alpha' for 'Opponent', 'Austin' for 'Result', 'Epsilon' for 'Score', '87' for 'Rank', '98' for 'Attendance'.\nThe name of this table is Lions Season Results, and the headers of this table are Date,Op... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Lions Season Results",
"sql": "INSERT INTO `Lions Season Results` (`Date`, `Opponent`, `Result`, `Score`, `Rank`, `Attendance`) VALUES ('Gamma', 'Alpha', 'Austin', 'Epsilon', '87', '98');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0450 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('James Rivera',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Name` FROM `2018 General Election` ORDER BY `Percentage` ASC LIMIT 1"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "ranking",
"table_name": "2018 General Election",
"sql": "SELECT `Name` FROM `2018 General Election` ORDER BY `Percentage` ASC LIMIT 1;",
"label": [
"James Rivera"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0668 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Car is '#57': set Finish to 86.\nThe name of this table is Emerson Fittipaldi Career Stats, and the headers of this table are Year,Car,Start,Qual,Rank,Finish,Laps."
},
{
"role": "assistant",
"content": "Final: UPDATE `Emerson Fitti... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Emerson Fittipaldi Career Stats",
"sql": "UPDATE `Emerson Fittipaldi Career Stats` SET `Finish` = '86' WHERE `Car` = '#57';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0106 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values '62' for 'Rank', 'Gamma' for 'Nation', '43' for 'Gold', '85' for 'Silver', '79' for 'Bronze', '18' for 'Total'.\nThe name of this table is 2012 Olympic Medal Tally, and the headers of this table are Rank,Nation,Gold,Silv... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "INSERT",
"table_name": "2012 Olympic Medal Tally",
"sql": "INSERT INTO `2012 Olympic Medal Tally` (`Rank`, `Nation`, `Gold`, `Silver`, `Bronze`, `Total`) VALUES ('62', 'Gamma', '43', '85', '79', '18');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0993 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Epsilon' for 'Cell type', 'Beta' for 'Organ/System', 'Epsilon' for 'Activators ligands --> Gq-GPCRs', 'Delta' for 'Effects'.\nThe name of this table is Cell_Receptor_Database, and the headers of this table are Cell 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": "INSERT",
"table_name": "Cell_Receptor_Database",
"sql": "INSERT INTO `Cell_Receptor_Database` (`Cell type`, `Organ/System`, `Activators ligands --> Gq-GPCRs`, `Effects`) VALUES ('Epsilon', 'Beta', 'Epsilon', 'Delta');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0305 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(25369.0,)]"
},
{
"role": "assistant",
"content": "Final: SELECT SUM(`Attendance`) FROM `Panthers_Season_Results` WHERE `Date` = 'May 8, 2007'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Panthers_Season_Results",
"sql": "SELECT SUM(`Attendance`) FROM `Panthers_Season_Results` WHERE `Date` = 'May 8, 2007';",
"label": [
"25369.0"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0056 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Car is '#72': set Start to 23.\nThe name of this table is Indianapolis 500 History, and the headers of this table are Year,Car,Start,Qual,Rank,Finish,Laps."
},
{
"role": "assistant",
"content": "Final: UPDATE `Indianapolis 500 Hist... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Indianapolis 500 History",
"sql": "UPDATE `Indianapolis 500 History` SET `Start` = '23' WHERE `Car` = '#72';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0243 |
[
{
"role": "user",
"content": "[TASK=DB]\n1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Date' at line 1"
},
{
"role": "assistant",
"content": "Final: INSERT INTO `Lions Season Results` (`Date`, ... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "INSERT_error_recovery",
"table_name": "Lions Season Results",
"sql": "INSERT INTO `Lions Season Results` (`Date`, `Opponent`, `Result`, `Score`, `Rank`, `Attendance`) VALUES ('Epsilon', 'Greece', 'Copenhagen', 'Delta', '25', '73');",
"label": [
"done"
],
"wrong_sql": "INSERT INTO `Lions Season Results` (Date, `Opponent`, `Result`, `Score`, `Rank`, `Attendance`) VALUES ('Epsilon', 'Greece', 'Copenhagen', 'Delta', '25', '73');",
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": "Date",
"error_reason": "reserved"
} | dbbench_sft_0256 |
[
{
"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(sq ft)' at line 1"
},
{
"role": "assistant",
"content": "Final: INSERT INTO `London Property Listin... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "London Property Listings",
"sql": "INSERT INTO `London Property Listings` (`Address`, `Price`, `Area\n(sq ft)`, `Year`, `Level`) VALUES ('Delta', '92', '53', '30', '1');",
"label": [
"done"
],
"wrong_sql": "INSERT INTO `London Property Listings` (`Address`, `Price`, Area\n(sq ft), `Year`, `Level`) VALUES ('Delta', '92', '53', '30', '1');",
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": "Area\n(sq ft)",
"error_reason": "special"
} | dbbench_sft_1043 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Name is 'SES-6': set Uplink (MHz) to 33.5.\nThe name of this table is Telesat_Satellite_Fleet, and the headers of this table are Name,Uplink (MHz),Downlink (MHz),System,Status."
},
{
"role": "assistant",
"content": "Final: UPDATE `... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Telesat_Satellite_Fleet",
"sql": "UPDATE `Telesat_Satellite_Fleet` SET `Uplink (MHz)` = '33.5' WHERE `Name` = 'SES-6';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0929 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Horizons',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Title` FROM `Music Releases` WHERE `Format` = 'CD'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Music Releases",
"sql": "SELECT `Title` FROM `Music Releases` WHERE `Format` = 'CD';",
"label": [
"Horizons"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0996 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Name is 'Levothyroxine': set Type to Stephanie Wright, Date to New Entry.\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":... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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` = 'Stephanie Wright', `Date` = 'New Entry' WHERE `Name` = 'Levothyroxine';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0028 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(3459.0,)]"
},
{
"role": "assistant",
"content": "Final: SELECT MAX(`Area (sq ft)`) FROM `Real Estate 2022` WHERE `Address` = '860 Main St'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "aggregation-MAX",
"table_name": "Real Estate 2022",
"sql": "SELECT MAX(`Area\n(sq ft)`) FROM `Real Estate 2022` WHERE `Address` = '860 Main St';",
"label": [
"3459.0"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0007 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values '47' for 'Year', 'Alpha' for 'Car', '22' for 'Start', '20.5' for 'Qual', '71' for 'Rank', '68' for 'Finish', '69' for 'Laps'.\nThe name of this table is Race_Results, and the headers of this table are Year,Car,Start,Qual... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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 ('47', 'Alpha', '22', '20.5', '71', '68', '69');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0110 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Giant Slalom',), ('Slalom',), ('Combined',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Event` FROM `European Championships Competition Records` WHERE `Race 1 Time` > 88"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "European Championships Competition Records",
"sql": "SELECT `Event` FROM `European Championships Competition Records` WHERE `Race 1\nTime` > 88;",
"label": [
"Giant Slalom",
"Slalom",
"Combined"
],
"wrong_sql": "SELECT `Event` FROM `European Championships Competition Records` WHERE Race 1\nTime > 88;",
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": "Race 1\nTime",
"error_reason": "special"
} | dbbench_sft_1154 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Region is 'Omsk': set 18 to 19 to 21.\nThe name of this table is Northern_Census_Data, and the headers of this table are Region,Population,15 to 17,18 to 19,20 to 24."
},
{
"role": "assistant",
"content": "Final: UPDATE `Northern_C... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "UPDATE",
"table_name": "Northern_Census_Data",
"sql": "UPDATE `Northern_Census_Data` SET `18 to 19` = '21' WHERE `Region` = 'Omsk';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0047 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Title is 'Silent Echo': set Genre to Taipei, Release to Warsaw.\nThe name of this table is Christopher Nolan Filmography, and the headers of this table are Year,Title,Genre,Box Office,Rating,Release."
},
{
"role": "assistant",
"con... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Christopher Nolan Filmography",
"sql": "UPDATE `Christopher Nolan Filmography` SET `Genre` = 'Taipei', `Release` = 'Warsaw' WHERE `Title` = 'Silent Echo';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0087 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Norepinephrine',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Activators ligands --> Gq-GPCRs` FROM `Cell Receptor Database` WHERE `Cell type` = 'Lymphocyte'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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 `Activators ligands --> Gq-GPCRs` FROM `Cell Receptor Database` WHERE `Cell type` = 'Lymphocyte';",
"label": [
"Norepinephrine"
],
"wrong_sql": "SELECT `Activators ligands --> Gq-GPCRs` FROM `Cell Receptor Database` WHERE Cell type = 'Lymphocyte';",
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": "Cell type",
"error_reason": "special"
} | dbbench_sft_0249 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('71.03',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Race 1 Time` FROM `Luge Athletes Results` WHERE `Event` = 'Giant 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": "other",
"table_name": "Luge Athletes Results",
"sql": "SELECT `Race 1\nTime` FROM `Luge Athletes Results` WHERE `Event` = 'Giant Slalom';",
"label": [
"71.03"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0778 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(17.8,)]"
},
{
"role": "assistant",
"content": "Final: SELECT SUM(`Percentage`) FROM `New_York_Election_Results` WHERE `Name` = 'Sharon Ramirez'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "New_York_Election_Results",
"sql": "SELECT SUM(`Percentage`) FROM `New_York_Election_Results` WHERE `Name` = 'Sharon Ramirez';",
"label": [
"17.8"
],
"wrong_sql": "SELECT SUM(`Percentage`) FROM `New_York_Election_Results` WHERE `Name` = 'Sharon-Ramirez';",
"wrong_val": "Sharon-Ramirez",
"correct_val": "Sharon Ramirez",
"where_col": "Name",
"error_col": null,
"error_reason": null
} | dbbench_sft_0426 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Island is 'Arran': set Country/Region to Updated Value, Rank to 2, Area\n(km²) to 79.4.\nThe name of this table is Islands of Scotland, and the headers of this table are Rank,Island,Area\n(km²),Area\n(sq mi),Country/Region."
},
{
"role... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "UPDATE",
"table_name": "Islands of Scotland",
"sql": "UPDATE `Islands of Scotland` SET `Country/Region` = 'Updated Value', `Rank` = '2', `Area\n(km²)` = '79.4' WHERE `Island` = 'Arran';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0619 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values '75' for 'No', 'Epsilon' for 'Name', 'Epsilon' for 'From', 'India' for 'To', '3' for 'Distance (km)', '6' for 'Platforms'.\nThe name of this table is Railway Stations Japan, 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": "Railway Stations Japan",
"sql": "INSERT INTO `Railway Stations Japan` (`No`, `Name`, `From`, `To`, `Distance (km)`, `Platforms`) VALUES ('75', 'Epsilon', 'Epsilon', 'India', '3', '6');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_1005 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('11035',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `15 to 17` FROM `Population_by_Age_Group_and_Region_in_Japan` WHERE `Region` = 'Nizhny Novgorod'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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_Japan",
"sql": "SELECT `15 to 17` FROM `Population_by_Age_Group_and_Region_in_Japan` WHERE `Region` = 'Nizhny Novgorod';",
"label": [
"11035"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0625 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(1,)]"
},
{
"role": "assistant",
"content": "Final: SELECT COUNT(*) FROM `Indianapolis 500 History` WHERE `Car` = '#42'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Indianapolis 500 History",
"sql": "SELECT COUNT(*) FROM `Indianapolis 500 History` WHERE `Car` = '#42';",
"label": [
"1"
],
"wrong_sql": "SELECT COUNT(*) FROM `Indianapolis 500 History` WHERE `Car` = '#42 ';",
"wrong_val": "#42 ",
"correct_val": "#42",
"where_col": "Car",
"error_col": null,
"error_reason": null
} | dbbench_sft_1131 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values '78' for 'Rank', 'Hong Kong' for 'Nation', '63' for 'Gold', '90' for 'Silver', '4' for 'Bronze', '25' for 'Total'.\nThe name of this table is Summer Olympics Medal Count, and the headers of this table are Rank,Nation,Gol... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Summer Olympics Medal Count",
"sql": "INSERT INTO `Summer Olympics Medal Count` (`Rank`, `Nation`, `Gold`, `Silver`, `Bronze`, `Total`) VALUES ('78', 'Hong Kong', '63', '90', '4', '25');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0979 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(111.55,)]"
},
{
"role": "assistant",
"content": "Final: SELECT MAX(`Race 2 Time`) FROM `World_Cup_Competition_Records` WHERE `Event` = 'Super-G'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "aggregation-MAX_retry",
"table_name": "World_Cup_Competition_Records",
"sql": "SELECT MAX(`Race 2\nTime`) FROM `World_Cup_Competition_Records` WHERE `Event` = 'Super-G';",
"label": [
"111.55"
],
"wrong_sql": "SELECT MAX(`Race 2\nTime`) FROM `World_Cup_Competition_Records` WHERE `Event` = 'Super-Gs';",
"wrong_val": "Super-Gs",
"correct_val": "Super-G",
"where_col": "Event",
"error_col": null,
"error_reason": null
} | dbbench_sft_0880 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Title is 'Revisiting Detection': set Venue to George Taylor, Year to 59, Citations to 56.\nThe name of this table is Psychology Research Papers, and the headers of this table are Title,Year,Citations,Authors,Venue."
},
{
"role": "assis... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Psychology Research Papers",
"sql": "UPDATE `Psychology Research Papers` SET `Venue` = 'George Taylor', `Year` = '59', `Citations` = '56' WHERE `Title` = 'Revisiting Detection';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0678 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(21.6,)]"
},
{
"role": "assistant",
"content": "Final: SELECT AVG(`Percentage`) FROM `2016 General Election` WHERE `Party` = 'Green'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "aggregation-AVG_retry",
"table_name": "2016 General Election",
"sql": "SELECT AVG(`Percentage`) FROM `2016 General Election` WHERE `Party` = 'Green';",
"label": [
"21.6"
],
"wrong_sql": "SELECT AVG(`Percentage`) FROM `2016 General Election` WHERE `Party` = 'GREEN';",
"wrong_val": "GREEN",
"correct_val": "Green",
"where_col": "Party",
"error_col": null,
"error_reason": null
} | dbbench_sft_0377 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Time is '20:30': set Rating to 30.1.\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 `Rating`... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "UPDATE",
"table_name": "NBC Programming",
"sql": "UPDATE `NBC Programming` SET `Rating` = '30.1' WHERE `Time` = '20:30';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0517 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Name is 'Stanford': set Score to 81.2.\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 Rankin... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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` = '81.2' WHERE `Name` = 'Stanford';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0904 |
[
{
"role": "user",
"content": "[TASK=DB]\n1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Rank' at line 1"
},
{
"role": "assistant",
"content": "Final: UPDATE `Asia_Higher_Education_Data` SET `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": "UPDATE_error_recovery",
"table_name": "Asia_Higher_Education_Data",
"sql": "UPDATE `Asia_Higher_Education_Data` SET `Score` = '20.8', `Students` = '36', `Rank` = '40' WHERE `Name` = 'Johns Hopkins';",
"label": [
"done"
],
"wrong_sql": "UPDATE `Asia_Higher_Education_Data` SET `Score` = '20.8', `Students` = '36', Rank = '40' WHERE `Name` = 'Johns Hopkins';",
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": "Rank",
"error_reason": "reserved"
} | dbbench_sft_0132 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Runner-up',), ('Runner-up',), ('Third',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Status` FROM `2004 General Election` WHERE `Percentage` > 19"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "2004 General Election",
"sql": "SELECT `Status` FROM `2004 General Election` WHERE `Percentage` > 19;",
"label": [
"Runner-up",
"Runner-up",
"Third"
],
"wrong_sql": "SELECT Status FROM `2004 General Election` WHERE `Percentage` > 19;",
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": "Status",
"error_reason": "reserved"
} | dbbench_sft_0283 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values '49' for 'Year', 'Vancouver' for 'Title', 'Phoenix' for 'Genre', '37.7' for 'Box Office', '55.2' for 'Rating', 'Brazil' for 'Release'.\nThe name of this table is Actress_Filmography, and the headers of this table are Yea... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Actress_Filmography",
"sql": "INSERT INTO `Actress_Filmography` (`Year`, `Title`, `Genre`, `Box Office`, `Rating`, `Release`) VALUES ('49', 'Vancouver', 'Phoenix', '37.7', '55.2', 'Brazil');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0231 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Gamma' for 'Name', 'Gamma' for 'Date', 'Delta' for 'Type', '37' for 'Number', '82.3' for 'Dosage (mg)'.\nThe name of this table is FDA Approved Medications, and the headers of this table are Name,Date,Type,Number,Dosage... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "INSERT",
"table_name": "FDA Approved Medications",
"sql": "INSERT INTO `FDA Approved Medications` (`Name`, `Date`, `Type`, `Number`, `Dosage (mg)`) VALUES ('Gamma', 'Gamma', 'Delta', '37', '82.3');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0548 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Novosibirsk',), ('St. Petersburg',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Region` FROM `Eastern Census Data` WHERE `18 to 19` < 10570"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Eastern Census Data",
"sql": "SELECT `Region` FROM `Eastern Census Data` WHERE `18 to 19` < 10570;",
"label": [
"Novosibirsk",
"St. Petersburg"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0730 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Sharon Hernandez',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Driver` FROM `F1 Silverstone Grand Prix Results` ORDER BY `Points` 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": "F1 Silverstone Grand Prix Results",
"sql": "SELECT `Driver` FROM `F1 Silverstone Grand Prix Results` ORDER BY `Points` DESC LIMIT 1;",
"label": [
"Sharon Hernandez"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0393 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(1.0,)]"
},
{
"role": "assistant",
"content": "Final: SELECT MIN(`No`) FROM `JR East Train Schedule`"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "JR East Train Schedule",
"sql": "SELECT MIN(`No`) FROM `JR East Train Schedule`;",
"label": [
"1.0"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0282 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Drama',), ('Reality',), ('Drama',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Type` FROM `Fox Programming` WHERE `Duration` > 90"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "comparison_error_recovery",
"table_name": "Fox Programming",
"sql": "SELECT `Type` FROM `Fox Programming` WHERE `Duration` > 90;",
"label": [
"Drama",
"Reality",
"Drama"
],
"wrong_sql": "SELECT Type FROM `Fox Programming` WHERE `Duration` > 90;",
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": "Type",
"error_reason": "reserved"
} | dbbench_sft_1197 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values '85' for 'No', 'Alpha' for 'Driver', 'Margaret Young' for 'Time/Retired', '50' for 'Laps', '57.3' for 'Points'.\nThe name of this table is 2008 Formula One Season, and the headers of this table are No,Driver,Time/Retired... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "2008 Formula One Season",
"sql": "INSERT INTO `2008 Formula One Season` (`No`, `Driver`, `Time/Retired`, `Laps`, `Points`) VALUES ('85', 'Alpha', 'Margaret Young', '50', '57.3');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0559 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Cell type is 'Hepatocyte': set Effects to New Entry.\nThe name of this table is Pharmacological_Data_Table, 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": "Pharmacological_Data_Table",
"sql": "UPDATE `Pharmacological_Data_Table` SET `Effects` = 'New Entry' WHERE `Cell type` = 'Hepatocyte';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0980 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(3,)]"
},
{
"role": "assistant",
"content": "Final: SELECT COUNT(*) FROM `World_Cup_Competition_Records` WHERE `Event` = 'Combined'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "counting",
"table_name": "World_Cup_Competition_Records",
"sql": "SELECT COUNT(*) FROM `World_Cup_Competition_Records` WHERE `Event` = 'Combined';",
"label": [
"3"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0129 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Australia' for 'Title', '31' for 'Year', '42' for 'Citations', 'Alpha' for 'Authors', 'Beta' for 'Venue'.\nThe name of this table is Chemistry_Research_Papers, and the headers of this table are Title,Year,Citations,Auth... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "INSERT",
"table_name": "Chemistry_Research_Papers",
"sql": "INSERT INTO `Chemistry_Research_Papers` (`Title`, `Year`, `Citations`, `Authors`, `Venue`) VALUES ('Australia', '31', '42', 'Alpha', 'Beta');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0719 |
[
{
"role": "user",
"content": "[TASK=DB]\n1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Name' at line 1"
},
{
"role": "assistant",
"content": "Final: UPDATE `Michigan Election Results` SET `Stat... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Michigan Election Results",
"sql": "UPDATE `Michigan Election Results` SET `Status` = 'Updated Value', `Party` = 'Nancy Hall' WHERE `Name` = 'Daniel Wilson';",
"label": [
"done"
],
"wrong_sql": "UPDATE `Michigan Election Results` SET `Status` = 'Updated Value', `Party` = 'Nancy Hall' WHERE Name = 'Daniel Wilson';",
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": "Name",
"error_reason": "reserved"
} | dbbench_sft_1174 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Canada' for 'Date', 'Mary Evans' for 'Opponent', 'Donna Thompson' for 'Result', 'Gamma' for 'Score', '2' for 'Rank', '69' for 'Attendance'.\nThe name of this table is Hawks Season Results, 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": "Hawks Season Results",
"sql": "INSERT INTO `Hawks Season Results` (`Date`, `Opponent`, `Result`, `Score`, `Rank`, `Attendance`) VALUES ('Canada', 'Mary Evans', 'Donna Thompson', 'Gamma', '2', '69');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_1044 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Cell type is 'Hepatocyte': set Organ/System to New Entry, 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 --> ... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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 `Organ/System` = 'New Entry', `Activators ligands --> Gq-GPCRs` = 'Updated Value' WHERE `Cell type` = 'Hepatocyte';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0413 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(1,)]"
},
{
"role": "assistant",
"content": "Final: SELECT COUNT(*) FROM `Drug_Approval_Database` WHERE `Name` = 'Lisinopril'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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 `Name` = 'Lisinopril';",
"label": [
"1"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0526 |
[
{
"role": "user",
"content": "[TASK=DB]\n1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'To' at line 1"
},
{
"role": "assistant",
"content": "Final: UPDATE `Command History 1940-1960` SET `To` = ... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "UPDATE_error_recovery",
"table_name": "Command History 1940-1960",
"sql": "UPDATE `Command History 1940-1960` SET `To` = 'Helsinki' WHERE `Name` = 'COL Jessica Taylor';",
"label": [
"done"
],
"wrong_sql": "UPDATE `Command History 1940-1960` SET To = 'Helsinki' WHERE `Name` = 'COL Jessica Taylor';",
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": "To",
"error_reason": "reserved"
} | dbbench_sft_0918 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Republican',), ('Green',), ('Democrat',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Party` FROM `2008 General Election` WHERE `Percentage` < 36"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "2008 General Election",
"sql": "SELECT `Party` FROM `2008 General Election` WHERE `Percentage` < 36;",
"label": [
"Republican",
"Green",
"Democrat"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0399 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Austin' for 'Name', 'Beta' for 'From', 'Epsilon' for 'To', 'Alpha' for 'Position', 'Epsilon' 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 ('Austin', 'Beta', 'Epsilon', 'Alpha', 'Epsilon');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0244 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(1,)]"
},
{
"role": "assistant",
"content": "Final: SELECT COUNT(*) FROM `NBC_Programming` WHERE `Time` = '13:00'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "NBC_Programming",
"sql": "SELECT COUNT(*) FROM `NBC_Programming` WHERE `Time` = '13:00';",
"label": [
"1"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0608 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Athlete is 'Robert Sanchez': set Race 1\nTime to 87.7, Total\nTime to 18.5.\nThe name of this table is Luge_Athletes_Results, and the headers of this table are Athlete,Event,Race 1\nTime,Race 2\nTime,Total\nTime,Total\nRank."
},
{
"rol... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "UPDATE",
"table_name": "Luge_Athletes_Results",
"sql": "UPDATE `Luge_Athletes_Results` SET `Race 1\nTime` = '87.7', `Total\nTime` = '18.5' WHERE `Athlete` = 'Robert Sanchez';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0928 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values '49' for 'Rank', 'Alpha' for 'Nation', '1' for 'Gold', '38' for 'Silver', '88' for 'Bronze', '15' for 'Total'.\nThe name of this table is Youth Olympics Medal Count, and the headers of this table are Rank,Nation,Gold,Sil... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Youth Olympics Medal Count",
"sql": "INSERT INTO `Youth Olympics Medal Count` (`Rank`, `Nation`, `Gold`, `Silver`, `Bronze`, `Total`) VALUES ('49', 'Alpha', '1', '38', '88', '15');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0477 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('August 10, 1981',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Date` FROM `Germany Match History` WHERE `Competition` = 'Copa America'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Germany Match History",
"sql": "SELECT `Date` FROM `Germany Match History` WHERE `Competition` = 'Copa America';",
"label": [
"August 10, 1981"
],
"wrong_sql": "SELECT `Date` FROM `Germany Match History` WHERE `Competition` = 'Copa';",
"wrong_val": "Copa",
"correct_val": "Copa America",
"where_col": "Competition",
"error_col": null,
"error_reason": null
} | dbbench_sft_0508 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Bangkok',), ('San Jose',), ('Mumbai',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `From` FROM `Amtrak Train Schedule` WHERE `Distance (km)` < 977"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Amtrak Train Schedule",
"sql": "SELECT `From` FROM `Amtrak Train Schedule` WHERE `Distance (km)` < 977;",
"label": [
"Bangkok",
"San Jose",
"Mumbai"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0062 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('April 7, 2024',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `To` FROM `Air Force Officers List` WHERE `From` = 'June 8, 2018'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "other_retry",
"table_name": "Air Force Officers List",
"sql": "SELECT `To` FROM `Air Force Officers List` WHERE `From` = 'June 8, 2018';",
"label": [
"April 7, 2024"
],
"wrong_sql": "SELECT `To` FROM `Air Force Officers List` WHERE `From` = 'June 8, 2018 ';",
"wrong_val": "June 8, 2018 ",
"correct_val": "June 8, 2018",
"where_col": "From",
"error_col": null,
"error_reason": null
} | dbbench_sft_0357 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values '56' for 'Rank', 'Daniel Ramirez' for 'Nation', '63' for 'Gold', '26' for 'Silver', '29' for 'Bronze', '48' for 'Total'.\nThe name of this table is 2000 Olympic Medal Tally, and the headers of this table are Rank,Nation,... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "2000 Olympic Medal Tally",
"sql": "INSERT INTO `2000 Olympic Medal Tally` (`Rank`, `Nation`, `Gold`, `Silver`, `Bronze`, `Total`) VALUES ('56', 'Daniel Ramirez', '63', '26', '29', '48');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0027 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Alpha' for 'Cell type', 'Beta' for 'Organ/System', 'Edinburgh' for 'Activators ligands --> Gq-GPCRs', 'Thomas Robinson' for 'Effects'.\nThe name of this table is Cell Receptor Database, and the headers of this table are... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "INSERT",
"table_name": "Cell Receptor Database",
"sql": "INSERT INTO `Cell Receptor Database` (`Cell type`, `Organ/System`, `Activators ligands --> Gq-GPCRs`, `Effects`) VALUES ('Alpha', 'Beta', 'Edinburgh', 'Thomas Robinson');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_1185 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Name is 'Caltech': set Score to 60.8.\nThe name of this table is University_Rankings_2024, and the headers of this table are Rank,Name,Country,Students,Score."
},
{
"role": "assistant",
"content": "Final: UPDATE `University_Ranking... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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_2024",
"sql": "UPDATE `University_Rankings_2024` SET `Score` = '60.8' WHERE `Name` = 'Caltech';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0147 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(29.0,)]"
},
{
"role": "assistant",
"content": "Final: SELECT SUM(`Start`) FROM `Race_Results` WHERE `Car` = '#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": "aggregation-SUM_error_recovery",
"table_name": "Race_Results",
"sql": "SELECT SUM(`Start`) FROM `Race_Results` WHERE `Car` = '#6';",
"label": [
"29.0"
],
"wrong_sql": "SELECT SUM(Start) FROM `Race_Results` WHERE `Car` = '#6';",
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": "Start",
"error_reason": "reserved"
} | dbbench_sft_0666 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('42155',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Votes` FROM `Georgia_Election_Results` WHERE `Status` = 'Third'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Georgia_Election_Results",
"sql": "SELECT `Votes` FROM `Georgia_Election_Results` WHERE `Status` = 'Third';",
"label": [
"42155"
],
"wrong_sql": "SELECT `Votes` FROM `Georgia_Election_Results` WHERE Status = 'Third';",
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": "Status",
"error_reason": "reserved"
} | dbbench_sft_0233 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Belgium' for 'Date', 'Gamma' for 'Opponent', 'Alpha' for 'Result', 'Delta' for 'Score', '51' for 'Rank', '67' for 'Attendance'.\nThe name of this table is First Division 2013 Season Standings, and the headers of this ta... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "First Division 2013 Season Standings",
"sql": "INSERT INTO `First Division 2013 Season Standings` (`Date`, `Opponent`, `Result`, `Score`, `Rank`, `Attendance`) VALUES ('Belgium', 'Gamma', 'Alpha', 'Delta', '51', '67');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0026 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('September 19, 1954',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Date` FROM `Drug_Approval_Database` WHERE `Type` = 'Syrup'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Drug_Approval_Database",
"sql": "SELECT `Date` FROM `Drug_Approval_Database` WHERE `Type` = 'Syrup';",
"label": [
"September 19, 1954"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0988 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Epsilon' for 'Release', 'Alpha' for 'Title', 'Thomas Harris' for 'Format', 'Beta' for 'Label', '38' for 'No'.\nThe name of this table is Pop Album Chart, 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": "Pop Album Chart",
"sql": "INSERT INTO `Pop Album Chart` (`Release`, `Title`, `Format`, `Label`, `No`) VALUES ('Epsilon', 'Alpha', 'Thomas Harris', 'Beta', '38');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0828 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Title is 'Survey of Generation': set Citations to 29.\nThe name of this table is Engineering Research Papers, and the headers of this table are Title,Year,Citations,Authors,Venue."
},
{
"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": "Engineering Research Papers",
"sql": "UPDATE `Engineering Research Papers` SET `Citations` = '29' WHERE `Title` = 'Survey of Generation';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0860 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Delta' for 'Date', 'Alpha' for 'Venue', 'Beta' for 'Opponent', 'Alpha' for 'Score', 'Delta' for 'Competition'.\nThe name of this table is France Match History, and the headers of this table are Date,Venue,Opponent,Score... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "INSERT",
"table_name": "France Match History",
"sql": "INSERT INTO `France Match History` (`Date`, `Venue`, `Opponent`, `Score`, `Competition`) VALUES ('Delta', 'Alpha', 'Beta', 'Alpha', 'Delta');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0516 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Timothy Wilson',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Driver` FROM `2006_Formula_One_Season` ORDER BY `No` 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": "2006_Formula_One_Season",
"sql": "SELECT `Driver` FROM `2006_Formula_One_Season` ORDER BY `No` DESC LIMIT 1;",
"label": [
"Timothy Wilson"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0985 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values '36' for 'Year', 'Delta' for 'Title', 'Barbara Martinez' for 'Genre', '36.1' for 'Box Office', '22.4' for 'Rating', 'Jennifer Wright' for 'Release'.\nThe name of this table is Romance_Films_1990s, and the headers of this... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Romance_Films_1990s",
"sql": "INSERT INTO `Romance_Films_1990s` (`Year`, `Title`, `Genre`, `Box Office`, `Rating`, `Release`) VALUES ('36', 'Delta', 'Barbara Martinez', '36.1', '22.4', 'Jennifer Wright');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0984 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Gamma' for 'Athlete', 'Kevin Green' for 'Event', '46.7' for 'Race 1\nTime', '61.0' for 'Race 2\nTime', '78.5' for 'Total\nTime', '55' 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 ('Gamma', 'Kevin Green', '46.7', '61.0', '78.5', '55');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0810 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.