{
    "data": {
        "question": {
            "questionId": "2194",
            "questionFrontendId": "2051",
            "boundTopicId": null,
            "title": "The Category of Each Member in the Store",
            "titleSlug": "the-category-of-each-member-in-the-store",
            "content": null,
            "translatedTitle": null,
            "translatedContent": null,
            "isPaidOnly": true,
            "difficulty": "Medium",
            "likes": 19,
            "dislikes": 4,
            "isLiked": null,
            "similarQuestions": "[]",
            "exampleTestcases": null,
            "categoryTitle": "Database",
            "contributors": [],
            "topicTags": [
                {
                    "name": "Database",
                    "slug": "database",
                    "translatedName": null,
                    "__typename": "TopicTagNode"
                }
            ],
            "companyTagStats": null,
            "codeSnippets": null,
            "stats": "{\"totalAccepted\": \"2.4K\", \"totalSubmission\": \"3.2K\", \"totalAcceptedRaw\": 2355, \"totalSubmissionRaw\": 3205, \"acRate\": \"73.5%\"}",
            "hints": [],
            "solution": null,
            "status": null,
            "sampleTestCase": "{\"headers\":{\"Members\":[\"member_id\",\"name\"],\"Visits\":[\"visit_id\",\"member_id\",\"visit_date\"],\"Purchases\":[\"visit_id\",\"charged_amount\"]},\"rows\":{\"Members\":[[9,\"Alice\"],[11,\"Bob\"],[3,\"Winston\"],[8,\"Hercy\"],[1,\"Narihan\"]],\"Visits\":[[22,11,\"2021-10-28\"],[16,11,\"2021-01-12\"],[18,9,\"2021-12-10\"],[19,3,\"2021-10-19\"],[12,11,\"2021-03-01\"],[17,8,\"2021-05-07\"],[21,9,\"2021-05-12\"]],\"Purchases\":[[12,2000],[18,9000],[17,7000]]}}",
            "metaData": "{\n  \"mysql\": [\n    \"Create table If Not Exists Members (member_id int, name varchar(30))\",\n    \"Create table If Not Exists Visits (visit_id int, member_id int, visit_date date)\",\n    \"Create table If Not Exists Purchases (visit_id int, charged_amount int)\"\n  ],\n  \"mssql\": [\n    \"Create table Members (member_id int, name varchar(30))\",\n    \"Create table Visits (visit_id int, member_id int, visit_date date)\",\n    \"Create table Purchases (visit_id int, charged_amount int)\"\n  ],\n  \"oraclesql\": [\n    \"Create table Members (member_id int, name varchar(30))\",\n    \"Create table Visits (visit_id int, member_id int, visit_date date)\",\n    \"Create table Purchases (visit_id int, charged_amount int)\",\n    \"ALTER SESSION SET nls_date_format='YYYY-MM-DD'\"\n  ],\n  \"database\": true\n}",
            "judgerAvailable": true,
            "judgeType": "large",
            "mysqlSchemas": [
                "Create table If Not Exists Members (member_id int, name varchar(30))",
                "Create table If Not Exists Visits (visit_id int, member_id int, visit_date date)",
                "Create table If Not Exists Purchases (visit_id int, charged_amount int)",
                "Truncate table Members",
                "insert into Members (member_id, name) values ('9', 'Alice')",
                "insert into Members (member_id, name) values ('11', 'Bob')",
                "insert into Members (member_id, name) values ('3', 'Winston')",
                "insert into Members (member_id, name) values ('8', 'Hercy')",
                "insert into Members (member_id, name) values ('1', 'Narihan')",
                "Truncate table Visits",
                "insert into Visits (visit_id, member_id, visit_date) values ('22', '11', '2021-10-28')",
                "insert into Visits (visit_id, member_id, visit_date) values ('16', '11', '2021-01-12')",
                "insert into Visits (visit_id, member_id, visit_date) values ('18', '9', '2021-12-10')",
                "insert into Visits (visit_id, member_id, visit_date) values ('19', '3', '2021-10-19')",
                "insert into Visits (visit_id, member_id, visit_date) values ('12', '11', '2021-03-01')",
                "insert into Visits (visit_id, member_id, visit_date) values ('17', '8', '2021-05-07')",
                "insert into Visits (visit_id, member_id, visit_date) values ('21', '9', '2021-05-12')",
                "Truncate table Purchases",
                "insert into Purchases (visit_id, charged_amount) values ('12', '2000')",
                "insert into Purchases (visit_id, charged_amount) values ('18', '9000')",
                "insert into Purchases (visit_id, charged_amount) values ('17', '7000')"
            ],
            "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"
        }
    }
}