id string | source string | messages list | metadata_json string |
|---|---|---|---|
dbbench_sft_0000 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["6246.9"], "sql": "SELECT AVG(`Uplink (MHz)`) FROM `Satellite Communications Data` WHERE `Status` = 'Standby';", "table_name": "Satellite Communications Data", "type": "aggregation-AVG", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0001 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "INSERT INTO `Football Matches 2016` (`Date`, `Venue`, `Opponent`, `Score`, `Competition`) VALUES ('Alpha', 'Epsilon', 'Philadelphia', 'Gamma', 'Romania');", "table_name": "Football Matches 2016", "type": "INSERT", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0002 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "UPDATE `Race Results` SET `Finish` = '56', `Start` = '48' WHERE `Car` = '#86';", "table_name": "Race Results", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0003 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["8.0"], "sql": "SELECT AVG(`Silver`) FROM `1992_Olympic_Medal_Tally` WHERE `Nation` = 'Kenya';", "table_name": "1992_Olympic_Medal_Tally", "type": "aggregation-AVG", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0004 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "UPDATE `World Higher Education Data` SET `Score` = '54.5', `Country` = 'New Entry' WHERE `Name` = 'Cornell';", "table_name": "World Higher Education Data", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0005 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["Yekaterinburg", "Samara", "Chelyabinsk"], "sql": "SELECT `Region` FROM `Population by Age Group and Region in Germany` WHERE `18 to 19` > 15291;", "table_name": "Population by Age Group and Region in Germany", "type": "comparison", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0006 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": "Area\n(km²)", "error_reason": "special", "label": ["done"], "sql": "UPDATE `Islands of Philippines` SET `Area\n(sq mi)` = '34.0', `Country/Region` = 'Updated Value', `Area\n(km²)` = '78.0' WHERE `Island` = 'Shetland';", "table_name": "Islands of Philippines", "type": "UPDATE_error_recovery", "where_col": null, "wrong_sql": "UPDATE `Islands of Philippines` SET `Area\n(sq mi)` = '34.0', `Country/Region` = 'Updated Value', Area\n(km²) = '78.0' WHERE `Island` = 'Shetland';", "wrong_val": null} |
dbbench_sft_0007 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["3459.0"], "sql": "SELECT MAX(`Area\n(sq ft)`) FROM `Real Estate 2022` WHERE `Address` = '860 Main St';", "table_name": "Real Estate 2022", "type": "aggregation-MAX", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0008 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": "Name", "error_reason": "reserved", "label": ["done"], "sql": "UPDATE `Intelsat Satellite Fleet` SET `Downlink (MHz)` = '26.6', `Uplink (MHz)` = '44.2' WHERE `Name` = 'SES-27';", "table_name": "Intelsat Satellite Fleet", "type": "UPDATE_error_recovery", "where_col": null, "wrong_sql": "UPDATE `Intelsat Satellite Fleet` SET `Downlink (MHz)` = '26.6', `Uplink (MHz)` = '44.2' WHERE Name = 'SES-27';", "wrong_val": null} |
dbbench_sft_0009 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": "Position", "error_reason": "reserved", "label": ["done"], "sql": "INSERT INTO `Marine_Corps_Officers_List` (`Name`, `From`, `To`, `Position`, `Unit`) VALUES ('Istanbul', 'Dallas', 'Alpha', 'Epsilon', 'Hungary');", "table_name": "Marine_Corps_Officers_List", "type": "INSERT_error_recovery", "where_col": null, "wrong_sql": "INSERT INTO `Marine_Corps_Officers_List` (`Name`, `From`, `To`, Position, `Unit`) VALUES ('Istanbul', 'Dallas', 'Alpha', 'Epsilon', 'Hungary');", "wrong_val": null} |
dbbench_sft_0010 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["1"], "sql": "SELECT COUNT(*) FROM `2007 Formula One Season` WHERE `Driver` = 'Nancy Lewis';", "table_name": "2007 Formula One Season", "type": "counting", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0011 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "INSERT INTO `Satellite_Communications_Data` (`Name`, `Uplink (MHz)`, `Downlink (MHz)`, `System`, `Status`) VALUES ('Beta', '99.4', '88.8', 'Alpha', 'Beta');", "table_name": "Satellite_Communications_Data", "type": "INSERT", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0012 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": "Country/Region", "error_reason": "special", "label": ["1"], "sql": "SELECT COUNT(*) FROM `Islands of Caribbean` WHERE `Country/Region` = 'Israel';", "table_name": "Islands of Caribbean", "type": "counting_error_recovery", "where_col": null, "wrong_sql": "SELECT COUNT(*) FROM `Islands of Caribbean` WHERE Country/Region = 'Israel';", "wrong_val": null} |
dbbench_sft_0013 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": "Type", "error_reason": "reserved", "label": ["150.0"], "sql": "SELECT SUM(`Duration`) FROM `TV Schedule Winter 2024` WHERE `Type` = 'News';", "table_name": "TV Schedule Winter 2024", "type": "aggregation-SUM_error_recovery", "where_col": null, "wrong_sql": "SELECT SUM(`Duration`) FROM `TV Schedule Winter 2024` WHERE Type = 'News';", "wrong_val": null} |
dbbench_sft_0014 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["21"], "sql": "SELECT `Silver` FROM `Youth Olympics Medal Count` WHERE `Nation` = 'Israel';", "table_name": "Youth Olympics Medal Count", "type": "other", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0015 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "INSERT INTO `Economics Research Papers` (`Title`, `Year`, `Citations`, `Authors`, `Venue`) VALUES ('Philadelphia', '50', '58', 'Portugal', 'Brazil');", "table_name": "Economics Research Papers", "type": "INSERT", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0016 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "UPDATE `Northern Census Data` SET `15 to 17` = '39', `18 to 19` = '2' WHERE `Region` = 'Nizhny Novgorod';", "table_name": "Northern Census Data", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0017 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": "Activators ligands --> Gq-GPCRs", "error_reason": "special", "label": ["done"], "sql": "INSERT INTO `Pharmacological Data Table` (`Cell type`, `Organ/System`, `Activators ligands --> Gq-GPCRs`, `Effects`) VALUES ('Stephanie Harris', 'Beta', 'Michelle Taylor', 'Gamma');", "table_name": "Pharmacological Data Table", "type": "INSERT_error_recovery", "where_col": null, "wrong_sql": "INSERT INTO `Pharmacological Data Table` (`Cell type`, `Organ/System`, Activators ligands --> Gq-GPCRs, `Effects`) VALUES ('Stephanie Harris', 'Beta', 'Michelle Taylor', 'Gamma');", "wrong_val": null} |
dbbench_sft_0018 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "UPDATE `Marine_Corps_Officers_List` SET `Position` = 'Warsaw', `To` = 'New Entry' WHERE `Name` = 'COL George Ramirez';", "table_name": "Marine_Corps_Officers_List", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0019 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "UPDATE `Islands of Philippines` SET `Area\n(sq mi)` = '92.0', `Country/Region` = 'James Perez' WHERE `Island` = 'Arran';", "table_name": "Islands of Philippines", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0020 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["22.0"], "sql": "SELECT MAX(`Rank`) FROM `Asia_Higher_Education_Data`;", "table_name": "Asia_Higher_Education_Data", "type": "aggregation-MAX", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0021 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["1"], "sql": "SELECT COUNT(*) FROM `Actress_Filmography` WHERE `Genre` = 'Musical';", "table_name": "Actress_Filmography", "type": "counting", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0022 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "UPDATE `FDA Approved Medications` SET `Dosage (mg)` = '38.6' WHERE `Name` = 'Lisinopril';", "table_name": "FDA Approved Medications", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0023 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": "Poland", "error_col": null, "error_reason": null, "label": ["Borneo"], "sql": "SELECT `Island` FROM `World Islands Database` WHERE `Country/Region` = 'Poland';", "table_name": "World Islands Database", "type": "other_retry", "where_col": "Country/Region", "wrong_sql": "SELECT `Island` FROM `World Islands Database` WHERE `Country/Region` = 'POLAND';", "wrong_val": "POLAND"} |
dbbench_sft_0024 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "UPDATE `Islands_of_Greece` SET `Rank` = '38', `Area\n(km²)` = '61.0', `Country/Region` = 'Updated Value' WHERE `Island` = 'Cebu';", "table_name": "Islands_of_Greece", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0025 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "UPDATE `Quentin_Tarantino_Filmography` SET `Genre` = 'Updated Value', `Year` = '19' WHERE `Title` = 'Red Dawn';", "table_name": "Quentin_Tarantino_Filmography", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0026 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "INSERT INTO `First Division 2013 Season Standings` (`Date`, `Opponent`, `Result`, `Score`, `Rank`, `Attendance`) VALUES ('Belgium', 'Gamma', 'Alpha', 'Delta', '51', '67');", "table_name": "First Division 2013 Season Standings", "type": "INSERT", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0027 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "INSERT INTO `2000 Olympic Medal Tally` (`Rank`, `Nation`, `Gold`, `Silver`, `Bronze`, `Total`) VALUES ('56', 'Daniel Ramirez', '63', '26', '29', '48');", "table_name": "2000 Olympic Medal Tally", "type": "INSERT", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0028 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "UPDATE `Drug Approval Database` SET `Type` = 'Stephanie Wright', `Date` = 'New Entry' WHERE `Name` = 'Levothyroxine';", "table_name": "Drug Approval Database", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0029 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": "No", "error_reason": "reserved", "label": ["16.0"], "sql": "SELECT MAX(`No`) FROM `Railway Stations France`;", "table_name": "Railway Stations France", "type": "aggregation-MAX_error_recovery", "where_col": null, "wrong_sql": "SELECT MAX(No) FROM `Railway Stations France`;", "wrong_val": null} |
dbbench_sft_0030 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": "Neuron", "error_col": null, "error_reason": null, "label": ["1"], "sql": "SELECT COUNT(*) FROM `Pharmacological Data Table` WHERE `Cell type` = 'Neuron';", "table_name": "Pharmacological Data Table", "type": "counting_retry", "where_col": "Cell type", "wrong_sql": "SELECT COUNT(*) FROM `Pharmacological Data Table` WHERE `Cell type` = 'NEURON';", "wrong_val": "NEURON"} |
dbbench_sft_0031 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "INSERT INTO `NBC_Programming` (`Time`, `Title`, `Duration`, `Type`, `Rating`) VALUES ('Gamma', 'Gamma', '10', 'Epsilon', '71.5');", "table_name": "NBC_Programming", "type": "INSERT", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0032 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "UPDATE `France_Match_History` SET `Score` = 'Updated Value' WHERE `Date` = 'November 24, 1983';", "table_name": "France_Match_History", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0033 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "INSERT INTO `Real Estate 2021` (`Address`, `Price`, `Area\n(sq ft)`, `Year`, `Level`) VALUES ('United Arab Emirates', '53', '16', '9', '14');", "table_name": "Real Estate 2021", "type": "INSERT", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0034 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["Australia", "Malaysia", "Belgium"], "sql": "SELECT `Nation` FROM `Summer Olympics Medal Count` WHERE `Bronze` < 23;", "table_name": "Summer Olympics Medal Count", "type": "comparison", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0035 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": "Rank", "error_reason": "reserved", "label": ["done"], "sql": "INSERT INTO `Summer Olympics Medal Count` (`Rank`, `Nation`, `Gold`, `Silver`, `Bronze`, `Total`) VALUES ('31', 'Beta', '70', '85', '1', '68');", "table_name": "Summer Olympics Medal Count", "type": "INSERT_error_recovery", "where_col": null, "wrong_sql": "INSERT INTO `Summer Olympics Medal Count` (Rank, `Nation`, `Gold`, `Silver`, `Bronze`, `Total`) VALUES ('31', 'Beta', '70', '85', '1', '68');", "wrong_val": null} |
dbbench_sft_0036 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "UPDATE `European_Championships_Competition_Records` SET `Race 1\nTime` = '82.6' WHERE `Athlete` = 'Jennifer Carter';", "table_name": "European_Championships_Competition_Records", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0037 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": "Downlink (MHz)", "error_reason": "special", "label": ["done"], "sql": "INSERT INTO `Satellite Communications Data` (`Name`, `Uplink (MHz)`, `Downlink (MHz)`, `System`, `Status`) VALUES ('New Zealand', '78.2', '38.8', 'Gamma', 'Deborah Collins');", "table_name": "Satellite Communications Data", "type": "INSERT_error_recovery", "where_col": null, "wrong_sql": "INSERT INTO `Satellite Communications Data` (`Name`, `Uplink (MHz)`, Downlink (MHz), `System`, `Status`) VALUES ('New Zealand', '78.2', '38.8', 'Gamma', 'Deborah Collins');", "wrong_val": null} |
dbbench_sft_0038 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "UPDATE `TV_Schedule_Summer_2024` SET `Title` = 'Helsinki', `Duration` = '25' WHERE `Time` = '7:30';", "table_name": "TV_Schedule_Summer_2024", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0039 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["21833.0"], "sql": "SELECT SUM(`Year`) FROM `Indianapolis 500 History`;", "table_name": "Indianapolis 500 History", "type": "aggregation-SUM", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0040 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "INSERT INTO `Winter_Olympics_Medal_Count` (`Rank`, `Nation`, `Gold`, `Silver`, `Bronze`, `Total`) VALUES ('93', 'Epsilon', '50', '19', '40', '19');", "table_name": "Winter_Olympics_Medal_Count", "type": "INSERT", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0041 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": "Name", "error_reason": "reserved", "label": ["done"], "sql": "UPDATE `Georgia Election Results` SET `Percentage` = '50.7', `Party` = 'New Entry', `Votes` = '25' WHERE `Name` = 'Sarah Anderson';", "table_name": "Georgia Election Results", "type": "UPDATE_error_recovery", "where_col": null, "wrong_sql": "UPDATE `Georgia Election Results` SET `Percentage` = '50.7', `Party` = 'New Entry', `Votes` = '25' WHERE Name = 'Sarah Anderson';", "wrong_val": null} |
dbbench_sft_0042 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["1"], "sql": "SELECT COUNT(*) FROM `Race_Results` WHERE `Car` = '#29';", "table_name": "Race_Results", "type": "counting", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0043 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["1"], "sql": "SELECT COUNT(*) FROM `Panthers Season Results` WHERE `Date` = 'July 28, 1982';", "table_name": "Panthers Season Results", "type": "counting", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0044 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "INSERT INTO `Indianapolis 500 History` (`Year`, `Car`, `Start`, `Qual`, `Rank`, `Finish`, `Laps`) VALUES ('71', 'Beta', '2', '98.3', '54', '10', '27');", "table_name": "Indianapolis 500 History", "type": "INSERT", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0045 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "INSERT INTO `Major League 2007 Season Standings` (`Date`, `Opponent`, `Result`, `Score`, `Rank`, `Attendance`) VALUES ('Alpha', 'Sydney', 'James Thomas', 'San Jose', '99', '52');", "table_name": "Major League 2007 Season Standings", "type": "INSERT", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0046 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": "Area\n(km²)", "error_reason": "special", "label": ["done"], "sql": "UPDATE `Islands of Japan` SET `Rank` = '30', `Area\n(km²)` = '66.3' WHERE `Island` = 'Skye';", "table_name": "Islands of Japan", "type": "UPDATE_error_recovery", "where_col": null, "wrong_sql": "UPDATE `Islands of Japan` SET `Rank` = '30', Area\n(km²) = '66.3' WHERE `Island` = 'Skye';", "wrong_val": null} |
dbbench_sft_0047 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "UPDATE `Northern_Census_Data` SET `18 to 19` = '21' WHERE `Region` = 'Omsk';", "table_name": "Northern_Census_Data", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0048 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": "Country/Region", "error_reason": "special", "label": ["done"], "sql": "INSERT INTO `Islands of Indonesia` (`Rank`, `Island`, `Area\n(km²)`, `Area\n(sq mi)`, `Country/Region`) VALUES ('29', 'Gamma', '8.0', '32.8', 'Malaysia');", "table_name": "Islands of Indonesia", "type": "INSERT_error_recovery", "where_col": null, "wrong_sql": "INSERT INTO `Islands of Indonesia` (`Rank`, `Island`, `Area\n(km²)`, `Area\n(sq mi)`, Country/Region) VALUES ('29', 'Gamma', '8.0', '32.8', 'Malaysia');", "wrong_val": null} |
dbbench_sft_0049 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": "Status", "error_reason": "reserved", "label": ["3"], "sql": "SELECT COUNT(*) FROM `2002_General_Election` WHERE `Status` = 'Withdrawn';", "table_name": "2002_General_Election", "type": "counting_error_recovery", "where_col": null, "wrong_sql": "SELECT COUNT(*) FROM `2002_General_Election` WHERE Status = 'Withdrawn';", "wrong_val": null} |
dbbench_sft_0050 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "INSERT INTO `Cell_Receptor_Database` (`Cell type`, `Organ/System`, `Activators ligands --> Gq-GPCRs`, `Effects`) VALUES ('Epsilon', 'Delta', 'David Walker', 'Mexico City');", "table_name": "Cell_Receptor_Database", "type": "INSERT", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0051 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": "Rank", "error_reason": "reserved", "label": ["#77"], "sql": "SELECT `Car` FROM `Rick Mears Career Stats` ORDER BY `Rank` DESC LIMIT 1;", "table_name": "Rick Mears Career Stats", "type": "ranking_error_recovery", "where_col": null, "wrong_sql": "SELECT `Car` FROM `Rick Mears Career Stats` ORDER BY Rank DESC LIMIT 1;", "wrong_val": null} |
dbbench_sft_0052 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["1"], "sql": "SELECT COUNT(*) FROM `F1_Spa_Grand_Prix_Results` WHERE `Driver` = 'Dorothy Brown';", "table_name": "F1_Spa_Grand_Prix_Results", "type": "counting", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0053 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["Blood"], "sql": "SELECT `Organ/System` FROM `Cell Receptor Database` WHERE `Activators ligands --> Gq-GPCRs` = 'Histamine';", "table_name": "Cell Receptor Database", "type": "other", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0054 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "UPDATE `Cell Receptor Database` SET `Effects` = 'Deborah Walker', `Activators ligands --> Gq-GPCRs` = 'New Entry' WHERE `Cell type` = 'Neuron';", "table_name": "Cell Receptor Database", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0055 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "UPDATE `Pharmacological Data Table` SET `Activators ligands --> Gq-GPCRs` = 'New Entry', `Organ/System` = 'Edward Campbell' WHERE `Cell type` = 'Lymphocyte';", "table_name": "Pharmacological Data Table", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0056 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["25369.0"], "sql": "SELECT SUM(`Attendance`) FROM `Panthers_Season_Results` WHERE `Date` = 'May 8, 2007';", "table_name": "Panthers_Season_Results", "type": "aggregation-SUM", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0057 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": "No", "error_reason": "reserved", "label": ["done"], "sql": "INSERT INTO `JR East Train Schedule` (`No`, `Name`, `From`, `To`, `Distance (km)`, `Platforms`) VALUES ('81', 'Delta', 'Helsinki', 'Beta', '83', '52');", "table_name": "JR East Train Schedule", "type": "INSERT_error_recovery", "where_col": null, "wrong_sql": "INSERT INTO `JR East Train Schedule` (No, `Name`, `From`, `To`, `Distance (km)`, `Platforms`) VALUES ('81', 'Delta', 'Helsinki', 'Beta', '83', '52');", "wrong_val": null} |
dbbench_sft_0058 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "INSERT INTO `Journal of Biology Publications` (`Title`, `Year`, `Citations`, `Authors`, `Venue`) VALUES ('Betty Gonzalez', '28', '66', 'South Korea', 'Delta');", "table_name": "Journal of Biology Publications", "type": "INSERT", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0059 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "UPDATE `2000 General Election` SET `Party` = 'Updated Value' WHERE `Name` = 'Jennifer Scott';", "table_name": "2000 General Election", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0060 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "UPDATE `Tokyo Property Listings` SET `Price` = '52' WHERE `Address` = '443 River St';", "table_name": "Tokyo Property Listings", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0061 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": "From", "error_reason": "reserved", "label": ["August 19, 2006"], "sql": "SELECT `From` FROM `Command History 2000-2020` WHERE `Position` = 'Director';", "table_name": "Command History 2000-2020", "type": "other_error_recovery", "where_col": null, "wrong_sql": "SELECT From FROM `Command History 2000-2020` WHERE `Position` = 'Director';", "wrong_val": null} |
dbbench_sft_0062 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["Bangkok", "San Jose", "Mumbai"], "sql": "SELECT `From` FROM `Amtrak Train Schedule` WHERE `Distance (km)` < 977;", "table_name": "Amtrak Train Schedule", "type": "comparison", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0063 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["April 3, 1991", "August 22, 1990", "April 13, 2012"], "sql": "SELECT `Release` FROM `Comedy_Films_2010s` WHERE `Rating` < 4;", "table_name": "Comedy_Films_2010s", "type": "comparison", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0064 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": "Cassette", "error_col": null, "error_reason": null, "label": ["6.0"], "sql": "SELECT MIN(`No`) FROM `Music Releases` WHERE `Format` = 'Cassette';", "table_name": "Music Releases", "type": "aggregation-MIN_retry", "where_col": "Format", "wrong_sql": "SELECT MIN(`No`) FROM `Music Releases` WHERE `Format` = 'Cassette ';", "wrong_val": "Cassette "} |
dbbench_sft_0065 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "INSERT INTO `Christopher Nolan Filmography` (`Year`, `Title`, `Genre`, `Box Office`, `Rating`, `Release`) VALUES ('53', 'Gamma', 'Epsilon', '44.9', '85.6', 'Beta');", "table_name": "Christopher Nolan Filmography", "type": "INSERT", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0066 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["5"], "sql": "SELECT `Level` FROM `Real Estate 2024` WHERE `Address` = '768 Main St';", "table_name": "Real Estate 2024", "type": "other", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0067 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "INSERT INTO `France_Match_History` (`Date`, `Venue`, `Opponent`, `Score`, `Competition`) VALUES ('Elizabeth Roberts', 'Delta', 'Alpha', 'Germany', 'Gamma');", "table_name": "France_Match_History", "type": "INSERT", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0068 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "INSERT INTO `University_Rankings_2019` (`Rank`, `Name`, `Country`, `Students`, `Score`) VALUES ('72', 'Argentina', 'Delta', '75', '31.6');", "table_name": "University_Rankings_2019", "type": "INSERT", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0069 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["17.4"], "sql": "SELECT AVG(`Bronze`) FROM `2012 Olympic Medal Tally`;", "table_name": "2012 Olympic Medal Tally", "type": "aggregation-AVG", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0070 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "INSERT INTO `Drug Approval Database` (`Name`, `Date`, `Type`, `Number`, `Dosage (mg)`) VALUES ('Lisa Phillips', 'Delta', 'Donna Green', '80', '42.5');", "table_name": "Drug Approval Database", "type": "INSERT", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0071 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": "Name", "error_reason": "reserved", "label": ["done"], "sql": "INSERT INTO `Railway Stations UK` (`No`, `Name`, `From`, `To`, `Distance (km)`, `Platforms`) VALUES ('2', 'Donald Martin', 'Delta', 'Delta', '23', '71');", "table_name": "Railway Stations UK", "type": "INSERT_error_recovery", "where_col": null, "wrong_sql": "INSERT INTO `Railway Stations UK` (`No`, Name, `From`, `To`, `Distance (km)`, `Platforms`) VALUES ('2', 'Donald Martin', 'Delta', 'Delta', '23', '71');", "wrong_val": null} |
dbbench_sft_0072 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "UPDATE `Real_Estate_2018` SET `Price` = '50' WHERE `Address` = '181 Oak St';", "table_name": "Real_Estate_2018", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0073 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": "To", "error_reason": "reserved", "label": ["done"], "sql": "UPDATE `Railway_Stations_UK` SET `To` = 'Updated Value', `No` = '34', `From` = 'Berlin' WHERE `Name` = 'Rajdhani Express';", "table_name": "Railway_Stations_UK", "type": "UPDATE_error_recovery", "where_col": null, "wrong_sql": "UPDATE `Railway_Stations_UK` SET To = 'Updated Value', `No` = '34', `From` = 'Berlin' WHERE `Name` = 'Rajdhani Express';", "wrong_val": null} |
dbbench_sft_0074 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["2"], "sql": "SELECT COUNT(*) FROM `University Rankings 2020` WHERE `Name` = 'Imperial College';", "table_name": "University Rankings 2020", "type": "counting", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0075 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": "Release", "error_reason": "reserved", "label": ["done"], "sql": "UPDATE `Ridley_Scott_Filmography` SET `Box Office` = '83.7', `Release` = 'Updated Value', `Genre` = 'Updated Value' WHERE `Title` = 'Dark Waters';", "table_name": "Ridley_Scott_Filmography", "type": "UPDATE_error_recovery", "where_col": null, "wrong_sql": "UPDATE `Ridley_Scott_Filmography` SET `Box Office` = '83.7', Release = 'Updated Value', `Genre` = 'Updated Value' WHERE `Title` = 'Dark Waters';", "wrong_val": null} |
dbbench_sft_0076 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "UPDATE `Pharmacological Data Table` SET `Activators ligands --> Gq-GPCRs` = 'Mexico City' WHERE `Cell type` = 'Lymphocyte';", "table_name": "Pharmacological Data Table", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0077 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "UPDATE `2004 Olympic Medal Tally` SET `Bronze` = '50' WHERE `Nation` = 'Argentina';", "table_name": "2004 Olympic Medal Tally", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0078 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": "Release", "error_reason": "reserved", "label": ["done"], "sql": "INSERT INTO `Music Releases` (`Release`, `Title`, `Format`, `Label`, `No`) VALUES ('Delta', 'Delta', 'Indonesia', 'Edinburgh', '83');", "table_name": "Music Releases", "type": "INSERT_error_recovery", "where_col": null, "wrong_sql": "INSERT INTO `Music Releases` (Release, `Title`, `Format`, `Label`, `No`) VALUES ('Delta', 'Delta', 'Indonesia', 'Edinburgh', '83');", "wrong_val": null} |
dbbench_sft_0079 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["#84"], "sql": "SELECT `Car` FROM `Emerson Fittipaldi Career Stats` ORDER BY `Year` ASC LIMIT 1;", "table_name": "Emerson Fittipaldi Career Stats", "type": "ranking", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0080 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["April 5, 1983"], "sql": "SELECT `Date` FROM `FDA_Approved_Medications` WHERE `Name` = 'Lisinopril';", "table_name": "FDA_Approved_Medications", "type": "other", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0081 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": "#4", "error_col": null, "error_reason": null, "label": ["1972"], "sql": "SELECT `Year` FROM `Race_Results` WHERE `Car` = '#4';", "table_name": "Race_Results", "type": "other_retry", "where_col": "Car", "wrong_sql": "SELECT `Year` FROM `Race_Results` WHERE `Car` = '#4 ';", "wrong_val": "#4 "} |
dbbench_sft_0082 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": "Colombia", "error_col": null, "error_reason": null, "label": ["4"], "sql": "SELECT `Rank` FROM `World Islands Database` WHERE `Country/Region` = 'Colombia';", "table_name": "World Islands Database", "type": "other_retry", "where_col": "Country/Region", "wrong_sql": "SELECT `Rank` FROM `World Islands Database` WHERE `Country/Region` = 'colombia';", "wrong_val": "colombia"} |
dbbench_sft_0083 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": "Ibuprofen", "error_col": null, "error_reason": null, "label": ["7434"], "sql": "SELECT `Number` FROM `Drug Approval Database` WHERE `Name` = 'Ibuprofen';", "table_name": "Drug Approval Database", "type": "other_retry", "where_col": "Name", "wrong_sql": "SELECT `Number` FROM `Drug Approval Database` WHERE `Name` = 'Ibuprofens';", "wrong_val": "Ibuprofens"} |
dbbench_sft_0084 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": "No", "error_reason": "reserved", "label": ["230.0"], "sql": "SELECT SUM(`No`) FROM `Music Releases`;", "table_name": "Music Releases", "type": "aggregation-SUM_error_recovery", "where_col": null, "wrong_sql": "SELECT SUM(No) FROM `Music Releases`;", "wrong_val": null} |
dbbench_sft_0085 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "INSERT INTO `Population_by_Age_Group_and_Region_in_Russia` (`Region`, `Population`, `15 to 17`, `18 to 19`, `20 to 24`) VALUES ('Gamma', '4', '52', '2', '76');", "table_name": "Population_by_Age_Group_and_Region_in_Russia", "type": "INSERT", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0086 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["1"], "sql": "SELECT COUNT(*) FROM `Psychology Research Papers` WHERE `Title` = 'Efficient Methods Neural Networks';", "table_name": "Psychology Research Papers", "type": "counting", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0087 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "UPDATE `Christopher Nolan Filmography` SET `Genre` = 'Taipei', `Release` = 'Warsaw' WHERE `Title` = 'Silent Echo';", "table_name": "Christopher Nolan Filmography", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0088 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": "Status", "error_reason": "reserved", "label": ["done"], "sql": "INSERT INTO `Satellite Communications Data` (`Name`, `Uplink (MHz)`, `Downlink (MHz)`, `System`, `Status`) VALUES ('Sydney', '55.0', '43.8', 'Epsilon', 'Melissa Carter');", "table_name": "Satellite Communications Data", "type": "INSERT_error_recovery", "where_col": null, "wrong_sql": "INSERT INTO `Satellite Communications Data` (`Name`, `Uplink (MHz)`, `Downlink (MHz)`, `System`, Status) VALUES ('Sydney', '55.0', '43.8', 'Epsilon', 'Melissa Carter');", "wrong_val": null} |
dbbench_sft_0089 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": "Netherlands", "error_col": null, "error_reason": null, "label": ["3"], "sql": "SELECT `Gold` FROM `2012_Olympic_Medal_Tally` WHERE `Nation` = 'Netherlands';", "table_name": "2012_Olympic_Medal_Tally", "type": "other_retry", "where_col": "Nation", "wrong_sql": "SELECT `Gold` FROM `2012_Olympic_Medal_Tally` WHERE `Nation` = 'Netherlandss';", "wrong_val": "Netherlandss"} |
dbbench_sft_0090 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["189.0"], "sql": "SELECT MIN(`Laps`) FROM `Helio Castroneves Career Stats` WHERE `Car` = '#3';", "table_name": "Helio Castroneves Career Stats", "type": "aggregation-MIN", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0091 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["Comedy"], "sql": "SELECT `Genre` FROM `Sci-Fi Films 2000s` ORDER BY `Box Office` DESC LIMIT 1;", "table_name": "Sci-Fi Films 2000s", "type": "ranking", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0092 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": "#46", "error_col": null, "error_reason": null, "label": ["23.0"], "sql": "SELECT AVG(`Finish`) FROM `Indianapolis_500_History` WHERE `Car` = '#46';", "table_name": "Indianapolis_500_History", "type": "aggregation-AVG_retry", "where_col": "Car", "wrong_sql": "SELECT AVG(`Finish`) FROM `Indianapolis_500_History` WHERE `Car` = '#46 ';", "wrong_val": "#46 "} |
dbbench_sft_0093 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "UPDATE `Pennsylvania Election Results` SET `Party` = 'Copenhagen', `Percentage` = '45.7', `Status` = 'Updated Value' WHERE `Name` = 'Stephanie Rodriguez';", "table_name": "Pennsylvania Election Results", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0094 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "UPDATE `Railway_Stations_India` SET `Platforms` = '31', `No` = '49' WHERE `Name` = 'Rajdhani Express';", "table_name": "Railway_Stations_India", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0095 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "UPDATE `World_Islands_Database` SET `Country/Region` = 'New Entry' WHERE `Island` = 'Cebu';", "table_name": "World_Islands_Database", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0096 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": "Status", "error_reason": "reserved", "label": ["done"], "sql": "UPDATE `Texas Election Results` SET `Status` = 'Lagos', `Votes` = '39' WHERE `Name` = 'Matthew Perez';", "table_name": "Texas Election Results", "type": "UPDATE_error_recovery", "where_col": null, "wrong_sql": "UPDATE `Texas Election Results` SET Status = 'Lagos', `Votes` = '39' WHERE `Name` = 'Matthew Perez';", "wrong_val": null} |
dbbench_sft_0097 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "INSERT INTO `Winter Olympics Medal Count` (`Rank`, `Nation`, `Gold`, `Silver`, `Bronze`, `Total`) VALUES ('81', 'Epsilon', '77', '59', '82', '4');", "table_name": "Winter Olympics Medal Count", "type": "INSERT", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0098 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["done"], "sql": "UPDATE `Alpine_Skiing_Athletes_Results` SET `Total\nTime` = '78.2' WHERE `Athlete` = 'Michael Harris';", "table_name": "Alpine_Skiing_Athletes_Results", "type": "UPDATE", "where_col": null, "wrong_sql": null, "wrong_val": null} |
dbbench_sft_0099 | dbbench | [
{
"role": "user",
"content": "\nI will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.\nYou have to explain the problem and your solution to me and write down your thoughts.\nAfter thinking and explaining thoroughly, every round you can choose to operate... | {"correct_val": null, "error_col": null, "error_reason": null, "label": ["200.0"], "sql": "SELECT MIN(`Distance (km)`) FROM `Railway Stations UK` WHERE `Name` = 'City Link';", "table_name": "Railway Stations UK", "type": "aggregation-MIN", "where_col": null, "wrong_sql": null, "wrong_val": null} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.