{ "data": { "question": { "questionId": "1509", "questionFrontendId": "1378", "categoryTitle": "Database", "boundTopicId": 145923, "title": "Replace Employee ID With The Unique Identifier", "titleSlug": "replace-employee-id-with-the-unique-identifier", "content": null, "translatedTitle": "使用唯一标识码替换员工ID", "translatedContent": null, "isPaidOnly": true, "difficulty": "Easy", "likes": 16, "dislikes": 0, "isLiked": null, "similarQuestions": "[]", "contributors": [], "langToValidPlayground": null, "topicTags": [ { "name": "Database", "slug": "database", "translatedName": "数据库", "__typename": "TopicTagNode" } ], "companyTagStats": null, "codeSnippets": null, "stats": "{\"totalAccepted\": \"8.9K\", \"totalSubmission\": \"10.2K\", \"totalAcceptedRaw\": 8888, \"totalSubmissionRaw\": 10243, \"acRate\": \"86.8%\"}", "hints": [], "solution": null, "status": null, "sampleTestCase": "{\"headers\":{\"Employees\":[\"id\",\"name\"],\"EmployeeUNI\":[\"id\",\"unique_id\"]},\"rows\":{\"Employees\":[[1,\"Alice\"],[7,\"Bob\"],[11,\"Meir\"],[90,\"Winston\"],[3,\"Jonathan\"]],\"EmployeeUNI\":[[3,1],[11,2],[90,3]]}}", "metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Employees (id int, name varchar(20))\",\n \"Create table If Not Exists EmployeeUNI (id int, unique_id int)\"\n ],\n \"mssql\": [\n \"Create table Employees (id int, name varchar(20))\",\n \"Create table EmployeeUNI (id int, unique_id int)\"\n ],\n \"oraclesql\": [\n \"Create table Employees (id int, name varchar(20))\",\n \"Create table EmployeeUNI (id int, unique_id int)\"\n ],\n \"database\": true\n}", "judgerAvailable": true, "judgeType": "large", "mysqlSchemas": [ "Create table If Not Exists Employees (id int, name varchar(20))", "Create table If Not Exists EmployeeUNI (id int, unique_id int)", "Truncate table Employees", "insert into Employees (id, name) values ('1', 'Alice')", "insert into Employees (id, name) values ('7', 'Bob')", "insert into Employees (id, name) values ('11', 'Meir')", "insert into Employees (id, name) values ('90', 'Winston')", "insert into Employees (id, name) values ('3', 'Jonathan')", "Truncate table EmployeeUNI", "insert into EmployeeUNI (id, unique_id) values ('3', '1')", "insert into EmployeeUNI (id, unique_id) values ('11', '2')", "insert into EmployeeUNI (id, unique_id) values ('90', '3')" ], "enableRunCode": true, "envInfo": "{\"mysql\":[\"MySQL\",\"
\\u7248\\u672c\\uff1a mssql server 2019.<\\/p>\"],\"oraclesql\":[\"Oracle\",\" Oracle Sql 11.2.<\\/p>\"]}",
"book": null,
"isSubscribed": false,
"isDailyQuestion": false,
"dailyRecordStatus": null,
"editorType": "CKEDITOR",
"ugcQuestionId": null,
"style": "LEETCODE",
"exampleTestcases": "{\"headers\":{\"Employees\":[\"id\",\"name\"],\"EmployeeUNI\":[\"id\",\"unique_id\"]},\"rows\":{\"Employees\":[[1,\"Alice\"],[7,\"Bob\"],[11,\"Meir\"],[90,\"Winston\"],[3,\"Jonathan\"]],\"EmployeeUNI\":[[3,1],[11,2],[90,3]]}}",
"__typename": "QuestionNode"
}
}
}MySQL 8.0<\\/code><\\/p>\"],\"mssql\":[\"MS SQL Server\",\"