mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-11 02:58:13 +08:00
55 lines
3.6 KiB
JSON
55 lines
3.6 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "2127",
|
|
"questionFrontendId": "1978",
|
|
"categoryTitle": "Database",
|
|
"boundTopicId": 957284,
|
|
"title": "Employees Whose Manager Left the Company",
|
|
"titleSlug": "employees-whose-manager-left-the-company",
|
|
"content": null,
|
|
"translatedTitle": "上级经理已离职的公司员工",
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Easy",
|
|
"likes": 1,
|
|
"dislikes": 0,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"contributors": [],
|
|
"langToValidPlayground": null,
|
|
"topicTags": [],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"1.4K\", \"totalSubmission\": \"2.8K\", \"totalAcceptedRaw\": 1445, \"totalSubmissionRaw\": 2761, \"acRate\": \"52.3%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\": {\"Employees\": [\"employee_id\", \"name\", \"manager_id\", \"salary\"]}, \"rows\": {\"Employees\": [[3, \"Mila\", 9, 60301], [12, \"Antonella\", null, 31000], [13, \"Emery\", null, 67084], [1, \"Kalel\", 11, 21241], [9, \"Mikaela\", null, 50937], [11, \"Joziah\", 6, 28485]]}}",
|
|
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Employees (employee_id int, name varchar(20), manager_id int, salary int)\"\n ],\n \"mssql\": [\n \"Create table Employees (employee_id int, name varchar(20), manager_id int, salary int)\"\n ],\n \"oraclesql\": [\n \"Create table Employees (employee_id int, name varchar(20), manager_id int, salary int)\"\n ],\n \"database\": true\n}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Employees (employee_id int, name varchar(20), manager_id int, salary int)",
|
|
"Truncate table Employees",
|
|
"insert into Employees (employee_id, name, manager_id, salary) values ('3', 'Mila', '9', '60301')",
|
|
"insert into Employees (employee_id, name, manager_id, salary) values ('12', 'Antonella', 'None', '31000')",
|
|
"insert into Employees (employee_id, name, manager_id, salary) values ('13', 'Emery', 'None', '67084')",
|
|
"insert into Employees (employee_id, name, manager_id, salary) values ('1', 'Kalel', '11', '21241')",
|
|
"insert into Employees (employee_id, name, manager_id, salary) values ('9', 'Mikaela', 'None', '50937')",
|
|
"insert into Employees (employee_id, name, manager_id, salary) values ('11', 'Joziah', '6', '28485')"
|
|
],
|
|
"enableRunCode": true,
|
|
"envInfo": "{\"mysql\":[\"MySQL\",\"<p>\\u7248\\u672c\\uff1a<code>MySQL 8.0<\\/code><\\/p>\"],\"mssql\":[\"MS SQL Server\",\"<p>mssql server 2019.<\\/p>\"],\"oraclesql\":[\"Oracle\",\"<p>Oracle Sql 11.2.<\\/p>\"]}",
|
|
"book": null,
|
|
"isSubscribed": false,
|
|
"isDailyQuestion": false,
|
|
"dailyRecordStatus": null,
|
|
"editorType": "CKEDITOR",
|
|
"ugcQuestionId": null,
|
|
"style": "LEETCODE",
|
|
"exampleTestcases": "{\"headers\": {\"Employees\": [\"employee_id\", \"name\", \"manager_id\", \"salary\"]}, \"rows\": {\"Employees\": [[3, \"Mila\", 9, 60301], [12, \"Antonella\", null, 31000], [13, \"Emery\", null, 67084], [1, \"Kalel\", 11, 21241], [9, \"Mikaela\", null, 50937], [11, \"Joziah\", 6, 28485]]}}",
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |