mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
61 lines
3.9 KiB
JSON
61 lines
3.9 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "2030",
|
|
"questionFrontendId": "1875",
|
|
"categoryTitle": "Database",
|
|
"boundTopicId": 801575,
|
|
"title": "Group Employees of the Same Salary",
|
|
"titleSlug": "group-employees-of-the-same-salary",
|
|
"content": null,
|
|
"translatedTitle": "将工资相同的雇员分组",
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Medium",
|
|
"likes": 4,
|
|
"dislikes": 0,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"contributors": [],
|
|
"langToValidPlayground": null,
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": "数据库",
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"2.7K\", \"totalSubmission\": \"4.2K\", \"totalAcceptedRaw\": 2662, \"totalSubmissionRaw\": 4191, \"acRate\": \"63.5%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Employees\":[\"employee_id\",\"name\",\"salary\"]},\"rows\":{\"Employees\":[[2,\"Meir\",3000],[3,\"Michael\",3000],[7,\"Addilyn\",7400],[8,\"Juan\",6100],[9,\"Kannon\",7400]]}}",
|
|
"metaData": "{\"mysql\":[\"Create table If Not Exists Employees (employee_id int, name varchar(30), salary int)\"],\"mssql\":[\"Create table Employees (employee_id int, name varchar(30), salary int)\"],\"oraclesql\":[\"Create table Employees (employee_id int, name varchar(30), salary int)\"],\"database\":true,\"name\":\"employees_of_same_salary\",\"pythondata\":[\"Employees = pd.DataFrame([], columns=['employee_id', 'name', 'salary']).astype({'employee_id':'Int64', 'name':'object', 'salary':'Int64'})\"],\"postgresql\":[\"Create table If Not Exists Employees (employee_id int, name varchar(30), salary int)\"],\"database_schema\":{\"Employees\":{\"employee_id\":\"INT\",\"name\":\"VARCHAR(30)\",\"salary\":\"INT\"}}}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Employees (employee_id int, name varchar(30), salary int)",
|
|
"Truncate table Employees",
|
|
"insert into Employees (employee_id, name, salary) values ('2', 'Meir', '3000')",
|
|
"insert into Employees (employee_id, name, salary) values ('3', 'Michael', '3000')",
|
|
"insert into Employees (employee_id, name, salary) values ('7', 'Addilyn', '7400')",
|
|
"insert into Employees (employee_id, name, salary) values ('8', 'Juan', '6100')",
|
|
"insert into Employees (employee_id, name, salary) values ('9', 'Kannon', '7400')"
|
|
],
|
|
"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>\"],\"pythondata\":[\"Pandas\",\"<p>Python 3.10 with Pandas 2.0.2 and NumPy 1.25.0<\\/p>\"],\"postgresql\":[\"PostgreSQL\",\"<p>PostgreSQL 16<\\/p>\"]}",
|
|
"book": null,
|
|
"isSubscribed": false,
|
|
"isDailyQuestion": false,
|
|
"dailyRecordStatus": null,
|
|
"editorType": "CKEDITOR",
|
|
"ugcQuestionId": null,
|
|
"style": "LEETCODE",
|
|
"exampleTestcases": "{\"headers\":{\"Employees\":[\"employee_id\",\"name\",\"salary\"]},\"rows\":{\"Employees\":[[2,\"Meir\",3000],[3,\"Michael\",3000],[7,\"Addilyn\",7400],[8,\"Juan\",6100],[9,\"Kannon\",7400]]}}",
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |