{ "data": { "question": { "questionId": "2127", "questionFrontendId": "1978", "boundTopicId": null, "title": "Employees Whose Manager Left the Company", "titleSlug": "employees-whose-manager-left-the-company", "content": null, "translatedTitle": null, "translatedContent": null, "isPaidOnly": true, "difficulty": "Easy", "likes": 22, "dislikes": 4, "isLiked": null, "similarQuestions": "[]", "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]]}}", "categoryTitle": "Database", "contributors": [], "topicTags": [ { "name": "Database", "slug": "database", "translatedName": null, "__typename": "TopicTagNode" } ], "companyTagStats": null, "codeSnippets": null, "stats": "{\"totalAccepted\": \"4.4K\", \"totalSubmission\": \"8.8K\", \"totalAcceptedRaw\": 4388, \"totalSubmissionRaw\": 8778, \"acRate\": \"50.0%\"}", "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, "enableTestMode": false, "enableDebugger": false, "envInfo": "{\"mysql\": [\"MySQL\", \"

MySQL 8.0.

\"], \"mssql\": [\"MS SQL Server\", \"

mssql server 2019.

\"], \"oraclesql\": [\"Oracle\", \"

Oracle Sql 11.2.

\"]}", "libraryUrl": null, "adminUrl": null, "challengeQuestion": null, "__typename": "QuestionNode" } } }