{
    "data": {
        "question": {
            "questionId": "577",
            "questionFrontendId": "577",
            "boundTopicId": null,
            "title": "Employee Bonus",
            "titleSlug": "employee-bonus",
            "content": null,
            "translatedTitle": null,
            "translatedContent": null,
            "isPaidOnly": true,
            "difficulty": "Easy",
            "likes": 157,
            "dislikes": 88,
            "isLiked": null,
            "similarQuestions": "[{\"title\": \"Combine Two Tables\", \"titleSlug\": \"combine-two-tables\", \"difficulty\": \"Easy\", \"translatedTitle\": null}]",
            "exampleTestcases": "{\"headers\":{\"Employee\":[\"empId\",\"name\",\"supervisor\",\"salary\"],\"Bonus\":[\"empId\",\"bonus\"]},\"rows\":{\"Employee\":[[3,\"Brad\",null,4000],[1,\"John\",3,1000],[2,\"Dan\",3,2000],[4,\"Thomas\",3,4000]],\"Bonus\":[[2,500],[4,2000]]}}",
            "categoryTitle": "Database",
            "contributors": [],
            "topicTags": [
                {
                    "name": "Database",
                    "slug": "database",
                    "translatedName": null,
                    "__typename": "TopicTagNode"
                }
            ],
            "companyTagStats": null,
            "codeSnippets": null,
            "stats": "{\"totalAccepted\": \"56.9K\", \"totalSubmission\": \"76.2K\", \"totalAcceptedRaw\": 56945, \"totalSubmissionRaw\": 76187, \"acRate\": \"74.7%\"}",
            "hints": [
                "If the EmpId in table Employee has no match in table Bonus, we consider that the corresponding bonus is null and null is smaller than 1000.",
                "Inner join is the default join, we can solve the mismatching problem by using outer join."
            ],
            "solution": {
                "id": "182",
                "canSeeDetail": true,
                "paidOnly": false,
                "hasVideoSolution": false,
                "paidOnlyVideo": true,
                "__typename": "ArticleNode"
            },
            "status": null,
            "sampleTestCase": "{\"headers\":{\"Employee\":[\"empId\",\"name\",\"supervisor\",\"salary\"],\"Bonus\":[\"empId\",\"bonus\"]},\"rows\":{\"Employee\":[[3,\"Brad\",null,4000],[1,\"John\",3,1000],[2,\"Dan\",3,2000],[4,\"Thomas\",3,4000]],\"Bonus\":[[2,500],[4,2000]]}}",
            "metaData": "{\n  \"mysql\": [\n    \"Create table If Not Exists Employee (empId int, name varchar(255), supervisor int, salary int)\",\n    \"Create table If Not Exists Bonus (empId int, bonus int)\"\n  ],\n  \"mssql\": [\n    \"Create table Employee (empId int, name varchar(255), supervisor int, salary int)\",\n    \"Create table Bonus (empId int, bonus int)\"\n  ],\n  \"oraclesql\": [\n    \"Create table Employee (empId int, name varchar(255), supervisor int, salary int)\",\n    \"Create table Bonus (empId int, bonus int)\"\n  ],\n  \"database\": true\n}",
            "judgerAvailable": true,
            "judgeType": "large",
            "mysqlSchemas": [
                "Create table If Not Exists Employee (empId int, name varchar(255), supervisor int, salary int)",
                "Create table If Not Exists Bonus (empId int, bonus int)",
                "Truncate table Employee",
                "insert into Employee (empId, name, supervisor, salary) values ('3', 'Brad', 'None', '4000')",
                "insert into Employee (empId, name, supervisor, salary) values ('1', 'John', '3', '1000')",
                "insert into Employee (empId, name, supervisor, salary) values ('2', 'Dan', '3', '2000')",
                "insert into Employee (empId, name, supervisor, salary) values ('4', 'Thomas', '3', '4000')",
                "Truncate table Bonus",
                "insert into Bonus (empId, bonus) values ('2', '500')",
                "insert into Bonus (empId, bonus) values ('4', '2000')"
            ],
            "enableRunCode": true,
            "enableTestMode": false,
            "enableDebugger": false,
            "envInfo": "{\"mysql\": [\"MySQL\", \"<p><code>MySQL 8.0</code>.</p>\"], \"mssql\": [\"MS SQL Server\", \"<p><code>mssql server 2019</code>.</p>\"], \"oraclesql\": [\"Oracle\", \"<p><code>Oracle Sql 11.2</code>.</p>\"]}",
            "libraryUrl": null,
            "adminUrl": null,
            "challengeQuestion": null,
            "__typename": "QuestionNode"
        }
    }
}