{ "data": { "question": { "questionId": "2057", "questionFrontendId": "1907", "categoryTitle": "Database", "boundTopicId": 841394, "title": "Count Salary Categories", "titleSlug": "count-salary-categories", "content": null, "translatedTitle": "按分类统计薪水", "translatedContent": null, "isPaidOnly": true, "difficulty": "Medium", "likes": 8, "dislikes": 0, "isLiked": null, "similarQuestions": "[]", "contributors": [], "langToValidPlayground": null, "topicTags": [ { "name": "Database", "slug": "database", "translatedName": "数据库", "__typename": "TopicTagNode" } ], "companyTagStats": null, "codeSnippets": null, "stats": "{\"totalAccepted\": \"1.4K\", \"totalSubmission\": \"2.2K\", \"totalAcceptedRaw\": 1355, \"totalSubmissionRaw\": 2226, \"acRate\": \"60.9%\"}", "hints": [], "solution": null, "status": null, "sampleTestCase": "{\"headers\":{\"Accounts\":[\"account_id\",\"income\"]},\"rows\":{\"Accounts\":[[3,108939],[2,12747],[8,87709],[6,91796]]}}", "metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Accounts (account_id int, income int)\"\n ],\n \"mssql\": [\n \"Create table Accounts (account_id int, income int)\"\n ],\n \"oraclesql\": [\n \"Create table Accounts (account_id int, income int)\"\n ],\n \"database\": true\n}", "judgerAvailable": true, "judgeType": "large", "mysqlSchemas": [ "Create table If Not Exists Accounts (account_id int, income int)", "Truncate table Accounts", "insert into Accounts (account_id, income) values ('3', '108939')", "insert into Accounts (account_id, income) values ('2', '12747')", "insert into Accounts (account_id, income) values ('8', '87709')", "insert into Accounts (account_id, income) values ('6', '91796')" ], "enableRunCode": true, "envInfo": "{\"mysql\":[\"MySQL\",\"

\\u7248\\u672c\\uff1aMySQL 8.0<\\/code><\\/p>\"],\"mssql\":[\"MS SQL Server\",\"

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\":{\"Accounts\":[\"account_id\",\"income\"]},\"rows\":{\"Accounts\":[[3,108939],[2,12747],[8,87709],[6,91796]]}}", "__typename": "QuestionNode" } } }