messages listlengths 2 2 | metadata dict | id stringlengths 16 16 |
|---|---|---|
[
{
"role": "user",
"content": "[TASK=DB]\n[('Ronald Scott et al.',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Authors` FROM `Computer Science Research Papers` WHERE `Venue` = 'ICML'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Computer Science Research Papers",
"sql": "SELECT `Authors` FROM `Computer Science Research Papers` WHERE `Venue` = 'ICML';",
"label": [
"Ronald Scott et al."
],
"wrong_sql": "SELECT `Authors` FROM `Computer Science Research Papers` WHERE `Venue` = 'ICMLs';",
"wrong_val": "ICMLs",
"correct_val": "ICML",
"where_col": "Venue",
"error_col": null,
"error_reason": null
} | dbbench_sft_0733 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(27.0,)]"
},
{
"role": "assistant",
"content": "Final: SELECT SUM(`No`) FROM `Railway Stations UK` WHERE `From` = 'Osaka'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Railway Stations UK",
"sql": "SELECT SUM(`No`) FROM `Railway Stations UK` WHERE `From` = 'Osaka';",
"label": [
"27.0"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0140 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Gamma' for 'Region', '94' for 'Population', '49' for '15 to 17', '22' for '18 to 19', '40' for '20 to 24'.\nThe name of this table is Western Census Data, and the headers of this table are Region,Population,15 to 17,18 ... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "INSERT",
"table_name": "Western Census Data",
"sql": "INSERT INTO `Western Census Data` (`Region`, `Population`, `15 to 17`, `18 to 19`, `20 to 24`) VALUES ('Gamma', '94', '49', '22', '40');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0329 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(7.9,)]"
},
{
"role": "assistant",
"content": "Final: SELECT MAX(`Rating`) FROM `TV Schedule Winter 2024`"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "aggregation-MAX",
"table_name": "TV Schedule Winter 2024",
"sql": "SELECT MAX(`Rating`) FROM `TV Schedule Winter 2024`;",
"label": [
"7.9"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0705 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Name is 'Donna Ramirez': set Percentage to 18.1.\nThe name of this table is Texas Election Results, and the headers of this table are Name,Party,Votes,Percentage,Status."
},
{
"role": "assistant",
"content": "Final: UPDATE `Texas E... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Texas Election Results",
"sql": "UPDATE `Texas Election Results` SET `Percentage` = '18.1' WHERE `Name` = 'Donna Ramirez';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_1141 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(1,)]"
},
{
"role": "assistant",
"content": "Final: SELECT COUNT(*) FROM `FDA Approved Medications` WHERE `Date` = 'June 14, 1988'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "counting_error_recovery",
"table_name": "FDA Approved Medications",
"sql": "SELECT COUNT(*) FROM `FDA Approved Medications` WHERE `Date` = 'June 14, 1988';",
"label": [
"1"
],
"wrong_sql": "SELECT COUNT(*) FROM `FDA Approved Medications` WHERE Date = 'June 14, 1988';",
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": "Date",
"error_reason": "reserved"
} | dbbench_sft_0195 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Steven Williams et al.',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Authors` FROM `Journal of Biology Publications` WHERE `Venue` = 'Science'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Journal of Biology Publications",
"sql": "SELECT `Authors` FROM `Journal of Biology Publications` WHERE `Venue` = 'Science';",
"label": [
"Steven Williams et al."
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_1163 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Region is 'Chelyabinsk': set 18 to 19 to 65.\nThe name of this table is Population by Age Group and Region in Brazil, and the headers of this table are Region,Population,15 to 17,18 to 19,20 to 24."
},
{
"role": "assistant",
"conte... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "UPDATE",
"table_name": "Population by Age Group and Region in Brazil",
"sql": "UPDATE `Population by Age Group and Region in Brazil` SET `18 to 19` = '65' WHERE `Region` = 'Chelyabinsk';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0480 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(1,)]"
},
{
"role": "assistant",
"content": "Final: SELECT COUNT(*) FROM `Northern Census Data` WHERE `Region` = 'Novosibirsk'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Northern Census Data",
"sql": "SELECT COUNT(*) FROM `Northern Census Data` WHERE `Region` = 'Novosibirsk';",
"label": [
"1"
],
"wrong_sql": "SELECT COUNT(*) FROM `Northern Census Data` WHERE `Region` = 'novosibirsk';",
"wrong_val": "novosibirsk",
"correct_val": "Novosibirsk",
"where_col": "Region",
"error_col": null,
"error_reason": null
} | dbbench_sft_1054 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Island is 'Mull': set Rank to 24.\nThe name of this table is Islands of Japan, and the headers of this table are Rank,Island,Area\n(km²),Area\n(sq mi),Country/Region."
},
{
"role": "assistant",
"content": "Final: UPDATE `Islands of... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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 Japan",
"sql": "UPDATE `Islands of Japan` SET `Rank` = '24' WHERE `Island` = 'Mull';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0352 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(5941.3,)]"
},
{
"role": "assistant",
"content": "Final: SELECT MIN(`Uplink (MHz)`) FROM `Satellite_Communications_Data`"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Satellite_Communications_Data",
"sql": "SELECT MIN(`Uplink (MHz)`) FROM `Satellite_Communications_Data`;",
"label": [
"5941.3"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0722 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Barbara Ramirez',), ('Kimberly Garcia',), ('Carol Harris',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Driver` FROM `F1 Monaco Grand Prix Results` WHERE `Laps` < 41"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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` < 41;",
"label": [
"Barbara Ramirez",
"Kimberly Garcia",
"Carol Harris"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0688 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(17.4,)]"
},
{
"role": "assistant",
"content": "Final: SELECT AVG(`Bronze`) FROM `2012 Olympic Medal Tally`"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "aggregation-AVG",
"table_name": "2012 Olympic Medal Tally",
"sql": "SELECT AVG(`Bronze`) FROM `2012 Olympic Medal Tally`;",
"label": [
"17.4"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0069 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'New York' for 'Date', 'Beta' for 'Opponent', 'Beta' for 'Result', 'Rebecca Carter' for 'Score', '89' for 'Rank', '42' for 'Attendance'.\nThe name of this table is Sharks_Season_Results, 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": "Sharks_Season_Results",
"sql": "INSERT INTO `Sharks_Season_Results` (`Date`, `Opponent`, `Result`, `Score`, `Rank`, `Attendance`) VALUES ('New York', 'Beta', 'Beta', 'Rebecca Carter', '89', '42');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_1053 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values '43' for 'No', 'Epsilon' for 'Name', 'Belgium' for 'From', 'Gamma' for 'To', '58' for 'Distance (km)', '95' for 'Platforms'.\nThe name of this table is Amtrak Train Schedule, and the headers of this table are No,Name,Fro... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "INSERT",
"table_name": "Amtrak Train Schedule",
"sql": "INSERT INTO `Amtrak Train Schedule` (`No`, `Name`, `From`, `To`, `Distance (km)`, `Platforms`) VALUES ('43', 'Epsilon', 'Belgium', 'Gamma', '58', '95');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0323 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values '3' for 'No', 'Beta' for 'Name', 'Delta' for 'From', 'Delta' for 'To', '94' for 'Distance (km)', '59' for 'Platforms'.\nThe name of this table is Railway Stations Germany, and the headers of this table are No,Name,From,T... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "INSERT",
"table_name": "Railway Stations Germany",
"sql": "INSERT INTO `Railway Stations Germany` (`No`, `Name`, `From`, `To`, `Distance (km)`, `Platforms`) VALUES ('3', 'Beta', 'Delta', 'Delta', '94', '59');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_1145 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(3,)]"
},
{
"role": "assistant",
"content": "Final: SELECT COUNT(*) FROM `Engineering Research Papers` WHERE `Venue` = 'Nature'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Engineering Research Papers",
"sql": "SELECT COUNT(*) FROM `Engineering Research Papers` WHERE `Venue` = 'Nature';",
"label": [
"3"
],
"wrong_sql": "SELECT COUNT(*) FROM `Engineering Research Papers` WHERE `Venue` = 'Nature ';",
"wrong_val": "Nature ",
"correct_val": "Nature",
"where_col": "Venue",
"error_col": null,
"error_reason": null
} | dbbench_sft_0774 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(4,)]"
},
{
"role": "assistant",
"content": "Final: SELECT COUNT(*) FROM `World_Islands_Database` WHERE `Island` = 'Shetland'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "World_Islands_Database",
"sql": "SELECT COUNT(*) FROM `World_Islands_Database` WHERE `Island` = 'Shetland';",
"label": [
"4"
],
"wrong_sql": "SELECT COUNT(*) FROM `World_Islands_Database` WHERE `Island` = 'Shetland ';",
"wrong_val": "Shetland ",
"correct_val": "Shetland",
"where_col": "Island",
"error_col": null,
"error_reason": null
} | dbbench_sft_0120 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Name is 'Omeprazole': set Date to Prague, Type to Updated Value, Dosage (mg) to 29.1.\nThe name of this table is Drug Approval Database, and the headers of this table are Name,Date,Type,Number,Dosage (mg)."
},
{
"role": "assistant",
... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "UPDATE",
"table_name": "Drug Approval Database",
"sql": "UPDATE `Drug Approval Database` SET `Date` = 'Prague', `Type` = 'Updated Value', `Dosage (mg)` = '29.1' WHERE `Name` = 'Omeprazole';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0100 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(1,)]"
},
{
"role": "assistant",
"content": "Final: SELECT COUNT(*) FROM `Sci-Fi Films 2000s` WHERE `Release` = 'December 26, 1954'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Sci-Fi Films 2000s",
"sql": "SELECT COUNT(*) FROM `Sci-Fi Films 2000s` WHERE `Release` = 'December 26, 1954';",
"label": [
"1"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0912 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values '53' for 'Year', 'Gamma' for 'Title', 'Epsilon' for 'Genre', '44.9' for 'Box Office', '85.6' for 'Rating', 'Beta' for 'Release'.\nThe name of this table is Christopher Nolan Filmography, and the headers of this table are... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "INSERT",
"table_name": "Christopher Nolan Filmography",
"sql": "INSERT INTO `Christopher Nolan Filmography` (`Year`, `Title`, `Genre`, `Box Office`, `Rating`, `Release`) VALUES ('53', 'Gamma', 'Epsilon', '44.9', '85.6', 'Beta');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0065 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(1,)]"
},
{
"role": "assistant",
"content": "Final: SELECT COUNT(*) FROM `Race_Results` WHERE `Car` = '#29'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Race_Results",
"sql": "SELECT COUNT(*) FROM `Race_Results` WHERE `Car` = '#29';",
"label": [
"1"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0042 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(4,)]"
},
{
"role": "assistant",
"content": "Final: SELECT COUNT(*) FROM `Satellite Communications Data` WHERE `Status` = '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": "counting",
"table_name": "Satellite Communications Data",
"sql": "SELECT COUNT(*) FROM `Satellite Communications Data` WHERE `Status` = 'Retired';",
"label": [
"4"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0313 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Date is 'October 2, 1993': set Opponent to Vienna.\nThe name of this table is Dragons Season Results, and the headers of this table are Date,Opponent,Result,Score,Rank,Attendance."
},
{
"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": "Dragons Season Results",
"sql": "UPDATE `Dragons Season Results` SET `Opponent` = 'Vienna' WHERE `Date` = 'October 2, 1993';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_1061 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('5',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Rank` FROM `1980_Olympic_Medal_Tally` WHERE `Nation` = 'Vietnam'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "1980_Olympic_Medal_Tally",
"sql": "SELECT `Rank` FROM `1980_Olympic_Medal_Tally` WHERE `Nation` = 'Vietnam';",
"label": [
"5"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0497 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Name is 'Jessica Walker': set Votes to 26, Party to Brian Miller.\nThe name of this table is Georgia Election Results, and the headers of this table are Name,Party,Votes,Percentage,Status."
},
{
"role": "assistant",
"content": "Fin... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Georgia Election Results",
"sql": "UPDATE `Georgia Election Results` SET `Votes` = '26', `Party` = 'Brian Miller' WHERE `Name` = 'Jessica Walker';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_1114 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values '20' for 'Rank', 'Beta' for 'Name', 'Edinburgh' for 'Country', '11' for 'Students', '65.7' for 'Score'.\nThe name of this table is University_Rankings_2024, 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_2024",
"sql": "INSERT INTO `University_Rankings_2024` (`Rank`, `Name`, `Country`, `Students`, `Score`) VALUES ('20', 'Beta', 'Edinburgh', '11', '65.7');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0499 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Runner-up',), ('Runner-up',), ('Withdrawn',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Status` FROM `Texas_Election_Results` WHERE `Percentage` < 46"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Texas_Election_Results",
"sql": "SELECT `Status` FROM `Texas_Election_Results` WHERE `Percentage` < 46;",
"label": [
"Runner-up",
"Runner-up",
"Withdrawn"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0107 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Delta' for 'Title', '37' for 'Year', '47' for 'Citations', 'Israel' for 'Authors', 'Alpha' for 'Venue'.\nThe name of this table is Computer Science Research Papers, and the headers of this table are Title,Year,Citations... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Computer Science Research Papers",
"sql": "INSERT INTO `Computer Science Research Papers` (`Title`, `Year`, `Citations`, `Authors`, `Venue`) VALUES ('Delta', '37', '47', 'Israel', 'Alpha');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0125 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Norepinephrine',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Activators ligands --> Gq-GPCRs` FROM `Cell Receptor Database` WHERE `Organ/System` = 'Kidney'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "other",
"table_name": "Cell Receptor Database",
"sql": "SELECT `Activators ligands --> Gq-GPCRs` FROM `Cell Receptor Database` WHERE `Organ/System` = 'Kidney';",
"label": [
"Norepinephrine"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_1115 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values '96' for 'Rank', 'Delta' for 'Nation', '7' for 'Gold', '34' for 'Silver', '90' for 'Bronze', '94' for 'Total'.\nThe name of this table is Summer Olympics Medal Count, and the headers of this table are Rank,Nation,Gold,Si... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "INSERT",
"table_name": "Summer Olympics Medal Count",
"sql": "INSERT INTO `Summer Olympics Medal Count` (`Rank`, `Nation`, `Gold`, `Silver`, `Bronze`, `Total`) VALUES ('96', 'Delta', '7', '34', '90', '94');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0311 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Time is '23:30': set Type to Updated Value, Duration to 5.\nThe name of this table is TV Schedule Summer 2024, 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 Summer 2024",
"sql": "UPDATE `TV Schedule Summer 2024` SET `Type` = 'Updated Value', `Duration` = '5' WHERE `Time` = '23:30';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0190 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Title is 'A Novel Approach Generation': set Year to 55, Venue to Jacksonville.\nThe name of this table is Journal_of_Economics_Publications, and the headers of this table are Title,Year,Citations,Authors,Venue."
},
{
"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": "Journal_of_Economics_Publications",
"sql": "UPDATE `Journal_of_Economics_Publications` SET `Year` = '55', `Venue` = 'Jacksonville' WHERE `Title` = 'A Novel Approach Generation';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0455 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('5',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Level` FROM `Real Estate 2024` WHERE `Address` = '768 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": "other",
"table_name": "Real Estate 2024",
"sql": "SELECT `Level` FROM `Real Estate 2024` WHERE `Address` = '768 Main St';",
"label": [
"5"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0066 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(17.0,)]"
},
{
"role": "assistant",
"content": "Final: SELECT SUM(`Rank`) FROM `University Rankings 2021` WHERE `Name` = 'Stanford'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "aggregation-SUM_retry",
"table_name": "University Rankings 2021",
"sql": "SELECT SUM(`Rank`) FROM `University Rankings 2021` WHERE `Name` = 'Stanford';",
"label": [
"17.0"
],
"wrong_sql": "SELECT SUM(`Rank`) FROM `University Rankings 2021` WHERE `Name` = 'Stanford ';",
"wrong_val": "Stanford ",
"correct_val": "Stanford",
"where_col": "Name",
"error_col": null,
"error_reason": null
} | dbbench_sft_1034 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Car is '#21': set Rank to 93, Qual to 50.4, Start to 75.\nThe name of this table is Race_Results, and the headers of this table are Year,Car,Start,Qual,Rank,Finish,Laps."
},
{
"role": "assistant",
"content": "Final: UPDATE `Race_Re... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "UPDATE",
"table_name": "Race_Results",
"sql": "UPDATE `Race_Results` SET `Rank` = '93', `Qual` = '50.4', `Start` = '75' WHERE `Car` = '#21';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0992 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Nancy Brown',), ('James Johnson',), ('Sandra Torres',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Name` FROM `California_Election_Results` WHERE `Votes` > 84459"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "California_Election_Results",
"sql": "SELECT `Name` FROM `California_Election_Results` WHERE `Votes` > 84459;",
"label": [
"Nancy Brown",
"James Johnson",
"Sandra Torres"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0246 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Island is 'Lewis': set Rank to 3, Area\n(sq mi) to 17.0, Area\n(km²) to 86.0.\nThe name of this table is Islands_of_Indonesia, and the headers of this table are Rank,Island,Area\n(km²),Area\n(sq mi),Country/Region."
},
{
"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": "Islands_of_Indonesia",
"sql": "UPDATE `Islands_of_Indonesia` SET `Rank` = '3', `Area\n(sq mi)` = '17.0', `Area\n(km²)` = '86.0' WHERE `Island` = 'Lewis';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0441 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values '81' for 'Rank', 'Beta' for 'Nation', '80' for 'Gold', '74' for 'Silver', '9' for 'Bronze', '14' for 'Total'.\nThe name of this table is Youth_Olympics_Medal_Count, 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": "Youth_Olympics_Medal_Count",
"sql": "INSERT INTO `Youth_Olympics_Medal_Count` (`Rank`, `Nation`, `Gold`, `Silver`, `Bronze`, `Total`) VALUES ('81', 'Beta', '80', '74', '9', '14');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0400 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Western',), ('Adventure',), ('Action',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Genre` FROM `Actress_Filmography` WHERE `Year` > 2005"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Actress_Filmography",
"sql": "SELECT `Genre` FROM `Actress_Filmography` WHERE `Year` > 2005;",
"label": [
"Western",
"Adventure",
"Action"
],
"wrong_sql": "SELECT `Genre` FROM `Actress_Filmography` WHERE Year > 2005;",
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": "Year",
"error_reason": "reserved"
} | dbbench_sft_0738 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Name is 'GEN Stephanie Green': set To to David Wilson, From to Stockholm.\nThe name of this table is Air Force Officers List, and the headers of this table are Name,From,To,Position,Unit."
},
{
"role": "assistant",
"content": "Fina... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "UPDATE",
"table_name": "Air Force Officers List",
"sql": "UPDATE `Air Force Officers List` SET `To` = 'David Wilson', `From` = 'Stockholm' WHERE `Name` = 'GEN Stephanie Green';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0532 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Title is 'Red Dawn': set Box Office to 40.0.\nThe name of this table is Steven Spielberg Filmography, and the headers of this table are Year,Title,Genre,Box Office,Rating,Release."
},
{
"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": "Steven Spielberg Filmography",
"sql": "UPDATE `Steven Spielberg Filmography` SET `Box Office` = '40.0' WHERE `Title` = 'Red Dawn';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0428 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Injection',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Type` FROM `Drug Approval Database` WHERE `Name` = 'Atorvastatin'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Drug Approval Database",
"sql": "SELECT `Type` FROM `Drug Approval Database` WHERE `Name` = 'Atorvastatin';",
"label": [
"Injection"
],
"wrong_sql": "SELECT `Type` FROM `Drug Approval Database` WHERE `Name` = 'Atorvastatins';",
"wrong_val": "Atorvastatins",
"correct_val": "Atorvastatin",
"where_col": "Name",
"error_col": null,
"error_reason": null
} | dbbench_sft_0748 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values '85' for 'Year', 'Beta' for 'Title', 'United States' for 'Genre', '44.1' for 'Box Office', '13.3' for 'Rating', 'Gamma' for 'Release'.\nThe name of this table is Romance Films 2020s, 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": "Romance Films 2020s",
"sql": "INSERT INTO `Romance Films 2020s` (`Year`, `Title`, `Genre`, `Box Office`, `Rating`, `Release`) VALUES ('85', 'Beta', 'United States', '44.1', '13.3', 'Gamma');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_1105 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Beta' for 'Name', '99.4' for 'Uplink (MHz)', '88.8' for 'Downlink (MHz)', 'Alpha' for 'System', 'Beta' for 'Status'.\nThe name of this table is Satellite_Communications_Data, and the headers of this table are Name,Uplin... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "INSERT",
"table_name": "Satellite_Communications_Data",
"sql": "INSERT INTO `Satellite_Communications_Data` (`Name`, `Uplink (MHz)`, `Downlink (MHz)`, `System`, `Status`) VALUES ('Beta', '99.4', '88.8', 'Alpha', 'Beta');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0011 |
[
{
"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 ('Beta', '41', '6', '87', '72');",
"label": [
"done"
],
"wrong_sql": "INSERT INTO `London Property Listings` (`Address`, `Price`, Area\n(sq ft), `Year`, `Level`) VALUES ('Beta', '41', '6', '87', '72');",
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": "Area\n(sq ft)",
"error_reason": "special"
} | dbbench_sft_0184 |
[
{
"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 'Uplink (MHz)' at line 1"
},
{
"role": "assistant",
"content": "Final: INSERT INTO `Eutelsat_Satellite_Flee... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Eutelsat_Satellite_Fleet",
"sql": "INSERT INTO `Eutelsat_Satellite_Fleet` (`Name`, `Uplink (MHz)`, `Downlink (MHz)`, `System`, `Status`) VALUES ('Cairo', '84.8', '65.6', 'Delta', 'Jennifer Ramirez');",
"label": [
"done"
],
"wrong_sql": "INSERT INTO `Eutelsat_Satellite_Fleet` (`Name`, Uplink (MHz), `Downlink (MHz)`, `System`, `Status`) VALUES ('Cairo', '84.8', '65.6', 'Delta', 'Jennifer Ramirez');",
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": "Uplink (MHz)",
"error_reason": "special"
} | dbbench_sft_0384 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values '81' for 'Rank', 'Epsilon' for 'Nation', '77' for 'Gold', '59' for 'Silver', '82' for 'Bronze', '4' for 'Total'.\nThe name of this table is Winter Olympics Medal Count, and the headers of this table are Rank,Nation,Gold,... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Winter Olympics Medal Count",
"sql": "INSERT INTO `Winter Olympics Medal Count` (`Rank`, `Nation`, `Gold`, `Silver`, `Bronze`, `Total`) VALUES ('81', 'Epsilon', '77', '59', '82', '4');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0097 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Address is '146 Main St': set Level to 73.\nThe name of this table is Toronto Property Listings, and the headers of this table are Address,Price,Area\n(sq ft),Year,Level."
},
{
"role": "assistant",
"content": "Final: UPDATE `Toront... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Toronto Property Listings",
"sql": "UPDATE `Toronto Property Listings` SET `Level` = '73' WHERE `Address` = '146 Main St';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0677 |
[
{
"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 `Wolves_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": "Wolves_Season_Results",
"sql": "INSERT INTO `Wolves_Season_Results` (`Date`, `Opponent`, `Result`, `Score`, `Rank`, `Attendance`) VALUES ('Delta', 'Denmark', 'Gamma', 'Japan', '79', '58');",
"label": [
"done"
],
"wrong_sql": "INSERT INTO `Wolves_Season_Results` (Date, `Opponent`, `Result`, `Score`, `Rank`, `Attendance`) VALUES ('Delta', 'Denmark', 'Gamma', 'Japan', '79', '58');",
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": "Date",
"error_reason": "reserved"
} | dbbench_sft_0518 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(6.0,)]"
},
{
"role": "assistant",
"content": "Final: SELECT MIN(`No`) FROM `Music Releases` WHERE `Format` = 'Cassette'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "aggregation-MIN_retry",
"table_name": "Music Releases",
"sql": "SELECT MIN(`No`) FROM `Music Releases` WHERE `Format` = 'Cassette';",
"label": [
"6.0"
],
"wrong_sql": "SELECT MIN(`No`) FROM `Music Releases` WHERE `Format` = 'Cassette ';",
"wrong_val": "Cassette ",
"correct_val": "Cassette",
"where_col": "Format",
"error_col": null,
"error_reason": null
} | dbbench_sft_0064 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('435.5',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Area (sq mi)` FROM `World Islands Database` WHERE `Country/Region` = 'Denmark'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "other_error_recovery",
"table_name": "World Islands Database",
"sql": "SELECT `Area\n(sq mi)` FROM `World Islands Database` WHERE `Country/Region` = 'Denmark';",
"label": [
"435.5"
],
"wrong_sql": "SELECT Area\n(sq mi) FROM `World Islands Database` WHERE `Country/Region` = 'Denmark';",
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": "Area\n(sq mi)",
"error_reason": "special"
} | dbbench_sft_0538 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(2,)]"
},
{
"role": "assistant",
"content": "Final: SELECT COUNT(*) FROM `FDA_Approved_Medications` 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": "counting",
"table_name": "FDA_Approved_Medications",
"sql": "SELECT COUNT(*) FROM `FDA_Approved_Medications` WHERE `Type` = 'Syrup';",
"label": [
"2"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0232 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(1,)]"
},
{
"role": "assistant",
"content": "Final: SELECT COUNT(*) FROM `Youth Olympics Medal Count` WHERE `Nation` = 'Chile'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "counting",
"table_name": "Youth Olympics Medal Count",
"sql": "SELECT COUNT(*) FROM `Youth Olympics Medal Count` WHERE `Nation` = 'Chile';",
"label": [
"1"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0317 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Alpha' for 'Name', 'Gamma' for 'From', 'Gamma' for 'To', 'United States' for 'Position', 'Dubai' for 'Unit'.\nThe name of this table is Military Leaders Table, and the headers of this table are Name,From,To,Position,Uni... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "INSERT",
"table_name": "Military Leaders Table",
"sql": "INSERT INTO `Military Leaders Table` (`Name`, `From`, `To`, `Position`, `Unit`) VALUES ('Alpha', 'Gamma', 'Gamma', 'United States', 'Dubai');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0734 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('37',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Silver` FROM `2016 Olympic Medal Tally` WHERE `Nation` = 'Australia'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "2016 Olympic Medal Tally",
"sql": "SELECT `Silver` FROM `2016 Olympic Medal Tally` WHERE `Nation` = 'Australia';",
"label": [
"37"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0248 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(1,)]"
},
{
"role": "assistant",
"content": "Final: SELECT COUNT(*) FROM `World_Islands_Database` WHERE `Country/Region` = 'Argentina'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "World_Islands_Database",
"sql": "SELECT COUNT(*) FROM `World_Islands_Database` WHERE `Country/Region` = 'Argentina';",
"label": [
"1"
],
"wrong_sql": "SELECT COUNT(*) FROM `World_Islands_Database` WHERE `Country/Region` = 'Argentinas';",
"wrong_val": "Argentinas",
"correct_val": "Argentina",
"where_col": "Country/Region",
"error_col": null,
"error_reason": null
} | dbbench_sft_0475 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Gamma' for 'Name', 'Beta' for 'Date', 'Delta' for 'Type', '9' for 'Number', '92.0' for 'Dosage (mg)'.\nThe name of this table is Drug Approval Database, and the headers of this table are Name,Date,Type,Number,Dosage (mg... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "INSERT",
"table_name": "Drug Approval Database",
"sql": "INSERT INTO `Drug Approval Database` (`Name`, `Date`, `Type`, `Number`, `Dosage (mg)`) VALUES ('Gamma', 'Beta', 'Delta', '9', '92.0');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_1100 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Car is '#99': set Laps to 67, Finish to 91.\nThe name of this table is Juan Montoya Career Stats, and the headers of this table are Year,Car,Start,Qual,Rank,Finish,Laps."
},
{
"role": "assistant",
"content": "Final: UPDATE `Juan Mo... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Juan Montoya Career Stats",
"sql": "UPDATE `Juan Montoya Career Stats` SET `Laps` = '67', `Finish` = '91' WHERE `Car` = '#99';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0145 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Alpha' for 'Region', '35' for 'Population', '53' for '15 to 17', '88' for '18 to 19', '89' for '20 to 24'.\nThe name of this table is Population_by_Age_Group_and_Region_in_India, and the headers of this table are Region... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "INSERT",
"table_name": "Population_by_Age_Group_and_Region_in_India",
"sql": "INSERT INTO `Population_by_Age_Group_and_Region_in_India` (`Region`, `Population`, `15 to 17`, `18 to 19`, `20 to 24`) VALUES ('Alpha', '35', '53', '88', '89');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0334 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values '70' for 'No', 'Epsilon' for 'Name', 'Beta' for 'From', 'Gamma' for 'To', '40' for 'Distance (km)', '4' for 'Platforms'.\nThe name of this table is Amtrak Train Schedule, and the headers of this table are No,Name,From,To... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "INSERT",
"table_name": "Amtrak Train Schedule",
"sql": "INSERT INTO `Amtrak Train Schedule` (`No`, `Name`, `From`, `To`, `Distance (km)`, `Platforms`) VALUES ('70', 'Epsilon', 'Beta', 'Gamma', '40', '4');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_1193 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Tablet',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Type` FROM `Drug Approval Database` ORDER BY `Dosage (mg)` DESC LIMIT 1"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "ranking_error_recovery",
"table_name": "Drug Approval Database",
"sql": "SELECT `Type` FROM `Drug Approval Database` ORDER BY `Dosage (mg)` DESC LIMIT 1;",
"label": [
"Tablet"
],
"wrong_sql": "SELECT Type FROM `Drug Approval Database` ORDER BY `Dosage (mg)` DESC LIMIT 1;",
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": "Type",
"error_reason": "reserved"
} | dbbench_sft_0960 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Beta' for 'Date', 'Delta' for 'Opponent', 'Alpha' for 'Result', 'Epsilon' for 'Score', '90' for 'Rank', '75' for 'Attendance'.\nThe name of this table is Premier League 2008 Season Standings, and the headers of this tab... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "INSERT",
"table_name": "Premier League 2008 Season Standings",
"sql": "INSERT INTO `Premier League 2008 Season Standings` (`Date`, `Opponent`, `Result`, `Score`, `Rank`, `Attendance`) VALUES ('Beta', 'Delta', 'Alpha', 'Epsilon', '90', '75');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0593 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Yekaterinburg',), ('Samara',), ('Chelyabinsk',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Region` FROM `Population by Age Group and Region in Germany` WHERE `18 to 19` > 15291"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "comparison",
"table_name": "Population by Age Group and Region in Germany",
"sql": "SELECT `Region` FROM `Population by Age Group and Region in Germany` WHERE `18 to 19` > 15291;",
"label": [
"Yekaterinburg",
"Samara",
"Chelyabinsk"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0005 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Alpha' for 'Date', 'South Korea' for 'Venue', 'Gamma' for 'Opponent', 'Mexico' for 'Score', 'Beta' for 'Competition'.\nThe name of this table is Australia Match History, and the headers of this table are Date,Venue,Oppo... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "INSERT",
"table_name": "Australia Match History",
"sql": "INSERT INTO `Australia Match History` (`Date`, `Venue`, `Opponent`, `Score`, `Competition`) VALUES ('Alpha', 'South Korea', 'Gamma', 'Mexico', 'Beta');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0181 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Vienna' for 'Title', '9' for 'Year', '79' for 'Citations', 'Beta' for 'Authors', 'Beta' for 'Venue'.\nThe name of this table is Journal of Economics Publications, and the headers of this table are Title,Year,Citations,A... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "INSERT",
"table_name": "Journal of Economics Publications",
"sql": "INSERT INTO `Journal of Economics Publications` (`Title`, `Year`, `Citations`, `Authors`, `Venue`) VALUES ('Vienna', '9', '79', 'Beta', 'Beta');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0263 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(8.0,)]"
},
{
"role": "assistant",
"content": "Final: SELECT AVG(`Silver`) FROM `1992_Olympic_Medal_Tally` WHERE `Nation` = 'Kenya'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "aggregation-AVG",
"table_name": "1992_Olympic_Medal_Tally",
"sql": "SELECT AVG(`Silver`) FROM `1992_Olympic_Medal_Tally` WHERE `Nation` = 'Kenya';",
"label": [
"8.0"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0003 |
[
{
"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 `Railway_Stations_UK` SET `To` = '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_error_recovery",
"table_name": "Railway_Stations_UK",
"sql": "UPDATE `Railway_Stations_UK` SET `To` = 'Updated Value', `No` = '34', `From` = 'Berlin' WHERE `Name` = 'Rajdhani Express';",
"label": [
"done"
],
"wrong_sql": "UPDATE `Railway_Stations_UK` SET To = 'Updated Value', `No` = '34', `From` = 'Berlin' WHERE `Name` = 'Rajdhani Express';",
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": "To",
"error_reason": "reserved"
} | dbbench_sft_0073 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Moscow',), ('Samara',), ('Novosibirsk',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Region` FROM `Central Census Data` WHERE `20 to 24` < 36286"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Central Census Data",
"sql": "SELECT `Region` FROM `Central Census Data` WHERE `20 to 24` < 36286;",
"label": [
"Moscow",
"Samara",
"Novosibirsk"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0206 |
[
{
"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 'Dosage (mg)' at line 1"
},
{
"role": "assistant",
"content": "Final: UPDATE `Drug Approval Database` 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": "Drug Approval Database",
"sql": "UPDATE `Drug Approval Database` SET `Date` = 'Kimberly Lopez', `Dosage (mg)` = '40.6', `Type` = 'Los Angeles' WHERE `Name` = 'Omeprazole';",
"label": [
"done"
],
"wrong_sql": "UPDATE `Drug Approval Database` SET `Date` = 'Kimberly Lopez', Dosage (mg) = '40.6', `Type` = 'Los Angeles' WHERE `Name` = 'Omeprazole';",
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": "Dosage (mg)",
"error_reason": "special"
} | dbbench_sft_0731 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Alpha' for 'Name', 'Gamma' for 'Date', 'Beta' for 'Type', '57' for 'Number', '26.4' 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 ('Alpha', 'Gamma', 'Beta', '57', '26.4');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0542 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('18:00',), ('15:00',), ('10:00',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Time` FROM `BBC 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": "BBC Programming",
"sql": "SELECT `Time` FROM `BBC Programming` WHERE `Duration` < 90;",
"label": [
"18:00",
"15:00",
"10:00"
],
"wrong_sql": "SELECT Time FROM `BBC Programming` WHERE `Duration` < 90;",
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": "Time",
"error_reason": "reserved"
} | dbbench_sft_0156 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Gamma' for 'Date', 'Beta' for 'Opponent', 'Montreal' for 'Result', 'Romania' for 'Score', '37' for 'Rank', '10' for 'Attendance'.\nThe name of this table is Tigers Season Results, and the headers of this table are Date,... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "INSERT",
"table_name": "Tigers Season Results",
"sql": "INSERT INTO `Tigers Season Results` (`Date`, `Opponent`, `Result`, `Score`, `Rank`, `Attendance`) VALUES ('Gamma', 'Beta', 'Montreal', 'Romania', '37', '10');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0180 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Eutelsat-19',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Name` FROM `Viasat Satellite Fleet` WHERE `Status` = 'Testing'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Viasat Satellite Fleet",
"sql": "SELECT `Name` FROM `Viasat Satellite Fleet` WHERE `Status` = 'Testing';",
"label": [
"Eutelsat-19"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0155 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Date is 'November 24, 1983': set Score to Updated Value.\nThe name of this table is France_Match_History, and the headers of this table are Date,Venue,Opponent,Score,Competition."
},
{
"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": "France_Match_History",
"sql": "UPDATE `France_Match_History` SET `Score` = 'Updated Value' WHERE `Date` = 'November 24, 1983';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0032 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values '71' for 'Year', 'Delta' for 'Car', '33' for 'Start', '25.3' for 'Qual', '11' for 'Rank', '55' for 'Finish', '64' 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 ('71', 'Delta', '33', '25.3', '11', '55', '64');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0463 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Gamma' for 'Date', 'Amsterdam' for 'Opponent', 'Epsilon' for 'Result', 'Istanbul' for 'Score', '65' for 'Rank', '58' for 'Attendance'.\nThe name of this table is Championship 2010 Season Standings, and the headers of th... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Championship 2010 Season Standings",
"sql": "INSERT INTO `Championship 2010 Season Standings` (`Date`, `Opponent`, `Result`, `Score`, `Rank`, `Attendance`) VALUES ('Gamma', 'Amsterdam', 'Epsilon', 'Istanbul', '65', '58');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0574 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Name is 'Ibuprofen': set Dosage (mg) to 81.5, Number to 96, Type to Sarah Wilson.\nThe name of this table is FDA Approved Medications, and the headers of this table are Name,Date,Type,Number,Dosage (mg)."
},
{
"role": "assistant",
... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "UPDATE",
"table_name": "FDA Approved Medications",
"sql": "UPDATE `FDA Approved Medications` SET `Dosage (mg)` = '81.5', `Number` = '96', `Type` = 'Sarah Wilson' WHERE `Name` = 'Ibuprofen';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0588 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Comedy',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Type` FROM `TV Schedule Fall 2023` WHERE `Title` = 'Prime Time'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "TV Schedule Fall 2023",
"sql": "SELECT `Type` FROM `TV Schedule Fall 2023` WHERE `Title` = 'Prime Time';",
"label": [
"Comedy"
],
"wrong_sql": "SELECT `Type` FROM `TV Schedule Fall 2023` WHERE `Title` = 'prime time';",
"wrong_val": "prime time",
"correct_val": "Prime Time",
"where_col": "Title",
"error_col": null,
"error_reason": null
} | dbbench_sft_0761 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(4327.7,)]"
},
{
"role": "assistant",
"content": "Final: SELECT AVG(`Area (km²)`) FROM `World Islands Database` WHERE `Country/Region` = 'Argentina'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "aggregation-AVG",
"table_name": "World Islands Database",
"sql": "SELECT AVG(`Area\n(km²)`) FROM `World Islands Database` WHERE `Country/Region` = 'Argentina';",
"label": [
"4327.7"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0466 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Title is 'Thunder Road': set Release to Jason Thompson.\nThe name of this table is Horror Films 2020s, and the headers of this table are Year,Title,Genre,Box Office,Rating,Release."
},
{
"role": "assistant",
"content": "Final: UPDA... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Horror Films 2020s",
"sql": "UPDATE `Horror Films 2020s` SET `Release` = 'Jason Thompson' WHERE `Title` = 'Thunder Road';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0365 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Nation is 'Belgium': set Bronze to 32, Gold to 98.\nThe name of this table is Winter Olympics Medal Count, and the headers of this table are Rank,Nation,Gold,Silver,Bronze,Total."
},
{
"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": "Winter Olympics Medal Count",
"sql": "UPDATE `Winter Olympics Medal Count` SET `Bronze` = '32', `Gold` = '98' WHERE `Nation` = 'Belgium';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0164 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('GEN Amanda Collins',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Name` FROM `Marine Corps Officers List` WHERE `To` = 'December 8, 1989'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Marine Corps Officers List",
"sql": "SELECT `Name` FROM `Marine Corps Officers List` WHERE `To` = 'December 8, 1989';",
"label": [
"GEN Amanda Collins"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0509 |
[
{
"role": "user",
"content": "[TASK=DB]\n[(550.0,)]"
},
{
"role": "assistant",
"content": "Final: SELECT SUM(`Dosage (mg)`) FROM `FDA Approved Medications` WHERE `Type` = 'Cream'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "aggregation-SUM_error_recovery",
"table_name": "FDA Approved Medications",
"sql": "SELECT SUM(`Dosage (mg)`) FROM `FDA Approved Medications` WHERE `Type` = 'Cream';",
"label": [
"550.0"
],
"wrong_sql": "SELECT SUM(`Dosage (mg)`) FROM `FDA Approved Medications` WHERE Type = 'Cream';",
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": "Type",
"error_reason": "reserved"
} | dbbench_sft_0326 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Time is '16:00': set Type to New Entry, Duration to 53, Title to New Entry.\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"... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "UPDATE",
"table_name": "TV Schedule Spring 2023",
"sql": "UPDATE `TV Schedule Spring 2023` SET `Type` = 'New Entry', `Duration` = '53', `Title` = 'New Entry' WHERE `Time` = '16:00';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0113 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Sumatra',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Island` FROM `World Islands Database` ORDER BY `Area (km²)` 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": "World Islands Database",
"sql": "SELECT `Island` FROM `World Islands Database` ORDER BY `Area\n(km²)` ASC LIMIT 1;",
"label": [
"Sumatra"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0597 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Title is 'Day Break': set Genre to Updated Value, Rating to 51.6.\nThe name of this table is Actress_Filmography, and the headers of this table are Year,Title,Genre,Box Office,Rating,Release."
},
{
"role": "assistant",
"content": "... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "UPDATE",
"table_name": "Actress_Filmography",
"sql": "UPDATE `Actress_Filmography` SET `Genre` = 'Updated Value', `Rating` = '51.6' WHERE `Title` = 'Day Break';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_1016 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Name is 'Telesat-17': set Downlink (MHz) to 85.5, System to New Entry.\nThe name of this table is Satellite Communications Data, and the headers of this table are Name,Uplink (MHz),Downlink (MHz),System,Status."
},
{
"role": "assistant... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "UPDATE",
"table_name": "Satellite Communications Data",
"sql": "UPDATE `Satellite Communications Data` SET `Downlink (MHz)` = '85.5', `System` = 'New Entry' WHERE `Name` = 'Telesat-17';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0835 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Car is '#88': set Start to 47, Rank to 70.\nThe name of this table is Mario Andretti Career Stats, and the headers of this table are Year,Car,Start,Qual,Rank,Finish,Laps."
},
{
"role": "assistant",
"content": "Final: UPDATE `Mario ... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Mario Andretti Career Stats",
"sql": "UPDATE `Mario Andretti Career Stats` SET `Start` = '47', `Rank` = '70' WHERE `Car` = '#88';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0549 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Evening News',), ('Late Night',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Title` FROM `TV Schedule Summer 2024` WHERE `Duration` > 60"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "comparison",
"table_name": "TV Schedule Summer 2024",
"sql": "SELECT `Title` FROM `TV Schedule Summer 2024` WHERE `Duration` > 60;",
"label": [
"Evening News",
"Late Night"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0772 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('61',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Laps` FROM `F1 Suzuka Grand Prix Results` WHERE `Driver` = 'Sarah Brown'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "F1 Suzuka Grand Prix Results",
"sql": "SELECT `Laps` FROM `F1 Suzuka Grand Prix Results` WHERE `Driver` = 'Sarah Brown';",
"label": [
"61"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_1076 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Delta' for 'Release', 'Gamma' for 'Title', 'Pakistan' for 'Format', 'Delta' for 'Label', '48' for 'No'.\nThe name of this table is Music Releases, and the headers of this table are Release,Title,Format,Label,No."
},
... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "INSERT",
"table_name": "Music Releases",
"sql": "INSERT INTO `Music Releases` (`Release`, `Title`, `Format`, `Label`, `No`) VALUES ('Delta', 'Gamma', 'Pakistan', 'Delta', '48');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0858 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Norway' for 'Cell type', 'Gamma' for 'Organ/System', 'Beta' for 'Activators ligands --> Gq-GPCRs', 'Alpha' for 'Effects'.\nThe name of this table is Cell Receptor Database, and the headers of this table are Cell type,Or... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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 ('Norway', 'Gamma', 'Beta', 'Alpha');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0260 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Stephanie Anderson' for 'Date', 'Beta' for 'Opponent', 'Elizabeth Adams' for 'Result', 'Beta' for 'Score', '26' for 'Rank', '25' for 'Attendance'.\nThe name of this table is Panthers_Season_Results, and the headers of t... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "INSERT",
"table_name": "Panthers_Season_Results",
"sql": "INSERT INTO `Panthers_Season_Results` (`Date`, `Opponent`, `Result`, `Score`, `Rank`, `Attendance`) VALUES ('Stephanie Anderson', 'Beta', 'Elizabeth Adams', 'Beta', '26', '25');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0896 |
[
{
"role": "user",
"content": "[TASK=DB]\nInsert a new record into the table with values 'Delta' for 'Release', 'Joshua Taylor' for 'Title', 'Romania' for 'Format', 'Delta' for 'Label', '42' for 'No'.\nThe name of this table is Music_Releases, and the headers of this table are Release,Title,Format,Label,No."... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "INSERT",
"table_name": "Music_Releases",
"sql": "INSERT INTO `Music_Releases` (`Release`, `Title`, `Format`, `Label`, `No`) VALUES ('Delta', 'Joshua Taylor', 'Romania', 'Delta', '42');",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_1015 |
[
{
"role": "user",
"content": "[TASK=DB]\n[('Beyond Generation',)]"
},
{
"role": "assistant",
"content": "Final: SELECT `Title` FROM `Journal of Physics Publications` WHERE `Authors` = 'Susan Mitchell et al.'"
}
] | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "other",
"table_name": "Journal of Physics Publications",
"sql": "SELECT `Title` FROM `Journal of Physics Publications` WHERE `Authors` = 'Susan Mitchell et al.';",
"label": [
"Beyond Generation"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0669 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Date is 'February 17, 2023': set Score to George Harris, Competition to New Entry, Venue to Paul Wright.\nThe name of this table is Australia Match History, and the headers of this table are Date,Venue,Opponent,Score,Competition."
},
{
... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Australia Match History",
"sql": "UPDATE `Australia Match History` SET `Score` = 'George Harris', `Competition` = 'New Entry', `Venue` = 'Paul Wright' WHERE `Date` = 'February 17, 2023';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0716 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Cell type is 'Neuron': set Organ/System to Updated Value, Effects to New Entry.\nThe name of this table is Cell_Receptor_Database, and the headers of this table are Cell type,Organ/System,Activators ligands --> Gq-GPCRs,Effects."
},
{
... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "UPDATE",
"table_name": "Cell_Receptor_Database",
"sql": "UPDATE `Cell_Receptor_Database` SET `Organ/System` = 'Updated Value', `Effects` = 'New Entry' WHERE `Cell type` = 'Neuron';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0301 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Date is 'January 7, 1959': set Attendance to 45, Result to Updated Value, Rank to 84.\nThe name of this table is First Division 2015 Season Standings, and the headers of this table are Date,Opponent,Result,Score,Rank,Attendance."
},
{
... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": null,
"num_detours": null,
"num_recovery_steps": null,
"has_open_action": null,
"subgoals": null,
"total_chars": null,
"trajectory_outcome": null,
"failure_reason": null,
"type": "UPDATE",
"table_name": "First Division 2015 Season Standings",
"sql": "UPDATE `First Division 2015 Season Standings` SET `Attendance` = '45', `Result` = 'Updated Value', `Rank` = '84' WHERE `Date` = 'January 7, 1959';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0994 |
[
{
"role": "user",
"content": "[TASK=DB]\nUpdate the record where Name is 'Melissa Gonzalez': set Percentage to 90.3.\nThe name of this table is Michigan Election Results, and the headers of this table are Name,Party,Votes,Percentage,Status."
},
{
"role": "assistant",
"content": "Final: UPDATE `M... | {
"task_type": null,
"description": null,
"room_type": null,
"difficulty": null,
"num_steps": null,
"has_recovery_steps": null,
"has_close_open": null,
"has_admissible": null,
"num_actions": null,
"num_observations": 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": "Michigan Election Results",
"sql": "UPDATE `Michigan Election Results` SET `Percentage` = '90.3' WHERE `Name` = 'Melissa Gonzalez';",
"label": [
"done"
],
"wrong_sql": null,
"wrong_val": null,
"correct_val": null,
"where_col": null,
"error_col": null,
"error_reason": null
} | dbbench_sft_0188 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.