1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-26 18:20:27 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode-cn/originData/[no content]highest-salaries-difference.json
2023-09-20 00:01:18 +08:00

66 lines
4.6 KiB
JSON

{
"data": {
"question": {
"questionId": "3155",
"questionFrontendId": "2853",
"categoryTitle": "Database",
"boundTopicId": 2443538,
"title": "Highest Salaries Difference",
"titleSlug": "highest-salaries-difference",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Easy",
"likes": 0,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
"contributors": [],
"langToValidPlayground": null,
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": "数据库",
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"47\", \"totalSubmission\": \"66\", \"totalAcceptedRaw\": 47, \"totalSubmissionRaw\": 66, \"acRate\": \"71.2%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\": {\"Salaries\": [\"emp_name\", \"department\", \"salary\"]},\"rows\": {\"Salaries\": [[\"Kathy\",\"Engineering\",50000],[\"Roy\",\"Marketing\",30000],[\"Charles\",\"Engineering\",45000],[\"Jack\",\"Engineering\",85000],[\"Benjamin\",\"Marketing\",34000],[\"Anthony\",\"Marketing\",42000],[\"Edward\",\"Engineering\",102000],[\"Terry\",\"Engineering\",44000],[\"Evelyn\",\"Marketing\",53000],[\"Arthur\",\"Engineering\",32000]]}}",
"metaData": "{\"mysql\":[\"Create table if not exists Salaries(emp_name varchar(30), department varchar(30),salary int)\"],\"mssql\":[\"Create table Salaries(emp_name varchar(30), department varchar(30),salary int)\"],\"oraclesql\":[\"Create table Salaries(emp_name varchar(30), department varchar(30),salary int)\"],\"database\":true,\"languages\":[\"mysql\",\"mssql\",\"oraclesql\"],\"database_schema\":{\"Salaries\":{\"emp_name\":\"VARCHAR(30)\",\"department\":\"VARCHAR(30)\",\"salary\":\"INT\"}}}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table if not exists Salaries(emp_name varchar(30), department varchar(30),salary int)",
"Truncate table Salaries",
"insert into Salaries (emp_name, department, salary) values ('Kathy', 'Engineering', '50000')",
"insert into Salaries (emp_name, department, salary) values ('Roy', 'Marketing', '30000')",
"insert into Salaries (emp_name, department, salary) values ('Charles', 'Engineering', '45000')",
"insert into Salaries (emp_name, department, salary) values ('Jack', 'Engineering', '85000')",
"insert into Salaries (emp_name, department, salary) values ('Benjamin', 'Marketing', '34000')",
"insert into Salaries (emp_name, department, salary) values ('Anthony', 'Marketing', '42000')",
"insert into Salaries (emp_name, department, salary) values ('Edward', 'Engineering', '102000')",
"insert into Salaries (emp_name, department, salary) values ('Terry', 'Engineering', '44000')",
"insert into Salaries (emp_name, department, salary) values ('Evelyn', 'Marketing', '53000')",
"insert into Salaries (emp_name, department, salary) values ('Arthur', 'Engineering', '32000')"
],
"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>\"]}",
"book": null,
"isSubscribed": false,
"isDailyQuestion": false,
"dailyRecordStatus": null,
"editorType": "CKEDITOR",
"ugcQuestionId": null,
"style": "LEETCODE",
"exampleTestcases": "{\"headers\": {\"Salaries\": [\"emp_name\", \"department\", \"salary\"]},\"rows\": {\"Salaries\": [[\"Kathy\",\"Engineering\",50000],[\"Roy\",\"Marketing\",30000],[\"Charles\",\"Engineering\",45000],[\"Jack\",\"Engineering\",85000],[\"Benjamin\",\"Marketing\",34000],[\"Anthony\",\"Marketing\",42000],[\"Edward\",\"Engineering\",102000],[\"Terry\",\"Engineering\",44000],[\"Evelyn\",\"Marketing\",53000],[\"Arthur\",\"Engineering\",32000]]}}",
"__typename": "QuestionNode"
}
}
}